Better win and checkmate functions etc. Log Out | Topics | Search
Moderators | Register | Edit Profile

Zillions of Games Discussion Forum » Desired Features for Zillions of Games » Better win and checkmate functions etc. « Previous Next »

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

Add Your Message Here
Post:
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action: