deployed by Heroku, Click here
Read my paper for my implemetation of this algorithm -> https://docs.google.com/document/d/1vdW18Gcsibg1j_nPxOuniDdTAz0CUVE7CLyWANVS7bQ/edit?usp=sharing
Simple Chess Website built with flask, python-chess, chessboard.js, JQueryjs
- Option #1
- Use it on my website: https://chess-ai-tony.herokuapp.com
- Option #2 - Run it on the localhost
- Clone Repository
pip3 install python-chess tensorflow flask # then ... python3 app.py # might have to change the port from 4000 to 5000
- Install requirements.
python3 -m pip install -r requirements.txt
- Add table UI with CSS
- Fix Legal moves UI
- Solve problem with chessboard.js to display board on website
- Allow user to get new game server
- Allow user to take back one move
- Make model with Tensorflow and train with Stockfish training data
- Establish the search tree
- Use a neural net to prune the search tree
Definition : Value network V - f(state)
State(Board):
Pieces(1-6 * 2 - 13): * Blank * Pawn * Bishop * Knight * Rook * Queen * King
Extra state: * Castle available x2 * En passant available x2
8x8x4 - 4 = 260 bits
- AI (white) vs Stockfish (Black)
- AI (white) vs AI (Black)
- AI (white) vs Human (Black)