fix
This commit is contained in:
parent
a81cf73ef9
commit
823344a8e4
|
|
@ -30,15 +30,11 @@ public class Board {
|
|||
}
|
||||
|
||||
public boolean isTurnWhite() {
|
||||
|
||||
//Divide by 2 and check if rest = 0
|
||||
if (getTurnNumber()%2==0) {
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
else{
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
@ -77,9 +73,7 @@ public class Board {
|
|||
Board[x][7] = new Piece(x,7,'P','W'); //8 Pawns on second line
|
||||
}
|
||||
}
|
||||
/*coucou noa !!
|
||||
*
|
||||
* eh vous croyez que c'est whatsapp ici ?*/
|
||||
|
||||
|
||||
public void cleanBoard() {
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue