Free Republic
Browse · Search
General/Chat
Topics · Post Article

Skip to comments.

Canadian Computer Program Can't Lose at Checkers (game)
foxnews.com ^ | Friday, July 20, 2007

Posted on 07/20/2007 6:37:43 PM PDT by rawhide

Canadian researchers report they have "solved" checkers, developing a program that cannot lose in a game popular with young and old alike for more than a thousand years.

"The program can achieve at least a draw against any opponent, playing either the black or white pieces," the researchers say in this week's online edition of the journal Science.

In the past, game-playing programs have used rules of thumb — which are right most of the time, he said — to make decisions.

"What we've done is show that you can take nontrivial problems, very large problems, and you can do the same kind of reasoning with perfection. There is no error in the Chinook result. ... Every decision point is 100 percent."

Schaeffer's team started with the end of a game with just one checker on the board. Then the team looked at every possible position with two checkers, on up to 10 checkers on the board.

Every combination of 10 checkers offers 39 trillion positions for the endgame, he said. Chinook can calculate them all.

It does not matter how the players make it to 10 checkers left because from that point on, the computer cannot lose, Schaeffer said.

For two players who never make a mistake, every game would be a draw, he said.

(Excerpt) Read more at foxnews.com ...


TOPICS: Computers/Internet
KEYWORDS: checkers
Fascinating how they developed up with this software.
1 posted on 07/20/2007 6:37:46 PM PDT by rawhide
[ Post Reply | Private Reply | View Replies]

To: rawhide

I bet it loses when I get frustrated and uninstall its ass from Add/Remove programs! :O)


2 posted on 07/20/2007 6:40:54 PM PDT by jdm
[ Post Reply | Private Reply | To 1 | View Replies]

To: jdm

I thought some time ago it was solvable in a reasonable time — of course I was not ambitious enough to actually program it. There are less than 5^32 possible boards (red king, red pawn, black pawn, black king, blank square), red men <= 12, black men <= 12.

A really good checkers player disagreed with me though.

Chess will require heuristics for some time, I think...


3 posted on 07/20/2007 9:11:31 PM PDT by scrabblehack
[ Post Reply | Private Reply | To 2 | View Replies]

To: rawhide

By my understanding of the article, they’re saying that they’ve classified every position of ten checkers as being a win for white, a win for black, and a draw; they’re assuming that if both sides play reasonably the game will not end up in any of the ten-piece positions which is a win for white or black. That’s probably true, but I’m curious what sort of formal argument one would use to show that one side couldn’t force the game to either end up in one of the ten-piece positions where he would be victorious, or for that matter to end up in an eleven- or twelve-piece position where he’d already won (the latter, of course, would seem pretty unlikely).


4 posted on 07/20/2007 11:00:32 PM PDT by supercat (Sony delenda est.)
[ Post Reply | Private Reply | To 1 | View Replies]

To: supercat

Maybe an easy way is to compare it to tic-tac-toe. Here there are less than 9*3 = 27 possible boards instead of something less than (5)^32.

You can easily list them out.

Intelligent play by both players will always lead to a draw.

I was thinking you could hold each board in a 16-byte structure. Use 4 bits to encode each square — red king, red pawn, black king, black pawn, empty square. Of course that takes only 3 bits, so you’d have 32 bits left over. Use one to say whose turn it is.

Then start building the game tree.


5 posted on 07/21/2007 1:18:20 PM PDT by scrabblehack
[ Post Reply | Private Reply | To 4 | View Replies]

To: rawhide
Checkmate bump.


6 posted on 07/21/2007 1:42:46 PM PDT by Daffynition (The quieter you become, the more you are able to hear.)
[ Post Reply | Private Reply | To 1 | View Replies]

To: rawhide

Spock will be able to prove that the ships computer was tampered with after successfully beating the computer at a game of checkers.

No wait that was tri-dimensional chess.


7 posted on 07/21/2007 2:48:31 PM PDT by festus (I'm a fRedneck and proud of it.)
[ Post Reply | Private Reply | To 1 | View Replies]

To: festus

Hmmm...I never quite followed that one. In fact I was unable to do the Cracker Barrel peg game. I sat down and wrote a program to solve it. My program spit out solutions left and right.

I guess the Vulcan mind operates differently from the human mind.

So why not replace the ship’s computer with a team of Vulcans?


8 posted on 07/21/2007 3:42:48 PM PDT by scrabblehack
[ Post Reply | Private Reply | To 7 | View Replies]

To: scrabblehack

Probably because the vulcans were far to logical to ever agree to it ;-)


9 posted on 07/21/2007 6:39:26 PM PDT by festus (I'm a fRedneck and proud of it.)
[ Post Reply | Private Reply | To 8 | View Replies]

Disclaimer: Opinions posted on Free Republic are those of the individual posters and do not necessarily represent the opinion of Free Republic or its management. All materials posted herein are protected by copyright law and the exemption for fair use of copyrighted works.

Free Republic
Browse · Search
General/Chat
Topics · Post Article

FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson