update ConsoleInterface
All checks were successful
Linux arm64 / Build (push) Successful in 37s

This commit is contained in:
Janet-Doe
2025-02-02 21:46:29 +01:00
parent 591e4f977a
commit 2fb3874a99

View File

@@ -324,11 +324,13 @@ public class ConsoleInterface {
*/ */
private void turn(MultiDoku doku, List<String> listSymbols, int width, int height) { private void turn(MultiDoku doku, List<String> listSymbols, int width, int height) {
System.out.println( System.out.println(
"You can now put a number in a cell ('play', default), save the state of the doku ('save'), show a solution ('solution') or exit the program ('exit')."); "You can now put a number in a cell ('play', default), show a solution ('solution') or exit the program ('exit').");
switch (reader.next()) { switch (reader.next()) {
/*
case "save": case "save":
saveMultiDoku(doku); saveMultiDoku(doku);
break; break;
*/
case "solution": case "solution":
solve(doku, listSymbols, width, height); solve(doku, listSymbols, width, height);
break; break;