|
Game Files
You can save games in text files.
The X & O supports three formats of games files for all games and
poz format for renju.
Files with moves of game
This is a default format then if set up position mode turn off.
The symbol ; is begin of comments.
Rules |
Example |
[GAME]
Type=Code of Game
Notation=Code of Notation
Rows=Number of Rows
Cols=Number of Columns
DirectMode=No
[MOVE]
mov1, move2,move3
|
; Black start and win
; Level 9
; solution: g7
; To solve the problem computer should use level 1
;
[GAME]
Type=101
Notation=0
Rows=15
Cols=15
DirectMode=No
[MOVE]
h8,h7,h6,i7,j7,g6,i6,k8,j6,j5,
j4,i4,h4,g4,
|
Files with occupied cells of board.
The application uses this type if set up position mode turn on.
The symbol ; is begin of comments.
Rules |
Example |
[GAME]
Type=R
Notation=0
Rows=15
Cols=15
DirectMode=Yes
CapturesX=number of captures for x
CapturesO=number of captures for o
[x]
;cells occupied by x
(move),(move),...
[o]
;cells occupied by x
number of captures],
(move),(move),...
|
; minuet
; Black start and win
;
[GAME]
type=102
Rows=15
Cols=15
notation=0
DirectMode=Yes
CapturesX=4
CapturesO=4
[x]
f9,
[o]
j5,g6,j7,k8
|
PDN
This is portable notation used in chess and checkers programs.
Ckicjk here for more detail
You can use this format only if set up position mode turn off.
General notes
The move is recorded using selected
notation
The notation is coded by next rules:
- 0 notation as a1,h7,,,,
- 1 notation as l1r1, r4,...
The type of the game selected from table
Game |
Code |
Tic-tac-Toe | 105 |
Gomoku | 100 |
Renju | 101 |
Pente | 102 |
Keryo-Pente | 103 |
Repensi | 104 |
Stack 4 | 120 |
Connectris | 123 |
Stack 4x4 | 122 |
Anti-Stack 4 | 121 |
Gravity | 124 |
Ataxx | 52 |
Othello | 50 |
Reverse-Othello | 51 |
Checkers | 21 |
Pool | 30 |
Russian Shahki | 25 |
Canadian checkers | 27 |
International Checkers | 20 |
Italy Checkers | 22 |
Spanish Checkers | 24 |
Russian Give-Away | 31 |
Go | 80 |
Tanbo | 81 |
Entropy | 201 |
Quadrature | 200 |
Chess | 0 |
Shogi | 1 |
|