| Author |
Message |
Jonathan Welton (Jpw)
| | Posted on Sunday, June 08, 2003 - 11:19 am: | |
Hi I want to create a game in which the winning condition is to arrange your pieces in a line, but where the line can have more than one piece type. I'd like to do something like - relative-config friend e friend e friend ... Alternatively - relative-config (or piece1 piece2) e (peice1 piece2) ... Neither of these work. Is there some way of achieving this? Regards Jonathan |
Ken Franklin (Kenz)
| | Posted on Sunday, June 08, 2003 - 7:49 pm: | |
See Missing Link (v 1.31). I had the same problem. It was solved by writing out every combination as an absolute-config instead. (win-condition (Self) (or (and (absolute-config ... ) (absolute-config ... ) ) (and ... as needed ) ); end of or ) ; end of win-condition I listed multiple win-conditions too - there were a lot of combinations. |
Ken Franklin (Kenz)
| | Posted on Saturday, June 14, 2003 - 11:22 am: | |
Sorry Jonathan, Also see CHAVERSE.zrf, its goal condition(s) should be more revelant and a lot easier to follow!! sincerely, Ken |
|