System.out.println("White has been CHECKed!\nbe careful!");
else
System.out.println("Black has been CHECKed!\nbe careful!");
}
changeTurn();
returntrue;
}
...
...
@@ -129,100 +119,17 @@ public class Game {
publicvoidstartGame(){
System.out.println("WELCOME!\nFor Move: Enter nut location and then enter destination.\nfor example: 'a1 h8' for move the nut in a1 to h8\nFor Get Help: Enter 'help'\nand if a player wants to resign enter 'resign'");
showPlayGround();
playGround.show();
System.out.print("Ready?\nPress Enter to Start!");
Scanneri=newScanner(System.in);
i.nextLine();
}
publicvoidshowPlayGround(){
System.out.print(" a b c d e f g h\n _ _ _ _ _ _ _ _\n");