Closed matthewJamesAbbott closed 2 years ago
Moves are recorded to file Chess.txt
File is very human readable :)
example of text in file.
[1]
(6,0:4,0)
<Black Pawn>
*****
wlR,wlN,wlB,wK,wQ,wrB,wrN,wrR,
wP,wP,wP,wP,wP,wP,wP,wP,
X,X,X,X,X,X,X,X,
X,X,X,X,X,X,X,X,
bP,X,X,X,X,X,X,X,
X,X,X,X,X,X,X,X,
X,bP,bP,bP,bP,bP,bP,bP,
blR,blN,blB,bK,bQ,brB,brN,brR,
+++++
[2]
(0,6:2,7)
<White Right Knight>
*****
wlR,wlN,wlB,wK,wQ,wrB,X,wrR,
wP,wP,wP,wP,wP,wP,wP,wP,
X,X,X,X,X,X,X,wrN,
X,X,X,X,X,X,X,X,
bP,X,X,X,X,X,X,X,
X,X,X,X,X,X,X,X,
X,bP,bP,bP,bP,bP,bP,bP,
blR,blN,blB,bK,bQ,brB,brN,brR,
+++++
file is deleted upon start of single player game for now until I have loading of game implemented. will also change all of this to match with network game to follow suit. though that can wait till I have enpassant for non network game is implemented :)
no record of past moves is recorded