- Created Friday, April 1st 2016 @ 16:44:02
From the getting started page:
"s" stands for one of the big squares (square on the macro board), and can be -1 (indicates if the next move must be in that square), 0, 1 or 2. 0 means the square is a draw, 1 or 2 indicates which player owns the square.
This may just be down to poor English, but it's unclear what the -1 and 0 values mean.
'draw' is a terminal state - the contest final outcome is decided and neither player can win. It's different to 'undecided', which means the contest is still in progress and at least one player could still win. AFAICT 0 actually means 'not won' rather than 'draw', and there is no state value explicitly denoting a draw.
'must' has very specific meaning too - it's a mutually exclusive requirement. It's not ok to have multiple macro board squares with this value, it must apply to at most one, since you can play in only one at a time. That's different to MAY, which would mean 'it's acceptable to play in this square'.
Really the example should show the initial state being [0,0,0,0,0,0,0,0] not [-1,-1,-1,-1,-1,-1,-1,-1], since all are not won and you can play in any you like ?
- Created Friday, April 1st 2016 @ 17:51:48
-1 means it is a sub board you can play in. This will mostly be only applicable to one sub board, but sometimes there will be multiple, like in the beginning for example.
0 means it is neither a board you can play in or a board won by one of the players.
Drawn sub boards are not marked so you will have to add some logic by yourself if you wish to do that.