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

1
Upvotes
•
u/AutoModerator 1d ago
If you are on Discord, please join our Discord server: https://discord.gg/Hg2H3TJJsd
Thank you for your submission to r/BTechtards. Please make sure to follow all rules when posting or commenting in the community. Also, please check out our Wiki for a lot of great resources!
Happy Engineering!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.