utkuufuk / alpha-beta-chess

Eclipse RCP chess app with an AI based on alpha-beta pruning & iterative deepening.

Home Page:https://utkuufuk.github.io/2018/06/17/alpha-beta-chess/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Eclipse RCP chess app with an AI based on alpha-beta pruning & iterative deepening.

https://utkuufuk.github.io/2018/06/17/alpha-beta-chess/

License:MIT License


Languages

Language:Java 100.0%