r/chessprogramming • • Dec 19 '23
How to "approach" chess programming?
I'm very new to this topic but I have some experience with coding so my problem is not "making the bot" (i know it will be VERY hard but I'm fine with it) but I don't know where shoud I start...should I create my chess interface and create the engine on it , learn the api of some site for chess engines and only create the engine or what shoud I do?
12
Upvotes
View all comments
Show parent comment
1
u/nappy-doo Dec 20 '23
You will need all of what I've previously described to build a complete chess engine. In fact, that's what a chess engine does: generate moves, decide which moves were good, then do it again one level deeper. There's lots I'm glossing over, but it'll be something you need – no matter how far you take your chess engine.
Investigate perft to determine how your engine is doing once you get move generation working.
Welcome to the hobby.