Arimaa Forum (http://arimaa.com/arimaa/forum/cgi/YaBB.cgi)
Arimaa >> Site Discussion >> Game files..
(Message started by: TheVinenator on Oct 26th, 2011, 8:20pm)

Title: Game files..
Post by TheVinenator on Oct 26th, 2011, 8:20pm
is there a document that describes each of the fields in the game archive files?

specifically what do all the termination codes mean?

Title: Re: Game files..
Post by Fritzlein on Oct 26th, 2011, 9:11pm
This must be documented somewhere, but I can't find it either.  From my own memory:

g - goal
m - immobilization
e - elimination
t - timeout
r - resignation
i - illegal move
a - abandoned
p - repetition of position (obsolete)
d - draw (obsolete)

It used to be that repeating position a third time was a loss; now it is an illegal move.  Humans are not allowed to make illegal moves, and in particular not allowed to lose by three-fold repetition, but bots who submit illegal moves lose without getting a second chance.

It used to be that eliminating all rabbits from one player didn't end the game and eliminating all rabbits from both players was a draw.

Probably this list is incomplete and/or incorrect; corrections are welcome.

Title: Re: Game files..
Post by clyring on Oct 26th, 2011, 9:27pm
You forgot f for forfeit, s for games determined by score, and the code for a draw was n, not d.

Source: http://arimaa.com/arimaa/gameroom/reasonCodes.html

Title: Re: Game files..
Post by Fritzlein on Oct 27th, 2011, 12:11am
Thanks for the corrections and the official link.

Title: Re: Game files..
Post by TheVinenator on Oct 28th, 2011, 11:50am
so games that actually get to a valid end-state without issues will only be "g,m, or e" ?

Title: Re: Game files..
Post by Fritzlein on Oct 28th, 2011, 2:12pm

on 10/28/11 at 11:50:48, TheVinenator wrote:
so games that actually get to a valid end-state without issues will only be "g,m, or e" ?

Those are the only three on-the-board victory conditions.  The other terminations are off-the-board circumstances that arise and must be handled.

Title: Re: Game files..
Post by TheVinenator on Oct 28th, 2011, 3:02pm

Is there a process to report bad games in the archive?

i found a bad move in game number 194890, move 2b i think. there is a missing space between steps 3 and 4.


Title: Re: Game files..
Post by Swynndla on Oct 28th, 2011, 11:35pm
I think you could use this thread:
http://arimaa.com/arimaa/forum/cgi/YaBB.cgi?board=siteIssues;action=display;num=1305323701



Arimaa Forum » Powered by YaBB 1 Gold - SP 1.3.1!
YaBB © 2000-2003. All Rights Reserved.