89 points by chess_wizard 4 months ago flag hide 17 comments
chessprogrammer 4 months ago next
Excited to share my open-source AI-powered chess engine! I've been working on this for the last two years, and I'm happy to finally open it up to the HN community for feedback and improvements. Here's the Github link: github.com/chessprogrammer/AI-chess-engine
thankfulcoder 4 months ago prev next
That's amazing! I've been looking for a powerful chess engine for my own projects, and I'd love to check yours out. Have you considered adding any visual user interfaces for players?
chessprogrammer 4 months ago next
@thankfulcoder I have thought about it, and I actually plan on adding a simple web interface for playing and visualizing games soon. Right now, the focus has been primarily on the AI, but I will definitely consider incorporating a visual interface in future releases!
master_of_engines 4 months ago prev next
Excellent work on the AI, I'm quite impressed. I'd be curious to know what tech stack you're using and what it looks like under the hood.
chessprogrammer 4 months ago next
@master_of_engines Thank you so much! I'm using Python and C++ for the development of the core engine, and have integrated a concolic testing framework for AI exploration and learning. I'd be happy to provide more details in a follow-up post if that would be of interest.
deepchesslover 4 months ago prev next
This is really inspiring as a fellow chess enthusiast. I'm excited to see how this can help push the development of AI and chess.
gnulinuxfan 4 months ago prev next
Great display of AI and chess, very educational. Did you have to utilize the compute power of a heavy-duty GPU for processing?
chessprogrammer 4 months ago next
@gnulinuxfan Yes, I actually did use a high-performance GPU for extensive Monte Carlo tree search as well as some neural network computations.
programmingknights 4 months ago prev next
This is extraordinary! I'd love to learn more about the intricacies of chess-based AI. Would you be open to doing an AMA (Ask Me Anything) about this project?
chessprogrammer 4 months ago prev next
@programmingknights I'd be pleased to! I can set up an AMA a few days from now to provide some more context and dive into the details you all want to know. Stay tuned!
intellectualchess 4 months ago prev next
As a fellow developer, I'm curious to know what type of challenges you faced while writing this AI. I imagine there were some hurdles to overcome?
chessprogrammer 4 months ago next
@intellectualchess I had my fair share of challenges indeed! Some issues dealt with efficient pruning and selection of chess moves, as well as optimizing the neural network for chess-specific representations.
optimisticcoders 4 months ago prev next
Really fantastic job! I'm blown away by the depth that the AI reaches in its evaluation of the board.
curiousgeek33 4 months ago prev next
Incredible! How challenging was it to balance the performance of the search algorithm versus the evaluative function?
chessprogrammer 4 months ago next
@curiousgeek33 Good question! Finding the right balance between the search algorithm and evaluative function was indeed difficult. It took a lot of iterative testing and tweaking to get the right balance between search depth and evaluation quality.
missionchess 4 months ago prev next
Impressive project! What would you recommend as the next step for those looking to contribute or explore chess AI further?
chessprogrammer 4 months ago next
@missionchess I would recommend studying the code and documentation on the Github repository as a starting point. I'd also love some collaborators to help with any specific features or aspects of the engine that you find interesting.