change player name file

This commit is contained in:
Aubin DORIVAL
2025-03-31 08:36:31 +02:00
parent 646fe6b9f1
commit b32e9146b7
3 changed files with 11 additions and 1 deletions

View File

@@ -107,6 +107,13 @@ public class GomokuCell{
//------------------Overides--------------------------
@Override
public String toString() {
return this.neighbour.toString() + this.state.toString();
switch (this.getSate()) {
case Color.NIL:
return " ";
default:
break;
}
return this.state.toString();
}
}