Ultimate Tic-Tac-Toe game records
The zip files each contain a single (.utf format) file. This file contains a large number of games. Each game is saved in format a described the the UTF Format section below.
UTF stands for Ultimate Tic-Tac-Toe File
Each game is saved in a format that is very similar to the PGN format used for Chess files.
Here's an example game:
[Event "Ultimate Tic Tac Toe"]
[Player1 "theaigeek_Ultimate v6"]
[Player2 "danunahui_Ultimate v0"]
b1 f1 i1 h2 d5 c6 h8 d6 c8 i4 g1 a1 a2 a4 a3 a8 b5 d4 c2 g4
b3 d8 a5 b6 e9 f9 g7 c3 i8 i6 i7 g3 b9 e7 f2 g5 c4 i2 h4 d3
b7 e2 e5 e4 e8 f4 h1 d7 c1 h9 f7 b2 b8 h7 h6 f8 i5 h5 b4 g8
c5 d9 0-1
For each move the letter [a-i] donates the column (from 1-9 respectively), and the numbers 1-9 for the row.
Possible values of the "Result" header are:
- 1-0 -- first player wins
- 1/2 -- result was a draw
- 0-1 -- second player wins
- * -- the game has no result -- perhaps due to an error. In this case, there should aso be a "Reason" header line that gives the error meassage from the server. This is only possible for recent games as the download script never used to pick this up.
Older games that ended in an error will have the result that was allocated by the server, which currently gives a win to the last bot that played a valid move. These could be detected by checking if the final position in the game is actually a terminal position or not, but this currently hasn't been done with this data.
The value of the "Date" header currently has 3 possible formats:
- dd-mm-yyyy -- this is a date from the server, which I believe currently to be in GMT+2.
- yyyy-mm-dd -- this is a date where the server has given a relative time, like 10m or 5h ago. The time is currently in BST, which is GMT+1.
- yyyy-mm-dd HH:MM:SS -- this also from a relative date but actually offsets the time, and is relative to GMT.