| Author |
Message |
Tomas Forsman (Tomwolf)
| | Posted on Friday, January 12, 2001 - 10:36 am: | |
Why not just make a win function like: (win (Players) (if......)) You should allso create a specific macro that is checked every move. This would be usefull for things like checking if more then half of your pieces have moved etc. Checkmate is a good function but it shouldn't be restricted to goal. You should be able to implement it in a function like (if (black) (and (checkmate Prince) (function-name) .... That could be usefull for example if you want to have a piece called Prince that you can check and checkmate but the checkmate doesn't win the game but it locks up certain pieces, like the King, Queen and other royal family pieces. With regards Tomas |
|