[email protected] https://github.com/MitchellGray100/Chess
JavaFX based Chess Game.
It's chess
As a personal project, I created a representation of Chess in Java that allows chess pieces to make valid moves, checks if the king is in check or checkmate, determines if a player is in stalemate, changes the piece scoreboard as the game goes on, checks if a piece is being protected and/or protecting another piece, and has a custom AI that uses MiniMax techniques. The project is displayed with JavaFX. Now Supports 1 Player (with AI) and 2 Player modes.
To Play, just download the .exe file: https://github.com/MitchellGray100/Chess/raw/main/Chess.exe.
If you gen a JNI error, make sure to download [java](https://download.oracle.com/java/17/latest/jdk-17_windows-x64_bin.exe).
The Title screen.
One Player mode is for playing against the AI and Two Player mode is for playing against another player on the same machine.
Start of game
Yellow dots show the last piece to move and where that piece moved from.
Green Dots appear when clicking on a piece to indicate it’s a valid move. Currently the black queen is selected.
The AI will use the c3 knight to take the e4 knight to gain 3 points.
The d5 pawn takes the e4 knight to gain 3 points. Points balance out to 0:0.
Game ending in black checkmating white. Text appears on screen.
Backend Representation of the game (Not the actual GUI)