Skip to content
Eclipse RCP chess app with an AI based on alpha-beta pruning & iterative deepening.
Java
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
com.example.chess.app
com.example.chess.core
com.example.chess.feature
com.example.chess.player
.gitignore
LICENSE
README.md
chess.png
demo.gif

README.md

alpha-beta-chess

A chess game built with Eclipse RCP.

Demo

Development Walkthrough

Check out this YouTube playlist to see how this app has been built step by step.

Controls

  • Double-click on a piece you control. This highlights the squares that the piece is allowed to move.
  • Left-click one of the highlighted squares to move the selected piece. Now it's the AI's turn.
  • Wait until the AI makes a move for a few seconds.

AI Player

  • Makes its moves according to the alpha-beta pruning algorithm reinforced with iterative deepening.
  • Has a fixed amount of time to make a move each turn.
  • Starts with a search depth of 5. Constantly increments the depth and restarts the search as long as there is time remaining.
  • Remembers the best move it found on the previous search. If time runs out during the current search, makes that move immediately.
You can’t perform that action at this time.