coding a chess ai

Code, algorithms, languages, construction...
Post Reply
tjlikescats
Posts: 2
Joined: Fri Feb 03, 2023 2:41 pm
Real Name: brayden

coding a chess ai

Post by tjlikescats » Fri Feb 03, 2023 2:43 pm

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.

Enderjed
Posts: 21
Joined: Wed Sep 28, 2022 3:15 pm
Contact:

Re: coding a chess ai

Post by Enderjed » Fri Feb 03, 2023 7:09 pm

Implementing a legal move generator would be quite useful.

tjlikescats
Posts: 2
Joined: Fri Feb 03, 2023 2:41 pm
Real Name: brayden

Re: coding a chess ai

Post by tjlikescats » Fri Feb 03, 2023 9:07 pm

and how would i do that? im really new to this lol

Enderjed
Posts: 21
Joined: Wed Sep 28, 2022 3:15 pm
Contact:

Re: coding a chess ai

Post by Enderjed » Sun Mar 05, 2023 11:29 pm

(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.

Post Reply