Check out Janggi (Korean Chess), our featured variant for December, 2024.


[ Help | Earliest Comments | Latest Comments ]
[ List All Subjects of Discussion | Create New Subject of Discussion ]
[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]

Single Comment

Game Courier. PHP script for playing Chess variants online.[All Comments] [Add Comment or Rating]
🕸💡📝Fergus Duniho wrote on Tue, Nov 25, 2003 05:04 PM UTC:
I'll quickly mention some updates I made to Game Courier today. There are
now three kinds of automated move instead of just one. There is a pre-game
automated move that is performed only once before the game starts. There
is an automatic move that by default regularly follows each move. And
there is an automatic move that regularly follows the second player's
move. When this is set, the default automatic move is performed only after
the first player's move. Note that few games use automated moves, but
they're there for games that can use them, such as Motorotor and Brand X
Random Chess.

There is now a shuffle command, which is useful mainly for automated
moves. It should be followed by a series of space-separated coordinates.
It then shuffles the contents of these coordinates. I used it to randomize
the position of pieces in Brand X Random Chess. It will also be useful for
other random phenomena, such as Chess dice. But I still haven't tried
that out.

The results of past randomness in a game is preserved by using the same
seed throughout the game. Each game gets its own seed. The same seed is
used to initialize the pseudo random number generator, and the same random
numbers are calculated in the same order whenever a log is loaded.