If mode=replay then the following parameters can also be given.
-
movelist - Gives the moves that were made in the game. The
client does not need to check if the moves are valid. It just
allows the user to move back and forth between the moves.
This parameter is required.
For meaning of the move notation see:
Move and Position Notation
-
startmove - When the client starts it should go to this
move in the movelist. If not given start with move 1w.
-
chat - The text that will be displayed in the chat area.
-
viewfrom - The side to view the game from; can be either "w" or "b" or "n".
If not given use "n" as the default; "n" means side neutral; the board appears with Gold on the left and Silver on the right.
-
title - The title string to display in the client title area.
If not given use "Arimaa Game" as the default.
-
wplayer - The username of the white (or gold) player to display.
If not given then use "Gold" as the default.
-
bplayer - The username of the black (or silver) player to display.
If not given then use "Silver" as the default.
-
wrating - The rating of the white (or gold) player to display.
-
brating - The rating of the black (or silver) player to display.
-
timecontrol - The timecontrol string to be displayed.
If not given then use "0/0/0/0/0" as the the default.
-
result - The outcome of the game. "w" means white won, "b" means
black won. "d" means draw, "u" means undetermined (game did not
finish properly).
-
reason - Indicates the reason for
winning. For example "g" means the player won the game
because the rabbit reached the goal. The word "Won" is displayed
next to the player that won.
In this case the word "Lost" is displayed next to the player who lost. Other
possible reasons and the message to display next to the losing player
are given below:
g = Rabbit reached the goal; "Lost"
r = Player resigned; "Resigned"
t = Player ran out of time; "Time"
m = Player had no move; "Imobilized"
s = Score used to determine result after game time exausted; "Score"
p = Position repeated 3 times; "Repeat"
x = Player lost due to losing all rabbits; "Exterminated"
n = No rabbits left; draw; "Draw" displayed for both players
a = Abandoned; "Left" displayed for both players
If reason is not given then no message is displayed next to the players.
g = Rabbit reached the goal; "Lost"
r = Player resigned; "Resigned"
t = Player ran out of time; "Time"
m = Player had no move; "No Move"
s = Score used to determine result after game time exausted; "Score"
n = No rabbits left; draw; "Draw" displayed for both players
p = Position repeated 3 times; "Repeat"
-
Additional parameters may be defined in the future.
To see how the client functions in replay mode, select
"Recent Games" in the Arimaa game room and click on
a game to replay.
Here is a sample variable file: