Discuss Scratch

everwinner64
Scratcher
1000+ posts

Problem with my chess ai

Hello, there’s now a week, I started working on a chess ai (JS) that mainly works thanks to Minimax algorithm with an automatically adjusted deep (from 3 to 5), since now 2 days, I’m trying to improve ai’s skills, but whatever I can change, moves don’t necessarily get better. I’ve been trying to give to the system priorities such as captures first… but nothing really change, and during some games, the bot can ignore the capture of a free queen… what can I do to fix the algorithm?

Powered by DjangoBB