Skip to content

♟️ AI-Chess-Game combines a 2-player GUI chess game with an AI mode for an immersive chess-playing experience.

License

Notifications You must be signed in to change notification settings

pjsiri/ai-chess-game

Repository files navigation

image

AI Chess Game

Our Java AI chess program, developed with Netbeans 17 and Java 8, builds upon our previous 2-player GUI chess game by incorporating an AI mode. Using the minimax algorithm with alpha-beta pruning, our program offers an immersive chess-playing experience. Whether you enjoy challenging the AI or playing against a friend, our program supports both single-player and two-player modes. Furthermore, you can conveniently save and load previous games using the embedded database, enabling you to review historic moves and continue your chess journey at your own pace.

Authors

Features

  • Uses the minimax algorithm with alpha-beta pruning for AI gameplay.
  • Includes an embedded database for saving and loading previous games.
  • Allows viewing historic moves from finished games using embedded database.
  • Offers a single-player mode and two-player mode
  • Options for resignation or draw
  • Displays available squares for a chess piece when clicked on
  • Sound effects for chess moves, check, capture and checkmate

Demo

AIChessDemo

Build

  1. Clone AI-Chess-Game with Git
  git clone https://github.com/pjsiri/AI-Chess-Game.git
  1. Start the game by running ChessMain.java

  2. Have fun!

Note: AI-Chess-Game can be directly imported into NetBeans

License

AI-Chess-Game is available under the MIT License.

See License for more details

About

♟️ AI-Chess-Game combines a 2-player GUI chess game with an AI mode for an immersive chess-playing experience.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages