Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 625 Bytes

File metadata and controls

12 lines (10 loc) · 625 Bytes

Chess engine

A basic chess engine written in Java.

It also includes a basic min-max algorithm with alpha-beta pruning and quiescence search.

How to play:

  • Run Game.java
  • In- and outputs are text-based
  • Whether white and black are player-controlled can be inputted with "True" or "False". The latter results in white or black being controlled by the min-max algorithm.
  • Computer difficulty can be set with integers (difficulty refers to default depth in min-max algorithm)
  • Checkmate is not implemented, so a match has to end by taking the opponents king.
  • Matches can be saved as .txt files after ending.