Skip to content
Snippets Groups Projects
Commit 5442e9c7 authored by Goik Martin's avatar Goik Martin
Browse files

Prettyfying

parent 6f986fb0
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,6 @@ public class TicTacToe {
final Scanner scan = new Scanner(System.in);
Board.printNumberingHint();
System.out.println("\n\n");
System.out.println("Who is going to start? " +
......@@ -51,14 +50,13 @@ public class TicTacToe {
} while (null == (winner = board.evaluateWinner()) && !board.allMovesFinished());
if (null == winner) {
System.out.println("\n\nGame over: draw");
System.out.println("\n\nGame over: Draw");
} else {
switch(winner) {
case YOU: System.out.println("\n\nCongratulations, you won!");break;
case COM: System.out.println("\n\nSorry, you lost!");break;
}
}
scan.close();
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment