| Author |
Message |
epicurus (Epicurus)
New member Username: Epicurus
Post Number: 18 Registered: 11-2012
| | Posted on Monday, March 04, 2013 - 10:09 am: | |
Hi, In my game a player can capture his own pieces or the enemy pieces. When there is a stalemate the game ends and who has captured more opponent's pieces is the winner. How can I implement this goal? Can you point me a zillions game already implemented with this goal or a similar one? Thanks, Matteo |
Ken Franklin (Kenz)
New member Username: Kenz
Post Number: 52 Registered: 3-2001
| | Posted on Wednesday, March 06, 2013 - 4:34 am: | |
Hi. I've used a couple of methods for selective counting. Plinko used a second set of counter chips (located away to the right-side of the board) which would be captured based on the main board action. After that method works correctly, the counters could be relocated with a negative series of -X -X grid locations or positions. A few of my other games like Captour, and Card-Pairs also featured a visible top-row number counter - used after each played move. At times, I might of used a random player like ?Helper to process the counting as an independent turn, or tacked a second action into the real player(s)' turns. |
Jon Steven Nelson (Jonn99)
New member Username: Jonn99
Post Number: 3 Registered: 2-2013
| | Posted on Wednesday, March 06, 2013 - 3:08 pm: | |
ZOG WILL BE REMOVED IN FEB 2015 -> MALLETT and LEFLER BROKE UP and SPLIT! -> NO NEXT-GEN ZOG AFTER THAT! -> MALLETT WON'T RE-NEW ZOG CONTRACT! -> BEST TO LOAD ALL THE ZRF's, NO MORE ZOG AFTER FEB 2015! |
epicurus (Epicurus)
New member Username: Epicurus
Post Number: 21 Registered: 11-2012
| | Posted on Wednesday, March 06, 2013 - 3:54 pm: | |
Thanks Ken, I will look into your games.  |
Malcolm James Webb (Mjw)
New member Username: Mjw
Post Number: 14 Registered: 5-2008
| | Posted on Friday, March 08, 2013 - 9:20 am: | |
Zillions has a function called count condition: (count-condition (White Black) stalemated) This function declares a winner once there is a stalemate, based on which side has more pieces. If one side has captured more of the opponent's pieces, that means they have more pieces than the other player, and hence they would win. |