GameModel: Code cleaning

master
Gregory Martin 2018-03-14 15:17:16 +01:00
parent ea13653588
commit 03471fc24a
No known key found for this signature in database
GPG Key ID: 8791DD65FA92D9F0
1 changed files with 1 additions and 10 deletions

View File

@ -176,15 +176,6 @@ public class Board {
blackHasWon = move.end.x == SIZEX-1 || whites.size() == 0;
break;
}
} else {
// for(Move moveP : getPossibleMoves(move.start)){
// System.err.println(moveP);
// }
// System.err.println("--");
// System.err.println(tiles[move.end.x][move.end.y]);
// System.err.println("--");
// System.err.println(move);
// throw new RuntimeException();
}
}
@ -229,7 +220,7 @@ public class Board {
}
public boolean isFinished(){
return whiteHasWon || blackHasWon || blacks.size()==0 || whites.size()==0;
return whiteHasWon || blackHasWon;
}
//********** Standard Methods **********//