check draw
This commit is contained in:
@@ -252,4 +252,9 @@ public class Console implements GameListener {
|
||||
public void onMoveNotAllowed(Move move) {
|
||||
System.out.println("Move not allowed.");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onDraw() {
|
||||
System.out.println("Repeated positions!");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user