+ 7

How To Code Chess?

Chess Has Over 1 Million Possible Moves After The 3 moves, How does one even start to program it?

6th May 2017, 7:38 PM
Given
Given - avatar
5 Réponses
6th May 2017, 7:49 PM
Karl T.
Karl T. - avatar
+ 9
Not really that complicated, you just need to learn a bit about graph theory.
6th May 2017, 8:10 PM
Karl T.
Karl T. - avatar
+ 8
Yea, Must be a really complicated set of algorithms
6th May 2017, 8:05 PM
Given
Given - avatar
+ 6
1 million possible moves, but very simple rules to move 😀
6th May 2017, 8:04 PM
⏩▶Clau◀⏪
⏩▶Clau◀⏪ - avatar
+ 2
It depends on whether you want an AI for chess and how good you want that AI. The easiest thing to do for AI would be to just randomly choose a move, but it won't play very well.
7th May 2017, 1:37 AM
Caleb Wilson
Caleb Wilson - avatar