/ShallowBlue

Better looking version of IBM's Deep Blue with minimax, alfa-beta pruning and soon - reinforcement learning 🎲⚙️⌛️

Primary LanguageJavaScript

ShallowBlue.js

Poor, but better looking version of IBM's Deep Blue with minimax, alfa-beta pruning and soon reinforcement learning. Live version - https://shallow-blue-js.herokuapp.com/

Brief description

App lets you play chess with simple AI of various difficulty levels. Better AI means going deeper down the minimax tree. Chess logic is implemented via Chess.js library and here I focused mainly on board visualization with React, data flow and AI algorithms.

Installation

After cloning this repository, in the project directory, you have to install dependencies:

npm i

Then you should run:

npm run dev

App should be running in your browser at

localhost:8080

Give it a try!

Built With

Further development

  • Use TensorFlow.js to make this chess AI really badass.
  • Run all computing in Web Workers for better performance.
  • Make it with more RWD in mind.