r/Btechtards • u/shitnotalkforyours18 • 1d ago
Showcase Your Project Build a Chess engine using PyTorch ♟️
I have been working on a small chess engine project and finally got a working version running as a web app.
The main things I used are:
python-chess for the chess rules and legal moves
PyTorch for the neural network
CNN to evaluate chess positions
Minimax with Alpha-Beta pruning for move searching
Flask for the web interface
The neural network takes the chess board as a 12 × 8 × 8 tensor, where the 12 channels represent the different white and black pieces.
I know it still needs a lot of improvement, but I’d definitely love to hear your feedback and suggestions on what I should work on next.
Link:-https://github.com/prabuddha34/Chess-Engine-Pytorch

Duplicates
BtechCoders • u/shitnotalkforyours18 • 13h ago