/VisualChessWebApp

Chess minimax algorithm with customizable visualization web app

Primary LanguageJavaScriptMIT LicenseMIT

Chess Algorithm visualization

Web app "Visualize Possible Chess Moves" concisely displays up to hundreds of thousands of possible moves explored by a chess algorithm. The purpose of this program is aesthetic and artistic, as well as possibly educational.

demo0

As it plays chess against a human player, this app offers a customizable visualization of the possible-move tree traversed by an alpha-beta pruning minimax algorithm with fast move ordering. During this animation, the machine iterates through all legal moves and searches for the maximum strategic score assuming the human opponent will attempt to minimize this score.

demo1

Customization (sidebar):

  • Select machine's ply (i.e. depth of move tree search)
  • Disable animation
  • Select animation speed

About

Legal chess move generation library: courtesy of jhlywa
This site is hosted using PythonAnywhere.com.
Information on chess AI: static evaluation, minimax and alpha-beta pruning