-
Algorithms for Chess AI
Googled but couldn't find answer to my question to get started.
I want to create my own Chess AI for learning purpose. There are many algorithms out there but couldn't decide which is good to invest time in.
Q: which algorithm should I look into for Chess AI development?
Thanks
-
i should use a bidimensional array to keep informations about the pieces, with its type, and color (white/black)
-
Senior Member
Minimax all the way. Use alpha-beta pruning to get it to run faster and you'll be golden. Chess is a nasty one overall though, you'd be better off starting with a game like tic-tac-toe to get a feel for the algorithm then move up to something like connect-4. We've used minimax for all of those games with a great deal of success. Good luck!
-Mike
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|