Games encoding
When displayed in a frame like Games .. Results, a game is represented by a string of 1 to 4 characters.
Result | Encoding |
Unknown | - |
White wins | 1-0 |
Black wins | 0-1 |
Equal | ½-½ |
Both win | 1-1 |
Both lose | 0-0 |
White wins by default | 1-0! |
Black wins by default | 0-1! |
Equal by default | ½-½! |
Both win by default | 1-1! |
Both lose by default | 0-0! |
A result is declared "by default" when one player or both did not show up.
When displayed in a table like in the Standings Tab or in an export file like html export file, a game is represented by a string of up to 8 characters
char 1-4 : opponent number
char 5 : result : + for win, - for lose, = for ½
char 6 : "/" or "" (empty) for "normal" result. "!" for "by default" result
char 6 or 7 : colour : w for white, b for black, ? for unknown colour.
char 7 or 8 : handicap : from 0 to 9
For a dummy game (absent, bye or unassigned) the string is "0-/","0=/" or "0+/" meaning loss, equal or win. The result is always a loss for unassigned, and may be loss, equal or win for absent or bye, depending
on user's choice in General settings