Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

How computer plays chess?

  1. Aug 31, 2009 #1
    As a computer does not possess any intelligence of it's own, how it plays games like chess?
  2. jcsd
  3. Aug 31, 2009 #2


    User Avatar

    Staff: Mentor

  4. Sep 1, 2009 #3
    here is a really cool applet which visually shows you how a computer decides it's next move. just drag your piece somewhere legal, and watch the computer do it's magic.

  5. Sep 7, 2009 #4


    User Avatar
    Gold Member

    A short answer is, the computer tries to search all possible paths of play for several moves into the future. As a "brute force" approach, this would take too long, so the programmer tries to add heuristics to the chess program so that it can guess which paths to eliminate without projecting every possible path many steps into the future.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook