java JDK: openjdk-22 (Oracle OpenJDK 22.0.2)
javafx-fxml: 22.0.1
javafx-controls: 22.0.1
maven: 3.8.5
Application.java: the main entry point of the demo application
Game.java: manages the game logic and controls the game's behavior
Controller.java: handles JavaFX UI interactions and events
board.fxml: a game board prototype
resources: stores pictures for the game board (https://www.iconfont.cn/)
-
game start: allowing the user to select options and set up the game board
-
operations validity: monitoring user actions, validating operations, and updating the board
-
game finish: informing the user that the game has ended
I suggest that you first complete the single-player mode. If you feel confident, you can directly reconstruct this project to include a two-player mode.
If you encounter any GUI issues while rendering multiple game boards, maybe you can check the
If you have any questions or find any bugs, feel free to contact me [email protected] or QQ:503652093 :)