| Author |
Message |
mohamed el mokhtar messaoudi (Dumbguy)
| | Posted on Sunday, July 17, 2005 - 2:29 pm: | |
Hi. I am trying to script a game for two players where a piece may make up to four steps. I am using flags, whith one macro to increment them (inside a turn) and one other macro to reset them (in between turns). Pass-partial is set to true and pass-turn to false. Whatever I do, be it using a ?neutral player to reset flags or making the real players do it (whatever the turn-order combination), ZoG either declares a draw when the game begins (on the grounds that there is no legal move to perform), or the pieces go on moving for ever. So the flags are disregarded. As a piece cannot change the attributes of another piece, I can't use dummy pieces and attributes (too much extra work, anyway). How am I to go about this simple task? Thanks for any help. |
mohamed el mokhtar messaoudi (Dumbguy)
| | Posted on Monday, July 18, 2005 - 2:34 pm: | |
I am sorry if somebody read my post and went wondering, but I forgot to mention that a piece changes its type at every step, beside promoting to Queen when reaching a promotion zone. Any idea? |
Sean Duggan (Dream)
| | Posted on Monday, July 18, 2005 - 3:46 pm: | |
Well, you could set up dummy pieces to allow for it, I think. You have more control over when they do or do not exist. |
Sean Duggan (Dream)
| | Posted on Friday, July 29, 2005 - 6:21 pm: | |
Grr... I did not notice that you had stated you did not want dummy pieces. Then, my net access cut out for several days, so I was unable to reply. Then... I forgot. *blush* Could you explain exactly what the situation is for me? If it is a matter of four moves by a single piece which has a predictable change in move-type, doing it using move-types and partial moves might work. You define the moves 4 times, once as a firstturn move, once as a secondturn move, etc. When you define the moves, you have an add-partial that restricts the next move to the appropriate move type. I did that for a game recently. *shrug* Anyhow, difficult for me to answer your question without knowing what movement it is I am trying to model. |
|