comments on different functions

Merge branch 'master' of
https://gitarero.ecam.fr/aurele.wittke/OOP_1A5_Project
This commit is contained in:
edwin 2025-05-23 08:17:52 +02:00
parent bb30f9818d
commit d17c3ec14d
2 changed files with 10 additions and 10 deletions

View File

@ -1,11 +1,11 @@
BR,BN,BB,BQ,BK,BB,BN,BR,
BP,BP, ,BP, , , ,BP,
BP,BP,BP,BP, ,BP,BP,BP,
, , , , , , , ,
, , , ,BP, , , ,
, ,BP, , ,BP,BP, ,
,WP,WB, ,WP, , , ,
, , , , , , ,WN,
WP, ,WP,WP, ,WP,WP,WP,
WR,WN,WB,WQ,WK, , ,WR,
8
1230
00000010
,WP, ,WP, , , , ,
, , , , , , , ,
WP, ,WP, ,WP,WP,WP,WP,
WR,WN,WB,WQ,WK,WB,WN,WR,
3
1140
00000000

View File

@ -359,7 +359,7 @@ public class Board {
this.x=-1;
this.y=-1;
castlingDone=false;
previousBoard.add(this.toString());
previousBoard.add(this.toString());// we save the state of the board
// we add 1 to the number of turned played
}
}