Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Checkers game solved by computer

Checkers game solved by computer

Scheduled Pinned Locked Moved The Lounge
htmlcomgame-devquestion
25 Posts 17 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Judah Gabriel Himango
    wrote on last edited by
    #1

    After 18-and-a-half years and sifting through 500 billion billion (a five followed by 20 zeroes) checkers positions, Dr. Jonathan Schaeffer and colleagues have built a checkers-playing computer program that cannot be beaten.[^] :cool: You can play against the unbeatable program here[^].

    Tech, life, family, faith: Give me a visit. I'm currently blogging about: How could God prove Himself to humanity? The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

    G A R M P 5 Replies Last reply
    0
    • J Judah Gabriel Himango

      After 18-and-a-half years and sifting through 500 billion billion (a five followed by 20 zeroes) checkers positions, Dr. Jonathan Schaeffer and colleagues have built a checkers-playing computer program that cannot be beaten.[^] :cool: You can play against the unbeatable program here[^].

      Tech, life, family, faith: Give me a visit. I'm currently blogging about: How could God prove Himself to humanity? The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

      G Offline
      G Offline
      Gary R Wheeler
      wrote on last edited by
      #2

      To be honest, I'm unimpressed with his 'achievement'. What makes AI programming techniques useful is when they are applied to 'combinatorially explosive' problems. These are problems where the search tree for the correct solution grows too rapidly for a brute-force solution to work. Schaeffer has simply used enough compute time (e.g. applied brute force) to fully evaluate the tree for the game of checkers.


      Software Zen: delete this;

      Fold With Us![^]

      R D 2 Replies Last reply
      0
      • J Judah Gabriel Himango

        After 18-and-a-half years and sifting through 500 billion billion (a five followed by 20 zeroes) checkers positions, Dr. Jonathan Schaeffer and colleagues have built a checkers-playing computer program that cannot be beaten.[^] :cool: You can play against the unbeatable program here[^].

        Tech, life, family, faith: Give me a visit. I'm currently blogging about: How could God prove Himself to humanity? The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

        A Offline
        A Offline
        alex barylski
        wrote on last edited by
        #3

        Thats awesome :)

        I'm finding the only constant in software development is change it self.

        1 Reply Last reply
        0
        • J Judah Gabriel Himango

          After 18-and-a-half years and sifting through 500 billion billion (a five followed by 20 zeroes) checkers positions, Dr. Jonathan Schaeffer and colleagues have built a checkers-playing computer program that cannot be beaten.[^] :cool: You can play against the unbeatable program here[^].

          Tech, life, family, faith: Give me a visit. I'm currently blogging about: How could God prove Himself to humanity? The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

          R Offline
          R Offline
          ratamoa
          wrote on last edited by
          #4

          And when it plays itself? Who wins?

          W B R M 4 Replies Last reply
          0
          • R ratamoa

            And when it plays itself? Who wins?

            W Offline
            W Offline
            Wjousts
            wrote on last edited by
            #5

            Clearly the universe would be torn asunder.

            G 1 Reply Last reply
            0
            • G Gary R Wheeler

              To be honest, I'm unimpressed with his 'achievement'. What makes AI programming techniques useful is when they are applied to 'combinatorially explosive' problems. These are problems where the search tree for the correct solution grows too rapidly for a brute-force solution to work. Schaeffer has simply used enough compute time (e.g. applied brute force) to fully evaluate the tree for the game of checkers.


              Software Zen: delete this;

              Fold With Us![^]

              R Offline
              R Offline
              Rui A Rebelo
              wrote on last edited by
              #6

              Gary R. Wheeler wrote:

              Schaeffer has simply used enough compute time (e.g. applied brute force) to fully evaluate the tree for the game of checkers.

              I graduated recently at the University of Alberta. Had a course on AI and Dr. Schaeffer gave the class on search techniques applied to games. In his class he commented that yours is the most common critique about AI. When people see the massive search computers do to simulate intelligent behavior they say: "Oh, that's just brute force, it is not real intelligence". And they end up never accepting that computers can simulate "real" intelligence. I don't have the slightest idea of what "AI techniques" could be used to prove that Chinook can't be beaten besides massive search and I am sure you don't, too. But I am sure that, regardless of the means, Chinook simulates intelligent behavior pretty well. And this is why we call it "Artificial Intelligence".

              Rui A. Rebelo I don't smoke, don't gamble, don't sniff, don't drink and don't womanize. My only defect is that I lie just a little bit, sometimes. Tim Maia (brazilian pop singer)

              M G 2 Replies Last reply
              0
              • R Rui A Rebelo

                Gary R. Wheeler wrote:

                Schaeffer has simply used enough compute time (e.g. applied brute force) to fully evaluate the tree for the game of checkers.

                I graduated recently at the University of Alberta. Had a course on AI and Dr. Schaeffer gave the class on search techniques applied to games. In his class he commented that yours is the most common critique about AI. When people see the massive search computers do to simulate intelligent behavior they say: "Oh, that's just brute force, it is not real intelligence". And they end up never accepting that computers can simulate "real" intelligence. I don't have the slightest idea of what "AI techniques" could be used to prove that Chinook can't be beaten besides massive search and I am sure you don't, too. But I am sure that, regardless of the means, Chinook simulates intelligent behavior pretty well. And this is why we call it "Artificial Intelligence".

                Rui A. Rebelo I don't smoke, don't gamble, don't sniff, don't drink and don't womanize. My only defect is that I lie just a little bit, sometimes. Tim Maia (brazilian pop singer)

                M Offline
                M Offline
                Marc Clifton
                wrote on last edited by
                #7

                Rui A. Rebelo wrote:

                Chinook simulates intelligent behavior pretty well.

                It's still a highly complicated state machine, not what is called intelligence, which involves strategy and so forth. Marc

                Thyme In The Country
                Interacx
                My Blog

                M B 3 Replies Last reply
                0
                • J Judah Gabriel Himango

                  After 18-and-a-half years and sifting through 500 billion billion (a five followed by 20 zeroes) checkers positions, Dr. Jonathan Schaeffer and colleagues have built a checkers-playing computer program that cannot be beaten.[^] :cool: You can play against the unbeatable program here[^].

                  Tech, life, family, faith: Give me a visit. I'm currently blogging about: How could God prove Himself to humanity? The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

                  M Offline
                  M Offline
                  Marc Clifton
                  wrote on last edited by
                  #8

                  a truly significant advance in artificial intelligence and sifting through 500 billion billion (a five followed by 20 zeroes) checkers positions A huge state machine is not a significant advance nor is it intelligence. Marc

                  Thyme In The Country
                  Interacx
                  My Blog

                  R D 2 Replies Last reply
                  0
                  • M Marc Clifton

                    a truly significant advance in artificial intelligence and sifting through 500 billion billion (a five followed by 20 zeroes) checkers positions A huge state machine is not a significant advance nor is it intelligence. Marc

                    Thyme In The Country
                    Interacx
                    My Blog

                    R Offline
                    R Offline
                    Rui A Rebelo
                    wrote on last edited by
                    #9

                    Marc Clifton wrote:

                    A huge state machine is not a significant advance nor is it intelligence.

                    Every Turing-based computer is a state machine. Therefore you only consider a significant advance a computer that breaks the most basic paradigm of theory of computation. It will only happen if we get quantum computing to work.

                    Rui A. Rebelo I don't smoke, don't gamble, don't sniff, don't drink and don't womanize. My only defect is that I lie just a little bit, sometimes. Tim Maia (brazilian pop singer)

                    P D 2 Replies Last reply
                    0
                    • R ratamoa

                      And when it plays itself? Who wins?

                      B Offline
                      B Offline
                      Bradml
                      wrote on last edited by
                      #10

                      I really want to find out.....


                      Brad Australian - Christian Graus on "Best books for VBscript" A big thick one, so you can whack yourself on the head with it.

                      1 Reply Last reply
                      0
                      • R ratamoa

                        And when it plays itself? Who wins?

                        R Offline
                        R Offline
                        Rui A Rebelo
                        wrote on last edited by
                        #11

                        It ties.

                        Rui A. Rebelo I don't smoke, don't gamble, don't sniff, don't drink and don't womanize. My only defect is that I lie just a little bit, sometimes. Tim Maia (brazilian pop singer)

                        1 Reply Last reply
                        0
                        • M Marc Clifton

                          Rui A. Rebelo wrote:

                          Chinook simulates intelligent behavior pretty well.

                          It's still a highly complicated state machine, not what is called intelligence, which involves strategy and so forth. Marc

                          Thyme In The Country
                          Interacx
                          My Blog

                          M Offline
                          M Offline
                          Member 96
                          wrote on last edited by
                          #12

                          I guess though that any recognizable intelligence actually does have a big database in the background. You can't operate from a state of zero knowledge and the more knowledge you have the mor intelligently you can make decisions. If you extend the checkers database to the sum of all human knowledge I'm pretty sure it would be a very intelligent machine as a result.


                          "I don't want more choice. I just want better things!" - Edina Monsoon

                          A 1 Reply Last reply
                          0
                          • M Member 96

                            I guess though that any recognizable intelligence actually does have a big database in the background. You can't operate from a state of zero knowledge and the more knowledge you have the mor intelligently you can make decisions. If you extend the checkers database to the sum of all human knowledge I'm pretty sure it would be a very intelligent machine as a result.


                            "I don't want more choice. I just want better things!" - Edina Monsoon

                            A Offline
                            A Offline
                            Anton Afanasyev
                            wrote on last edited by
                            #13

                            Yeah, but how many times have you fully thought out more than 10 or so moves ahead when playing a game of checkers? never most likely. this program, OTOH, 'knows' what to do beforehand.


                            :badger:

                            E 1 Reply Last reply
                            0
                            • R Rui A Rebelo

                              Marc Clifton wrote:

                              A huge state machine is not a significant advance nor is it intelligence.

                              Every Turing-based computer is a state machine. Therefore you only consider a significant advance a computer that breaks the most basic paradigm of theory of computation. It will only happen if we get quantum computing to work.

                              Rui A. Rebelo I don't smoke, don't gamble, don't sniff, don't drink and don't womanize. My only defect is that I lie just a little bit, sometimes. Tim Maia (brazilian pop singer)

                              P Offline
                              P Offline
                              Paul Watson
                              wrote on last edited by
                              #14

                              Rui A. Rebelo wrote:

                              It will only happen if we get quantum computing to work.

                              Last time I checked my dog and I aren't quantum computers. Why is quantum computing the only way for us to create AI?

                              regards, Paul Watson Ireland & South Africa

                              Shog9 wrote:

                              And with that, Paul closed his browser, sipped his herbal tea, fixed the flower in his hair, and smiled brightly at the multitude of cute, furry animals flocking around the grassy hillside where he sat coding Ruby on his Mac...

                              1 Reply Last reply
                              0
                              • J Judah Gabriel Himango

                                After 18-and-a-half years and sifting through 500 billion billion (a five followed by 20 zeroes) checkers positions, Dr. Jonathan Schaeffer and colleagues have built a checkers-playing computer program that cannot be beaten.[^] :cool: You can play against the unbeatable program here[^].

                                Tech, life, family, faith: Give me a visit. I'm currently blogging about: How could God prove Himself to humanity? The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

                                P Offline
                                P Offline
                                Paul Watson
                                wrote on last edited by
                                #15

                                Jeez, I read that as "500 billion billion dollars" and nearly cried for Africa. Cool stuff though. My JavaScript checkers algorithm takes half an hour to make a move, in Firefox. 15 minutes in IE. 10 minutes in Opera and ZERO TIME in Safari... :rolleyes:

                                regards, Paul Watson Ireland & South Africa

                                Shog9 wrote:

                                And with that, Paul closed his browser, sipped his herbal tea, fixed the flower in his hair, and smiled brightly at the multitude of cute, furry animals flocking around the grassy hillside where he sat coding Ruby on his Mac...

                                M 1 Reply Last reply
                                0
                                • R Rui A Rebelo

                                  Marc Clifton wrote:

                                  A huge state machine is not a significant advance nor is it intelligence.

                                  Every Turing-based computer is a state machine. Therefore you only consider a significant advance a computer that breaks the most basic paradigm of theory of computation. It will only happen if we get quantum computing to work.

                                  Rui A. Rebelo I don't smoke, don't gamble, don't sniff, don't drink and don't womanize. My only defect is that I lie just a little bit, sometimes. Tim Maia (brazilian pop singer)

                                  D Offline
                                  D Offline
                                  Daniel Grunwald
                                  wrote on last edited by
                                  #16

                                  Quantum computers have different basic operations that allow some algorithms to run faster; but it can be simulated by a Turing machine (with exponential time overhead), so every quantum computer still is a state machine.

                                  1 Reply Last reply
                                  0
                                  • G Gary R Wheeler

                                    To be honest, I'm unimpressed with his 'achievement'. What makes AI programming techniques useful is when they are applied to 'combinatorially explosive' problems. These are problems where the search tree for the correct solution grows too rapidly for a brute-force solution to work. Schaeffer has simply used enough compute time (e.g. applied brute force) to fully evaluate the tree for the game of checkers.


                                    Software Zen: delete this;

                                    Fold With Us![^]

                                    D Offline
                                    D Offline
                                    Daniel Grunwald
                                    wrote on last edited by
                                    #17

                                    Checkers is EXP-TIME complete (source[^]); that means it is proven that an provably optimal playing program CANNOT run in polynomial time. He definitely didn't "fully evaluate the tree" (as in: using the trivial brute force solution), that would calculate positions that can be reached on multiple ways many times, dramatically increasing the required time. At least he used the "clever brute force" solution that uses a huge database to store the positions it already visited. The article says there are 5*10^20 positions (currently I'm too lazy to calculate that myself, so I'm going to believe the article). Say the program takes only 20 CPU cycles per position. On a 3 GHz CPU, that allows him to evaluate 161061273 positions per second. Multiply that with the 200 computers he used (the article says 50 on average, 200 at peak times), 60 seconds per minute, 60 minutes per hour, 24 hours per day, 365 days per years. In one year, you evaluate 1015845661065600000 = 1,0158 * 10^18 positions. For 5*10^20 positions, the computation takes 492 years. And I don't think 3 GHz CPUs were available when he started. So he definitely didn't try all positions, but used a more clever solution. Side note: the database (storing if white wins for each position) would take 5*10^20 bits = 56843418 TB memory.

                                    1 Reply Last reply
                                    0
                                    • M Marc Clifton

                                      a truly significant advance in artificial intelligence and sifting through 500 billion billion (a five followed by 20 zeroes) checkers positions A huge state machine is not a significant advance nor is it intelligence. Marc

                                      Thyme In The Country
                                      Interacx
                                      My Blog

                                      D Offline
                                      D Offline
                                      David Lane
                                      wrote on last edited by
                                      #18

                                      I've said it befor and I'll say it again... Where did I leave my quantum laptop?

                                      When prediction serves as polemic, it nearly always fails. Our prefrontal lobes can probe the future only when they aren’t leashed by dogma. The worst enemy of agile anticipation is our human propensity for comfy self-delusion. David Brin Buddha Dave

                                      1 Reply Last reply
                                      0
                                      • A Anton Afanasyev

                                        Yeah, but how many times have you fully thought out more than 10 or so moves ahead when playing a game of checkers? never most likely. this program, OTOH, 'knows' what to do beforehand.


                                        :badger:

                                        E Offline
                                        E Offline
                                        ewasjdgb
                                        wrote on last edited by
                                        #19

                                        FWIW the same guy started with a purely heuristic approach & the machine won a world chequers tournament back in 1994. He was dissatisfied with the fact that it could be beaten & subsequently pursued this 'brute-force' approach instead, but way back in '94 demonstrated a working, winning AI which probably fits some of your definition's of machine intelligence a bit better...

                                        1 Reply Last reply
                                        0
                                        • W Wjousts

                                          Clearly the universe would be torn asunder.

                                          G Offline
                                          G Offline
                                          Gerald McCartney
                                          wrote on last edited by
                                          #20

                                          Number of players: 0 It plays every variation of the game it can compute, tying each time, then launches the Global Thermonuclear War game and plays that through every possible scenario until it finally learns that the only way to win, is not to play. Then it asks to play a nice game of chess. Oh wait, that's a cheesy Matthew Broderick movie! G

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups