comments on different functions
Merge branch 'master' of https://gitarero.ecam.fr/aurele.wittke/OOP_1A5_Project
This commit is contained in:
parent
bb30f9818d
commit
d17c3ec14d
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue