https://github.com/mitchellgray100/chess
JavaFX based Chess Game.
https://github.com/mitchellgray100/chess
ai chess chess-ai chessboard-game chessboard-representation game java javafx javafx-application javafx-games javafx-gui
Last synced: 3 months ago
JSON representation
JavaFX based Chess Game.
- Host: GitHub
- URL: https://github.com/mitchellgray100/chess
- Owner: MitchellGray100
- Created: 2020-12-31T02:16:24.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2022-04-05T16:21:46.000Z (over 3 years ago)
- Last Synced: 2025-04-10T04:06:40.900Z (6 months ago)
- Topics: ai, chess, chess-ai, chessboard-game, chessboard-representation, game, java, javafx, javafx-application, javafx-games, javafx-gui
- Language: Java
- Homepage:
- Size: 44.4 MB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Chess
MitchellGray100@gmail.com
https://github.com/MitchellGray100/ChessJavaFX based Chess Game.
It's chessAs 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.___
# Play
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).
# Images
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)
# GIFs
Scaling of the window.
Promotion buttons being clicked. Whatever button is selected is what the pawn will promote to when promoting.
