mirror of
https://github.com/2OOP/pism.git
synced 2026-02-04 19:04:49 +00:00
Changed formatting of string to be easier to read
This commit is contained in:
@@ -20,7 +20,13 @@ public class ConsoleGui {
|
||||
|
||||
int mode = -1;
|
||||
|
||||
System.out.printf("1. player vs player\n2. player vs ai\n3. ai vs player\n4. ai v ai\nChoose mode (default is 1): ");
|
||||
System.out.print(
|
||||
"""
|
||||
1. player vs player
|
||||
2. player vs ai
|
||||
3. ai vs player
|
||||
4. ai v ai
|
||||
Choose mode (default is 1):\s""");
|
||||
String modeString = scanner.nextLine();
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user