Connect4
[email protected] https://github.com/MitchellGray100/Connect4
JavaFX Connect4 Game. Local 2 Player or 1 Player (With AI). It's Connect4.
As a personal project I created a JavaFX representation of a Connect4 game. The game displays each move and displays when the game is over. The Gameover Text is red, yellow, or orange based on who won. The AI could've used a Minimax algorithm (Like my Chess project) but this would lead to a tie or a win for the AI every single time. This would not be very enjoyable for someone just playing for fun. Instead, the AI assigns points to good behaviors.
Play
https://github.com/MitchellGray100/Connect4/raw/main/Connect4.exe.
or Play with sound by downloading the project: https://github.com/MitchellGray100/Connect4/archive/refs/heads/main.zip and running Connect4.exe in the EXE folder.
To Play, just download the .exe file:
If you gen a JNI error, make sure to download java.
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.
The game with no pieces placed yet.