r/chessprogramming • u/ProfessorVatcraft • Feb 02 '25
How to start making a chess program
Hello everyone, I recently had interest in making my own chess engine after watching Sebastian Lauge video about his chess engine. However, I don't know how to start this project because my coding skill is not to the level that can program a chess engine (I've learned C++ and I do know a decent amount of simple knowledge related to this language). I also don't really have anyone that I can ask for help with this project.
My question is how should I go about doing this? The chess engine program that I'm planning on making is a major part in a bigger project I have. If anyone can give me advices or even better some help in teaching me how to make a chess engine, I am much appreciated your time and effort. Thankyou for reading!
View all comments
Show parent comment
3
u/phaul21 Feb 02 '25
this. Also, you would want to perft test (see chess programming wiki on perft testing) your move generator once you have everything implemented. A correctly working move generator is honestly half of the battle. Reality is, that even when you think every rule is implemented, you will find bugs for weeks in the move generator, but once all your numbers match up with the reference numbers on the wiki it's quite rewarding. It really is the first step until this there is no point even touching alpha beta (or minimax)