- Created Wednesday, February 3rd 2016 @ 19:42:15
From what I can see, there isn't any documentation showing where (0, 0) is, and what the index positions are. I'm able to figure it out after playing a match with my random bot and mapping the move I/O to the game results, but it would be nice to have a simple image showing this information.
- Created Wednesday, February 3rd 2016 @ 19:48:46
After trying to map the move I/O to the board state, I have absolutely no idea what the index scheme is.
This is how I think it should work: Top left board, top left corner is (0, 0). So middle of center board is (5, 5), and bottom right of bottom right board is (9, 9). Center of right middle board is (6, 5).
Can anyone confirm that's actually how it works?
- Created Wednesday, February 3rd 2016 @ 19:57:02
Image to illustrate my confusion: http://screencast.com/t/oLmlUhw7O8pC
hwiechersCreated Wednesday, February 3rd 2016 @ 20:15:06
The first coordinate is the column index and the second is the row index. Both indices start from zero.
DeveloperCreated Thursday, February 4th 2016 @ 08:54:32
Yes it's simply indexed from top-left (0, 0) to bottom right (8, 8) in the way you would read a book. This is probably the most standard way to index a grid in programming, that's why we chose to do it like so.