Format of logs of a game CGI

number: Seconds since 1-1-1970 00:00
1 byte: Identification of the player: 0 = human, 1 = program 1, ...
1 byte: Move, 16 * y + x, rows/columns counted from 1, 0 = pass
1 byte: Result code, 0 = game on, 1 = game over, other values for invalid moves
4 bytes: Identification string of current game, ascii for URL
28 bytes: Encoded state of game, ascii for URL
string: Host name (if known) or IP of the http client

Types used


Back to the main page.

Page created: Jul 22, 1997 - last update: Nov 26, 2002 - version 2.1
Jörg Czeranski (Impressum)