A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Algorithms for Chess AI

  1. #1
    Registered User
    Join Date
    Dec 2010
    Posts
    2

    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

  2. #2
    Junior Member
    Join Date
    Dec 2010
    Posts
    4
    i should use a bidimensional array to keep informations about the pieces, with its type, and color (white/black)

  3. #3
    Senior Member webgeek's Avatar
    Join Date
    Sep 2000
    Posts
    1,356
    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

  4. #4
    Registered User
    Join Date
    Dec 2010
    Posts
    2
    Thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center