color changes in console + promotion

This commit is contained in:
Janet-Doe
2025-04-13 00:56:44 +02:00
parent 39c289cc47
commit 9f44548843
3 changed files with 38 additions and 34 deletions

View File

@@ -38,4 +38,8 @@ public class Coordinate {
}
return false;
}
public String toString() {
return "(" + this.x + ", " + this.y + ")";
}
}