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/
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.
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!
- React - with the newest 16.3 version Context API
- React Modal for modals and React Collapse for dropdowns
- React Draggable - Most user-friendly React drag n' drop wrapper out there
- Chess.js - Great chess engine library
- ESLint - most popular JS linter with slightly modified AirBnB rules
- Sass - most popular CSS preprocessor
- Webpack with Babel - bundler and compiler for newest ECMAScript standard
- 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.