added captures, movement, legalmoves hover, and basics of game

This commit is contained in:
CT
2026-05-07 20:32:42 -05:00
parent a70b84f991
commit 7a1844c06a
10 changed files with 100 additions and 9 deletions

View File

@@ -5,4 +5,9 @@ public class Position {
this.x = x;
this.y = y;
}
public boolean equals(Object o) {
Position pos = (Position) o;
return pos.x == this.x && pos.y == this.y;
}
}