Page 1 of 1

coding a chess ai

Posted: Fri Feb 03, 2023 2:43 pm
by tjlikescats
so, ive decided to take on the challenge of coding a chess engine, for my board representation I'm using the first chess board representation code, but I have no idea what to do next, does anybody have any ideas.

Re: coding a chess ai

Posted: Fri Feb 03, 2023 7:09 pm
by Enderjed
Implementing a legal move generator would be quite useful.

Re: coding a chess ai

Posted: Fri Feb 03, 2023 9:07 pm
by tjlikescats
and how would i do that? im really new to this lol

Re: coding a chess ai

Posted: Sun Mar 05, 2023 11:29 pm
by Enderjed
(Do keep in mind, I'm rubbish at coding, and my engine is proof of that)
Well firstly, you need to pick a coding language for your engine, and from there you might be able to find some legal move generation code.
From there, you can add further search and evaluation.
Of course, you'll also want to implement UCI compatibility in your engine so you don't have to program your own chess GUI.