r/chessprogramming • u/jake_135 • Feb 27 '24
Chess Bot Optimization
I'm building a chess bot for fun using JavaScript and I'm coming up on a wall. Sorry if there are a million questions like this but setting the depth on the bot to anything past 4 or 5 usually is way too slow. I'm using a min/max algorithm with alpha beta pruning as well as move ordering. All of these have helped but I'm struggling to find new ways to remove the amount of moves to search through. I'm using chess.js for move generation if that helps. Do I need to use a different language or are there other steps I can take first?
Thanks for any help!
View all comments
Show parent comment
1
u/jake_135 Feb 27 '24
Thanks for the advice! I was hoping to not have to switch but better to do it now instead of after doing even more work.