Add load/save functions

This commit is contained in:
Dorian HAMDANI
2025-03-31 14:00:00 +02:00
parent 001f572858
commit 7f530d4f60
3 changed files with 145 additions and 8 deletions

View File

@@ -151,9 +151,9 @@ public class GomokuCell{
case Color.BLACK:
return "X";
case Color.WHITE:
return "0";
return "O";
default:
return "BUG";
throw new IllegalStateException("Unexpected value: " + this.getState());
}
}
}