| Author |
Message |
Ravi (Ravi)
| | Posted on Wednesday, March 17, 2004 - 2:02 pm: | |
The game I am working has identical winning board position for either player, but the player who moved last (to create the winning board position) is the winner. How do I include this in the winning-condition? |
Jeff Mallett (Jeffm)
| | Posted on Wednesday, March 17, 2004 - 3:11 pm: | |
That's a good question. The answer is that if a goal is achieved by a neutral player (a player not in the turn order), then the winner will be the one who last moved. This is what is done in Line-Hip, where the neutral player is called "Player". |
Karl Scherer (Karl)
| | Posted on Wednesday, April 21, 2004 - 8:27 am: | |
If you don't want to add a neutral player or if making him achieve the goal is too complicated, here is another simple solution for you: each player changes the content of a dummy position "zturn", e.g.: (change-type marker1 zturn) is processed as part of Player1's move, and (change-type marker2 zturn) is processed as part of Player2's move. (To find out wehoise turn it is, you check whose turn it is via a zone which has different positions for each player, see Zillions help text) Cheers, Karl |
|