Slashdot Mirror


Solving Chess?

R. Jason Valentine asks: "One of the more complex problems that computing has tackled has been the game of Chess. The rules are simple, the strategy complex. We now have computers, based upon current technology, that can play as good as or better than the best humans. However, the current computing power is still far from answering the age old question: Is there such a thing as a perfect game of chess?" Anyone have spare processor time on a Beowulf Cluster? Or maybe this could be another project for distributed.net? Update: 04/30 10:38 by J : Remy de Ruysscher writes to say he's still working on distributed chess; to join his mailing list, email him.

"For those who don't know, it is theorized Chess may be a solveable game -- i.e. one that if played perfectly, yields a predictable outcome -- be it a victory for white, black, or a draw. There are two new computing technologies that *may* be able to answer this question -- DNA computing and quantum computing. DNA computing is advancing fairly rapidly, and recently the largest quantum computer was devised -- a mere 7 qubits.

I am admittedly completely ignorant in algorithms used by computers to calculate moves, but I was wondering if anyone had any ideas on which technology would be more likely to solve the game of chess, and how one would devise a method to do so."

269 comments

  1. Re:Solving Chess by Anonymous Coward · · Score: 1
    So what? According to current scientific orthodoxy (unless something radical changed unbeknownst to me) the number of atoms in the universe is thought to be a finite, if not constant, number. Build a "fast" enough computer, run it for a few million, or billion, or octillion, or ... years, and you'll get the answer. Unless of course the minimal power requirements of the minimal system to compute the answer turns out to be greater than the stored potential energy of the universe... and even then don't count it out, a thousand years/millenia/eons/etc from now we may learn how to alter physical "laws" or steal energy from other universes/dimensions.

    Your error was that you said "unsolvable" without qualifying it... which is the same thing as saying "impossible".. which some things may be, but we can never know for certain (and even if we prove it, something beyond our current knowledge may be a disproof or throw uncertainty into the mix).

    Remember, we're "only" "human"! (at least, you are :P)

  2. how about the perfect blowjob? by Anonymous Coward · · Score: 1


    With all this talk about using beowulf clusters, DNA and quantum computing, etc. to try to tackle the problem of a perfect game of chess, how about the perfect blowjob? I say we get all our girlfriends hooked up in a distributed network and work on that problem.

    Actually, mostly the problem relates to not enough blowjobs to go around. If we had a massively parallel effort running, I guess the problem would be solved.

    Now let's get to it!
  3. heheh by Anonymous Coward · · Score: 1

    To repeat the classic tagline:
    My computer can beat me at chess but I kick its ass at kickbox.

    ( I post my insightful thoughts on real .org sites )

  4. Re:I wouldn't think so... by hadron · · Score: 1

    Sorry, Chess can be solved. Sure, it's a lot harder to solve than tic-tac-toe, but fundamentally, it's the same maths involved... Probably with current technology, it could be solved in a few decades if there was the money to do it (i'm talking hundreds of billions of dollars here). As computer tech gets fast and faster, it will become more affordable to solve chess. I'd be very suprised if it couldn't be done in less than year for a few million dollars in 2100).

  5. Go watch a blitz chess tournament. by Luis+Casillas · · Score: 1

    If you know enough about the game, watching a blitz (10 min game) tournament with good players can keep you on the edge of the seat.

  6. Re:Chess has already been conquered. Humans lose! by Luis+Casillas · · Score: 1
    Computers will calculate longer variations until all possible winnable combinations have been computed. At that point, computers will have determined the game of chess.

    Given the complexity of chess, and the heat death of the universe, there will be no such point.

  7. Re:Solving Chess by Luis+Casillas · · Score: 1
    Then maybe it's not appropriate to use a tree. Why not use a graph? Each node could represent one unique layout for the board - with a graph, there would be no need for this kind of redundancy.

    There's more to a board position in chess than the layout of the pieces. What moves have been made in reaching the position is essential-- for example, if the king has moved at all during the game makes a difference in many positions (castling is not allowed). Pawn capture "en passant" is only possible immediately after an opponents' pawn has moved two steps. Also, there are rules that allow a player to claim a draw if the same position is reached three times in a game, or the 50-move draw rule (if 50 moves go by without a pawn move or a check, the a player can claim a draw).

    It might indeed be possible to find a more compact representation than a game tree-- but certainly the representatio will be much more complicated than a graph of board layouts.

  8. Sorry, you're wrong. by bkosse · · Score: 1

    Standard, 2 dimensional, 9 square Tic-Tac-Toe, played perfectly by both sides, is a no-win game, and the onus is on black to lose it. If white plays the center, black plays a corner. If white plays anywhere else, black plays the center. Beyond that, it's still codifiable, but it'll take me longer to write up.

    --

    --
    Ben Kosse
    Remember Ed Curry!
    1. Re:Sorry, you're wrong. by Tarkwyn · · Score: 1

      Erk :) Yup, that's exactly true. I have *NO* idea what the hell I was talking about...
      Aaaaah, sleep. How we take you for granted...

      --

      --
      Tarkwyn.
  9. Re:how large is the chess tree? infinite! by Slartibartfast · · Score: 1

    Sorry, no. You're mixing up two different rules -- and you're close, but not quite.

    1) If the same position is repeated three times, it's a draw.

    2) If an opponent doesn't move anything except his king and his pawns for some number of moves (50? I don't remember.), it's a draw.

  10. Re:I don't think this should be determined by Slartibartfast · · Score: 1

    Umm. You're wrong. While there almost certainly is a "perfect" game of chess, all it would take would be for the opponent to not use one of the scripted moves -- while it would, by definition, put him at a disadvantage, it would then require skill, not memorization, to see what the disadvantage was, and the scripted game would be in the circular filing cabinet.

  11. is playing to win the perfect strategy? by RIP · · Score: 1

    Well, what I mean is that the perfect strategy doesn't really mean playing to win. I am thinking about the Star Trek episode where Data finally beats some game master just by playing for a draw and not to win.

    It's a little offtopic but still interesting...

    --
    /* We dance to the sounds of sirens and we watch genocide to relax*/
    1. Re:is playing to win the perfect strategy? by bmasel · · Score: 1

      Consensus is pretty clear among top players that, at least in match play among comparable players, White plays to win, Black to draw, up to the point where white overreaches.

      --
      Ben Masel: 51,282 votes for US Senate in the Wisconsin Democratic Primary
  12. Positions, Moves and Chess by neo · · Score: 1

    There are a finite amount of moves and board positions in chess. It would appear that either DNA or Quantum computing would be able to solve the problem.

    However, there are more possible board positions in chess than there are molecules in the known universe, or so I've been told.

    If that's true then only Quantum computing would seem reasonable for finding the solution.

    Does anyone know how much space a book solutions would take up? (A book solution is one where all possible positions are mapped and linked to any other position that could occure from it.)

  13. Re:Computers aren't better at chess by dvdeug · · Score: 1

    It kind of pisses me off when people say that humans are better than computers at chess. Humans aren't better, they are different.

    Until humans can play and actually consider all their moves instead of making wild guessess, I can't be truly impressed with a human's ability.

  14. All things considered... by Signal+11 · · Score: 1
    Well, that depends on your definition of perfect. I've always wanted to create a chess program that doesn't try to win - it tries to stalemate you. :)

    Chess is a good game of logic and strategy, but it is hardly the epitome of either. I prefer RTS games like Red Alert or Warcraft - the AI stinks but when you play against a human there is no comparison.

    So maybe it's possible they could make the perfect chess player.. one who never lost.. but who's to say you still couldn't stalemate it?

    1. Re:All things considered... by UnknownSoldier · · Score: 1

      > it's generally agreed that chess has to have one of two outcomes if played perfectly: either White wins or it's a draw.

      But that is exactly what I want to know !!

      Out of ALL the moves of chess, what percent of games:
      a) Does White win?
      b) Does Black win?
      c) Does it end in stalemate

      > (learning one line of play would be feasible, but all your opponent has to do is to play a line that you don't know)
      Not quite true.
      The Chess tree is diamond-shaped. One move at start, with the number of moves exploding expontentially, then ending up at a "common" ending.

    2. Re:All things considered... by UnknownSoldier · · Score: 1

      Whoops, got the terminology mixed up.

      Ok,

      c) How many games end in a draw?
      d) How many games end in a stalemate?

      There, I want to know BOTH :)

    3. Re:All things considered... by F452 · · Score: 1
      I'm sorry, but that's just blasphemy. Comparing the clickfest that is your average RTS to the intellectual exercise of chess?

      Actually, you're better off using shortcut keys extensively, turning it into more of a pressfest :-)

      It is an interesting comparison. I suppose we could call chess a "pushfest". By using terms like clickfest and pushfest, we're focusing on the means of the exercise instead of the content. The implication seems to be that RTS games like War2 involve a lot of mindless clicking and little "intellectual exercise".

      With War2 specifically, I think there is a lot of intellect involved. Video games are very coordination/reflex driven, however, and it is difficult to compare them to a more "pure" intellectual exercise like chess.

    4. Re:All things considered... by Daniel · · Score: 2

      I still have to disagree. Most RTS games follow a very simple pattern: build lots of buildings, then build lots of units, then send the units to go fight the enemy. IMO, War2 is actually particularly *bad* in this respect. And yes, accomplishing those goals is more a function of how fast you can hit the buttons that of any great strategical insight.

      Daniel

      --
      Hurry up and jump on the individualist bandwagon!
    5. Re:All things considered... by Daniel · · Score: 3

      Chess is a good game of logic and strategy, but it is hardly the epitome of either. I prefer RTS games like Red Alert or Warcraft - the AI stinks but when you play against a human there is no comparison.

      I'm sorry, but that's just blasphemy. Comparing the clickfest that is your average RTS to the intellectual exercise of chess? The only thing that could explain such a gross misapprehension is that you have never studied chess more deeply than the Parker Bros. rulebook. I don't think I can enlighten you in this space, but get a couple of good chess books and read them -- it's far deeper than anything to come out of the computer game companies (not that those games aren't fun anyway :) ) Even Civilization has to take second place, IMO. (although that's a far better comparison)

      Also, since you mentioned stalemate--it's generally agreed that chess has to have one of two outcomes if played perfectly: either White wins or it's a draw. (Black could win, but most chess-players would eat their hats (metaphorically) if that turned out to be the case) Note that one of these *has* to be true: if there's ever a position where a player has two moves, one of them inevitably leading to a better end for him, he'll take the better one, and this can be extrapolated back up the game tree.

      What makes chess still interesting is that even if it were solved, no human would be able to memorize all the intricacies of every line of play. (learning one line of play would be feasible, but all your opponent has to do is to play a line that you don't know, even if it's slightly worse) Given this, we have to fall back on general pattern-recognition and short-term calculation, which makes it still a game of skill and justifies comments like "slightly better" when a 'perfect' game only has three, very discrete valuations of positions.

      Daniel

      --
      Hurry up and jump on the individualist bandwagon!
  15. Re:how to determine the perfect game of chess by Signal+11 · · Score: 1

    But they'd be dead after only a few days without food....

  16. Re:Chess vs Go by MrTomato · · Score: 1

    I think if someone is willing to offer US$10 million for the first computer that can serious
    take on a 4-5dan professional player, the race will be on.


    Actually, someone in Taiwan (a certain Mr. Ing, I beilieve), has been sponsoring tournaments for Go-playing programs, and offering a prize (something like a million dollars) for any program that can beat a strong human player (something like a 1-Dan pro). This has been going on for at least 15 years, and no one is even close to claiming the prize money.

    Go-playing programs can be very good at LOCALIZED problems, e.g. a life-and-death problem in a small part of a corner. But they are horrible at making GLOBAL decisions.

    The difficulty in programming Go is not just the width of the move tree (in the middle of a Go game, there are a couple of hundred possible moves; in the middle-game of chess, a couple of dozen). The other problem is evaluating a given position. In chess you can devise a simple, fast, fairly reliable static evaluation function that tells you for whom the situation is favorable, and by how much (by assigning values to the types of pieces, and by looking at which pieces are attacking which other pieces). You can even do this in hardware.

    But for Go, no one has been able to devise such simple, fast, global evaluation function.

    --
    I'm a poor player, but I'll strut and fret for an hour, if you like.
  17. Re:o/~ can't get there from here o/~ by jab · · Score: 1
    Actually, it's a "every atom in the universe was a computer, and they all run in parallel, running 10^15 Hertz, examining one move per clock, and ran for the duration of the universe" problem.

    The universe is about 15 billion years old, and there are about 19^79 atoms estimated by physicists. Do the math yourself.

  18. Re:Insoluble by Stiletto · · Score: 1

    Youd only really have to store the game trees that are _candidates_ for the solution. Game trees that result in losses can be pruned.

  19. Re:Solving Chess by Jeremi · · Score: 1
    Build a "fast" enough computer, run it for a few million, or billion, or octillion, or ... years, and you'll get the answer. Unless of course the minimal power requirements of the minimal system to compute the answer turns out to be greater than the stored potential energy of the universe...

    ...or the Vogons come 'round and blow it up five minutes before it's done calculating...

    --


    I don't care if it's 90,000 hectares. That lake was not my doing.
  20. Re:how to determine the perfect game of chess by Jeremi · · Score: 1
    There are not (nor will there be) enough monkeys collectively in our solar system to complete a single Shakespearean work. It's a good thing we had Shakespeare to actually do it for us.


    Of course, Shakespeare was a homo sapiens sapiens--a glorified bald monkey. So we know that the works of Shakespeare can be created by just one monkey in less than 52 years--if it's the right monkey.

    --


    I don't care if it's 90,000 hectares. That lake was not my doing.
  21. Memory is NOT the limiting factor by mrpurple · · Score: 1

    Just to correct mistake I've seen a lot of people make - When solving a game by building a game tree and then searching all possible lines for one which produces a certain victory, it is not necessary to store the entire tree at once. If you use the basic algorithms for solving a game tree, like MiniMax or AlphaBeta, you generate the game tree recursively as you go, depth first. So at any one time, you only have N board states in memory, where N is the number of moves into the game you have calculated so far. You would also need a list of moves you have already tried so far, and the outcome (win, loss, draw) associated with each. Assuming a game lasted 200 moves, and a 100K to keep track of one board position,
    a PC would do fine on memory. The problem is simply one of time, as has already been discussed.
    Out of curiosity, how many people are required to take an AI class as part of their CS degree?

  22. Re:Solving Chess by gehrehmee · · Score: 1
    True, checkers has not yet been solved. But the undisputed champion of checkers AI is the University of Alberta's (in Canada, for the geographically challenged) program, "Chinook".
    Interesting facts:

    1. It was responsible for the world of chess splitting chess championships into seperate human and machine league
    2. It's still building up a database of moves
    3. At one time, in was responsible for 80% of the internet traffic between the U.S. and Canada

    More information, can of course, be found at the University of Alberta's Chinook Web Page
    --
    "You know, Hobbes, some days even my lucky rocketship underpants don't help" -- Calvin
  23. Re:Have you ever watched a game of chess? by Gerund · · Score: 1

    It has in the past been quite popular for spectators. It isn't really part of the social background of most people to watch a game of chess. It is for some though.

    I remember watching a bunch of guys play on one of those big boards they have in parks some places. There were a fair few othe people watching as well. It's less boring than say, cricket. Or baseball.

  24. That's a pretty weak conclusion by Gerund · · Score: 1

    There are several problems that, by their nature, can only be solved by the exhaustive search method you have proposed, or more accurately, an optimised search heuristic. I have never heard of chess being included in this class of problem.

    It shouldn't be necessary to examine every possible branching that exists. You can eliminate stupid moves at the start, such as moving your bishops all the way to the other side of the board.

    It would be better to write a program that only ever chooses sensible moves, and thus eliminate the need to filter out dumb moves. This is no particular leap of logic. It is plainly obvious. It also cuts a large swathe out of your search space.

    I really don't think that discussion of branching factors is necessarily relevant to the problem of solving chess. It is an impressive way of indicating that the problem is difficult, but it isn't all that representative, really.

    Assuming that problems should be solved by an exhaustive search, or even a heuristic, may be a form of computer-brutishness. The assumption that this is the ideal use of resources to solve a difficult mathematical problem may cost valuable time and ultimately prove futile.

    1. Re:That's a pretty weak conclusion by Skuto · · Score: 1

      This kind of pruning techniques have been used in chessprograms for ages. Some of them, like alpha-beta pruning, are 'perfect', i.e. they never cut off anything they shouldn't have.

      But the techniques you describe are forward pruning techniques.

      NONE of those is perfect. Some of the more widely used ones (ie nullmove pruning) have well-known flaws. If you want to 'solve chess', you cannot use them.

      'Eliminating stupid moves' is something that sounds easy, but in practise, simply isn't possible to do perfectly.

      It isn't 'plainly obvious' at all. It just sounds that way.

      --
      GCP

  25. Re:This Discussion is scary by Gerund · · Score: 1

    I think the people who build the computer and write the software that solve chess will get far more respect than the computer itself. I'll start worrying when computers can write their own software, but not much.

  26. Re:Perfect Game by heinzkeinz · · Score: 1

    The perfect game doesn't necessarily mean a win every time. It means that the worst you can do is a draw, as in tic-tac-toe.

    Shortly after discovering tic-tac-toe, every kid solves it and never does worse than a draw. Well... most kids.

    Same principle for chess.

    Frankly, I don't think solving chess is that far off. There are a lot of moves, but there are only 64 squares on the board, and most pieces are restricted to a much smaller set of those squares. As the poster from 'way up there said, Go presents a much more difficult problem.

    B

  27. just a thought... by Misha · · Score: 1

    do we really need chess solved? I mean grandmasters are always saying that for the good of the game we shouldn't develop computers that play it.

    besides, there is a much more important question: is every sparting position of FreeCell solvable?




    --



    I was thinking of how to intentionally fail my drug test... It would make a good memoir story someday.
    1. Re:just a thought... by PurpleBob · · Score: 2

      Nope. It's quite easy to envision an unsolvable FreeCell position.
      Here's one, for example. The last 5 rows are:

      3 3 3 3 5 5 5
      6 6 6 6 4 7 7
      9 9 9 9 J 7 7
      2 2 2 2 4 4 4
      K K K K J J J

      Put any 4 cards you want in the holding cells - you won't have any valid moves.
      It's possible that the 32,000 games that the Microsoft version is capable of generating are all solvable, though.
      --
      No more e-mail address game - see my user info. Time for revenge.

      --
      Win dain a lotica, en vai tu ri silota
    2. Re:just a thought... by levendis · · Score: 2

      offtopic, but, heres the info on freecell

      --
      ---- I made the Kessel Run in under 11 parsecs.
  28. Chess is Simple by DoorFrame · · Score: 1

    If you never move your pawns, you'll never lose.

  29. Re:Nothing is perfect! by someguy · · Score: 1

    Lets hope that computer technology will never be so high that A Perfect Chess game will take place, because othervise the game of Chess won't be interesting anymore. C'mon, that's like saying tic-tac-toe isn't fun anymore. Or the box game. 8)

    --
    A planet where apes evolved from men? Long live the apes.
  30. Re:I don't understand the question. by chris.bitmead · · Score: 1

    You know those chess problems where it says "white to play and mate in two moves". Well if chess were solved you would see a chess problem showing the opening position saying "white to play and mate in 100 moves" or some such. In other words you could say before the game starts that if white plays perfectly he will always win. Or maybe black will always win. Or maybe if black and white play perfectly it will always be stalement. One of those three outcomes, but which we don't know till chess is solved.

  31. Some directions for solving the game of chess by sela · · Score: 1

    It doesn't look like chess is going to be solved anytime soon, but it doesn't mean chess is unsolvable. There are still some directions to look at using conventional computers.

    One possible approach is dealing with the game symbolically. What does it means? Instead of scanning the whole possible run-tree of the game, or at least most of it, the way it would happen using conventional a-b-prunning techniques to unlimited depth, it is possible to describe a group of states in a symbolic way and thus scan huge number of games at ones.

    This technique is commonly used in the domain of formal verification (also known as "model-checking). When we wish to prove a property on a protocol or hardware design that may have 2^100 states or more, it is impossible to solve it by going through all the states. Instead, the state space is encoded using a symbolic representation called BDD (binary decision diagram).

    I would expect BDDs to fail in the case of chess. However, if we find the right symbolic representation, the game may be solved.

    Sela

  32. Re:Perfect strategy for tic-tac-toe by Claudius · · Score: 1

    Move 5 is wrong in your example. X needs to block O at left center, then O blocks X at right center, and from there nobody can force a win.

  33. Re:Not true by Quaternion · · Score: 1

    Branch and Bound is an interesting technique, but it won't help you in chess. I work in computational biology, where some biological problems are simulated through recursive searching through trees (i.e., something like protein threading). I know people have used branch and bound for that problem, and it doesn't make exponential problems possible to solve (although it may help the running time for some things). The point is, it's hard to predict how branch and bound will affect your search.

    For that matter, what is branch and bound? You're pruning elements of your search tree that are _provably_ worse than the optimal solution. I think you could do this in some cases in chess (i.e., you can prune trees which lead to loss immediately, perhaps) but I can't see how you'd implement it to be able to remove massive sections of your search tree, enough to make the problem feasible... that's the whole point of chess: sometimes a move looks bad, but you have to investigate (i.e., search) to find out for sure.

    Branch and bound is interesting, but I don't think it's applicable here...

    --

    "The horse leech's daughter is a closed system. Her quantum of wantum does not vary."

  34. Re:Ridiculous Idea by miracle69 · · Score: 1

    Being the poster, I assure you I am informed. I did not have at hand the absolute number of positions available, but I knew that it was far more than any current computer could ever solve. I doubt that DNA could do it, but I really don't know much about how that works.

    Personally, I think that if Chess is ever solved, it will be done by a Quantum computer. These things have phenomenal calculating abilities - ones not dependent upon having enough atoms to store the 1 or 0 - because they simply use a 1 AND 0.

    --
    Linux - Because Mommy taught me to Share.
  35. Re:how to determine the perfect game of chess by linuxmop · · Score: 1

    You're correct, all that food would be expensive. It'd be much cheaper to run monkeys simulators on a big beowolf cluster.

    I can't believe I just said that.

    Don't feel too bad -- I'm doing just that (w/o the beowolf cluster, just one computer's idle cpu time) to calculate how long it would take to randomly write out the works of shakespeare (hint: so far it has taken around 9 days just to get 9 letters.)

  36. Re:Chess vs Go by Tower · · Score: 1

    POWER processors would probably be used instead of the PowerPC procs... a subtle difference, but they *are* different chips... if you are going to go parallel, you gotta use the best available.

    --
    "It's tough to be bilingual when you get hit in the head."
  37. Re:Solving Chess by pmc · · Score: 1
    Chess, however, is unsolvable. The search tree for chess has more nodes than there are atoms of the universe.

    Strangely, this isn't the case. I think that chess is solvable. The depth of the tree alone does not make it unsolvable. It does make it hard to find the solution (probably impossible for all intents and purposes) but it doesn't mean it doesn't exist.

  38. Right by p3d0 · · Score: 1

    Branch and Bound is an interesting technique, but it won't help you in chess.

    Right. I did say that in my article, but it bears repeating. It was meant as an example of how the raw number of games is not necessarily relevant.
    --
    Patrick Doyle

    --
    Patrick Doyle
    I mod down every jackass who puts his moderation policy in his sig. Oh, wait a sec....
  39. Gimme a break by p3d0 · · Score: 1

    Ok, so you only have to search 1 percent of the game tree. Now, lets do our freshman computer science math here, kids: .01 * (35 ^ 100) = (an intractable runtime)

    (Ok, please try to see the point I'm making instead of getting lost in the example.)

    Who said it's 1 percent? What if it's 1/(35^98) of the game tree?

    The point is that the total number of games doesn't matter because you may only need to search a tiny fraction of them. How tiny? I don't know. The point (again) is that you can't argue that solving chess is impossible because of the huge number of possible games.

    I could use the same argument to claim that adding 1+2 is impossible because you'd have to search every possible integer answer. It's just a ridiculous argument.

    Got it?

    --
    Patrick Doyle

    --
    Patrick Doyle
    I mod down every jackass who puts his moderation policy in his sig. Oh, wait a sec....
  40. That's not quite right by p3d0 · · Score: 1

    "If you put an infinite number of monkeys, working on an infinite number of typewriters eventually one will bang out the script to hamlet"

    Actually, if you have an infinite number of monkeys, you could even say that an infinite subset of them will immediately produce Hamlet.

    I think the original monkey theorem was that 1000 monkeys on 1000 typewriters will eventually produce Hamlet.

    --
    Patrick Doyle

    --
    Patrick Doyle
    I mod down every jackass who puts his moderation policy in his sig. Oh, wait a sec....
    1. Re:That's not quite right by flatrabbit · · Score: 1

      thanks for the correction. I had that rattling around in my head somewhere but I couldn't remember the words exactly.

      I just love the thought of a thousand monkeys banging on typewriters. Although I feel sorry for the janitor, and the poor person/people who have to read all the extra monkey gibberish until they find the script.


      flatrabbit,
      peripheral visionary

      --



      "Never wrestle with a pig, you both get dirty and the pig likes it."
  41. You missed the point by p3d0 · · Score: 1

    So maybe it's possible they could make the perfect chess player.. one who never lost.. but who's to say you still couldn't stalemate it?

    Um, that's precisely the point of the question: can we "solve" chess and say that there is a way to play that always wins?

    We have our answer for tic-tac-toe, for instance. The answer is no. A perfect player cannot force a win.

    The idea is to answer the same question for Chess.

    --
    Patrick Doyle

    --
    Patrick Doyle
    I mod down every jackass who puts his moderation policy in his sig. Oh, wait a sec....
  42. Re:Solving Chess by drudd · · Score: 1

    Ok, to be more clear, mass-energy is conserved. When you convert from mass to energy or from energy to mass, you have simply changed its form.

    My point is that you can never "run out" of energy in the universe, as long as you can continue to recapture it in whatever wasteproduct form it occurs.

    Doug

    --
    Venn ist das nurnstuck git und Slotermeyer? Ya! Beigerhund das oder die Flipperwaldt gersput!
  43. Re:How do we discover when the problem is solved? by dlakelan · · Score: 1

    There's already an RFC for a new Infinite Monkey Protocol...

    ftp://ftp.isi.edu/in-notes/rfc2795.txt

    --
    ((lambda (x) (x x)) (lambda (x) (x x))) http://www.endpointcomputing.com a scientific approach to custom computing.
  44. Yes you can by SecretAsianMan · · Score: 1

    Let's bust some myths about computer chess:

    • Chess is unsolvable. FALSE
      Think of it in an AI perspective; the game is just another search space. Sure, the space is infinitely deep, but a good algorithm will recognize when an infinite branch is reached and make the appropriate decision. Chess's complexity is not increasing, but computers' power is. Chess will be solved some day; it's just a search problem.
    • Two computers playing against each other will be interesting. FALSE
      Again, think of it in an AI perspective. On average, the winner will be the computer that examines the most search space and implements the best tricks to guess what lies beyond the examined search space. Once computers are powerful enough to examine the entire search space, all such computers will be equally matched.
    • There {is|is not} a perfect game of chess. UNNOWN
      We simply won't know for sure until the entire search space has been examined.
    --

    Washington, DC: It's like Hollywood for ugly people.

  45. Re:Solving Chess by greenrd · · Score: 1
    The search tree for chess has more nodes than there are atoms of the universe.

    That doesn't actually prove anything (although it is an important point to bear in mind). We already have minimax algorithms for pruning the tree (discarding whole branches at a stroke). If someone came up with better pruning algorithm, chess might become solvable.

  46. Re:how to determine the perfect game of chess by greenrd · · Score: 1
    That can't be true of chess. How can every possible first move be disadvantageous? Relative to what?

  47. Re:Perfect Game by greenrd · · Score: 1
    The best strategy and the best set of moves to make in any situation, are functionally identical.

  48. Re:Solving Chess by greenrd · · Score: 1
    Aha, but any proofs about provability are contingent on a standard of what counts as a valid proof, which may be subject to change in future. See David Deutsch, "The Fabric of Reality".

  49. Some clarifications by an_to_nio · · Score: 1
    • It is a not-so-hard result of combinatorial game theory that any deterministic game with perfect information (such as Chess) has a winning strategy for one of the two players. A great place to learn some about this is Guy and Berlekamp's "Winning Ways" book.
    • Some posters have claimed that in order for a computer to play a perfect game of chess, it would have to search potentially all of the game tree, or at best a still exponentially large portion of it. However, while this is plausible, we do not know this to be true. There are examples of combinatorial games that can be played perfectly with very limited knowledge. For instance, I believe that the category of combinatorial games called "impartial games" (epitomized by the game of Nym) has an easily computable perfect strategy for each of its members. See the same book for more details.
    • Hence, the interesting question is not whether a perfect strategy exists (it does), but whether we can attain it with reasonable computational effort. Since Chess is after all has a finite (though humongous) set of potential positions, traditional computational complexity theory doesn't have much to say about it, since it only deals with problems whose input (in this case, pieces on a board) have a size that can vary. However, some generalizations of chess to NxN boards have been proven to be NP-complete (i.e., probably very hard). Unfortunately, I don't have a reference to this handy.
    1. Re:Some clarifications by an_to_nio · · Score: 1
      I found a reference for NxN chess hardness:
      A. S. Fraenkel and D. Lichtenstein, Computing a perfect strategy for n*n chess requires time exponential in n, Proc. 8th Int. Coll. Automata, Languages, and Programming, Springer LNCS 115 (1981) 278-293 and J. Comb. Th. A 31 (1981) 199-214.
      Apparently it's actually EXPTIME-complete, which means (roughly) that being able to solve NxN chess efficiently would automatically yield a way to solve any problem requiring exponential time efficiently.
  50. Re:In memory by Zorikin · · Score: 1

    If you had read the earlier posts, you would know that certain sections of the tree can be discarded. Specifically, those sections that lead to an unfavorable outcome. The set of winning games is smaller than the set of possible games.

    The point isn't to construct the whole tree, but rather the solution as expressed by the tree. If part of the tree doesn't express a part of the solution, why do you need it?

  51. Re:Solving Chess by Zorikin · · Score: 1

    > The search tree for chess has more nodes than there are atoms of the universe.

    Then maybe it's not appropriate to use a tree. Why not use a graph? Each node could represent one unique layout for the board - with a graph, there would be no need for this kind of redundancy.

    So, uh, anyone know how many ways you can put chess pieces on a chess board?

  52. Re:Solving Chess by Zorikin · · Score: 1

    > There's more to a board position in chess than the layout of the pieces.

    I have to agree, but if I'm not mistaken a second time, the extra information you're referring to should be storable separately from the graph, and would be at most some constant amount. We can count to 50 with just one byte, for example. Only the graph risks becoming very large.

    This approach wouldn't reduce the number of traversals needed, of course, so time would be just as much a factor.

  53. Re:how to determine the perfect game of chess by interiot · · Score: 1
    The wise response to this is: "Then the best move is to refuse to play the game." :)

    So I guess a perfect player could always draw, but not strictly in the context of a zero sum two player game.
    --

  54. Re:how to determine the perfect game of chess by interiot · · Score: 1
    It doesn't even necessarily have to be disadvantageous... if all of the first moves provided no advantage, then it could be the case that chess could be a win for black given perfect playing.

    Here's an example of a twisted chess game such that all first moves are disadvantageous... The board is 5 squares wide and 1 square high:

    • WK WQ BQ BQ BK
    Where WK is a white king and BQ is a black queen. Granted, normal chess doesn't seem to be like this, and it might be possible to prove that it's not. So I was wondering if such a proof exists.

    Relative to what? Well, if you assume that white and black both can forsee all moves and will choose the best possible move... then a disadvantageous move would be a move that would result in a loss, where maybe abstaining from a move would result in not a loss.
    --

  55. Re:how to determine the perfect game of chess by interiot · · Score: 1
    Wouldn't it be easier just to calculate it?

    If Shakespeare's works are n characters long in total, then it would take 38^n tries to get it right ( /[A-Z0-9. ]{n)/ ).

    If it takes t seconds on average to type out n characters, then it will take t * 38^n seconds (or, slightly past the end of the universe) to type out Shakespeare's works.

    Given m monkeys, that's t * 38^n / m seconds. If m == infinity, then the entire works will be typed out instantaneously.

    Does anybody have a good bulk rate on monkeys?
    --

  56. Re:how to determine the perfect game of chess by interiot · · Score: 1
    Screw the monkeys, but the concept is pretty good. Randomly playing chess moves, when a computer sees that a certain move is good, take a note of it.

    At each board position, there are probably more possible random moves than there are legal moves, and it's probably easier to generate a list of legal moves than it is to generate a random list of moves and then check each for legality.


    Or, more likely, set a network of computers to all play against each other. Use some AI to have them "learn", and realise what they did wrong in the past, and what they should do better in the future.

    That's a greedy algorithm though. It's possible that you'll miss an important subtree doing that. Don't you have to try every possible way of doing it?


    Given enough time, either all games should end in stalemate, or white would win all games.

    Is it theoretically possible that black to win them all as well? For every move that white could pick, there exists a black move, such that if black plays intelligently from there on out, black will win? (or \forall white_1 \exists black_1 \forall white_2 \exists black_2 black-will-win, or...)
    --

  57. Re:Chess has full information by interiot · · Score: 1

    Hrm. I could be wrong, but... this page, titled "Zero-Sum Two Person Games of Perfect Information" starts off by saying "The almost perfect example of this type of games is chess."
    --

  58. Re:how to determine the perfect game of chess by interiot · · Score: 1
    And, no, it's not possible for black to win a perfect game (both sides play perfect, that is). White goes frst, therefore has an advantage, the best black can hope for is stalemate.

    Well, within the context of perfect knowledge zero sum games, it's possible for the 2nd player to always win given a perfect strategy... the game may be such that all first moves either give no strategic advantage, or they're actually disadvantageous.

    I believe the Game of Nim is one such game?

    So my question was... is it possible for chess to be such a game?
    --

  59. Re:how to determine the perfect game of chess by interiot · · Score: 1

    If every possible move is disadvantageous, then the game is at fault, not the player, so yes, it would be a perfect move.
    --

  60. chess is not that hard, Go is by Oniros · · Score: 1

    Chess is not a hard problem computation wise, it's long.
    But for example, checking the victory condition is easy (can the king move).

    Now, take the game of Go... it's much harder to figure out the victory condition. There are currently no computer Go program that play very very well (I think the best if first dan?)

    Now, that would be an interesting problem to tackled down :)

    1. Re:chess is not that hard, Go is by bridges · · Score: 1

      Oops, Handtalk is Japanese 3k, (which is roughtly American 4k/5k), and Janice Kim only gave it 25 stones and beat it, not 35. That'll teach me to double-check before I post. :(

    2. Re:chess is not that hard, Go is by Old+Wolf · · Score: 2

      But for example, checking the victory condition is easy (can the king move).
      In fact there is more to it than that:

      Can the king move?
      Is the king in check?
      Can the checking piece be captured?
      Can a piece be interposed to block the check?

      none of which are trivial, apart from perhaps the second.

      Now, take the game of Go... it's much harder to figure out the victory condition
      Not only is it difficult to spot that the game is over, it is diffuclt to see who won.
      However, human players quickly build up an intuition for what style of position is a win, and they do not need to play onto the end. This intuition is extremely difficult to implement in a computer. (beyond current techniques?)

    3. Re:chess is not that hard, Go is by bridges · · Score: 3
      Now, take the game of Go... it's much harder to figure out the victory condition. There are currently no computer Go program that play very very well (I think the best if first dan?)

      Not even that good. Handtalk, one of the best programs, has a 5 kyu Japanese diploma, but most people agree that it is not even that good. For reference, I'm a American 5 kyu, and have only been playing 2 years. A pro player, the equivalent of a chess grandmaster, would probably give me between 9 and 13 free moves at the start of the game to make it reasonably even.

      In a public demonstration, Janice Kim (one of the few western-born pros, and far from one of the top pros) gave Handtalk a handicap of 35(!) free moves at the start of the game, and then beat it. The current best program, Go4++, is perhaps two or three stones (free moves) stronger than Handtalk, but that's still a *long* way from the chess equivalent of grandmaster.

      Now, I'm not saying that Go is a "better" game, but computationally, Go is a whole different scope of problem than Chess.

      For more information on Go, email me or check out the home page of the American Go Association.

      Patrick Bridges

  61. Re:Checkers == Draughts? by Phallus · · Score: 1

    Yes, checkers is draughts. I think that this is an American vs. British naming thing.

    tangent - art and creation are a higher purpose

  62. Re:Perfect Game by Old+Wolf · · Score: 1

    Strategy has nothing to do with this "perfect computational game". It is merely a matter of finding moves which always win.

    In practice, one player often has a better strategy, but still loses due to a tactic (ie. clever move, perhaps against the run of play) which the other player finds.

  63. Re:Chess is inherently solvable by jhdevos · · Score: 1

    Your claim is that the chess-game tree is not finite. I think that it is, and here's my reasoning:

    There are certain rules in the game that ensure that after a fixed number of moves, something has to be substantially differrent. Since there are only finitelly many states (configurations of the chessboard), there are only finitelly many substantially different states.

    If you have the entire tree, you cansolve the game.

    Jan

  64. Chess is inherently solvable by jhdevos · · Score: 1

    Because it is finite.

    You can use very standard game-theoretic strategies to 'solve' the game of chess, by simply assigning a value to all the nodes of the game-tree (valid states of the game), beginning at the end-states and working your way up. The value of a node decides which player (if any) has a winning strategy. So, all you need to know to play a 'perfect' game of chess, is the entire game tree.

    This is obviously not possible, but all contemporary chess-playing programs are an approximation of this -- using statistical data, you can predict the value of a node (using both simple rules such as 'a situation where you still have your Queen is usually better than a situation where you don't', and more complex rules such as 'a situation where the chance that in 10 moves you will lose your Queen is greater, is usually not good'). So instead of knowing the value of a node we predict it using simple statistics. This will obviously never result in a program that really 'solves' chess, but will result in programs that are much better than 'mere' humans...

    Jan

    1. Re:Chess is inherently solvable by chompz · · Score: 1
      Proof of chess being solvable because it is finite would be interesting. I think it is unsolvable, and here is the reasoning. If you were to play chess with me there is a posibility that the game would be able to go on indefinately.

      This variable length factor to the game makes solving it much more difficult. If it were setup so that there would be a limit of 20 moves and at the end the winner is declared by some set rule of scoring, then it would probally be a solvable game, but because we can take an unbounded number of moves, I do not believe this to be possible, or at least not a trivial enough task to be solvable by a computer.

      Brute force crack an encryption scheme with undefined key length, you might get lucky, but there are enough possibilities that you couldn't get a method to crack it everytime.

      --
      Spring is here. Don't believe me, look outside!
  65. Re:1dan-9dan (professional) by shadow0_0 · · Score: 1

    yeah, as far as i know, there are ppl like this in China and Japan and Taiwan

  66. Re:how to determine the perfect game of chess by Repton · · Score: 1

    If we had an enumeration of strings in English, each Monkey i could type out works (i-1)*1000+1 through i*1000.

    Still an infinite number of monkeys, but they each have to type out 1000 works, instead of 1...

    (although I'm not sure how we swing it if they're typing randomly...)
    --
    Repton.

    --
    Repton.
    They say that only an experienced wizard can do the tengu shuffle.
  67. Re:Solving Chess by Felix+Rodriguez · · Score: 1

    Checkers has not been solved.

    Supposedly, C. Scientists predict checkers will be solved sometime this decade.

    Chess, however, is unsolvable. The search tree for chess has more nodes than there are atoms of the universe. Good Luck!

    Felix

    --
    ------ Warning! You are too close!
  68. Re:Some numbers..... by Dust+Puppy · · Score: 1

    For what is being suggested we calculate, we wouldn't need nearly that number of operations. In fact, all we need to know is a very small of information (whether the game is a win for white, a win for black, or a draw) at each of the 2e43 positions. Once we've backtracked far enough to find that information for the initial position, we have solved the game (i.e. we know whether, given perfect play by both players, who would win).

    If we wanted to keep the entire tree in memory, as we would need to do to make a machine which could play chess perfectly without doing the entire calculation at each move, that would be rather impractical.

  69. Re:how to determine the perfect game of chess by Cuthalion · · Score: 1

    The brunching shuttlecocks has a page about this topic. Very funny stuff.

    --
    Trees can't go dancing
    So do them a big favor
    Pretend dancing stinks!
  70. Re:o/~ can't get there from here o/~ by rent · · Score: 1

    There exists some optimized algorithms that make it easier.
    For example, you could do a depth first search, so that you dont have to keep every node in memory - only keep the nodes that you expanded.
    And you can use Alpha-Beta Pruning to reduce the number of nodes you exapand.

    You can also search in parallel. Ofcorse there are problems when parallelism is introduced..

  71. Checkers has been solved, chess is interesting by Peter+Eckersley · · Score: 1
    In conclusion, while chess and checkers have not been solved, it is my opinion that computers are already better then any human being. (can be argued against for Kasparov vs Deep Blue but we will leave that aside) The point of my discussion? Forget about pumping more man hours into chess and reach for the pinnacle of AI research, Go!!!

    Actually, IIRC, checkers has been solved completely. Even though it at first seems that the search space will be mind boggling (like chess), the fact that all the pieces in checkers are the same makes it tractable.

    As for chess, there are numerous posts above which indicate how vast the number of possible chess games are, and it is very unlikely that they will all be explored.

    What might be imaginable, though, is for computers to identify patterns which allow this space to be pruned enough to make it traversable.

    This /. story makes a mistake in calling for Beowulfs or distributed.net projects - these only work if your problem is not exponentially vast in the way chess is. Instead, it would be more interesting to have a really clever computer program (running on a more modest system, perhaps) which was smart enough to identify the right patterns in the system...

    1. Re:Checkers has been solved, chess is interesting by chriscrick · · Score: 1
      I've never come across the solution to checkers, but I'm interested in reading about it. Does anyone have any links? And which player wins a perfect game of checkers?

      Chris

  72. Re:Computer Vision - the real problem. by epine · · Score: 1


    The average dog distinguishes between a leg and a tree with his eyes closed and probably thinks a peg is closer to a tree than a leg.

  73. Re:Some numbers..... by epine · · Score: 1

    I'm not convinced. Suppose the game is white-to-win. Then what we need is a single "killer response" to each position black is able to reach. We already have one useful degree of freedom: we can select the set of killer responses based on some heuristic for minimizing the total number of positions which black can force us into (based on fore knowledge of our own responses). The first approximation for white is to select, whenever possible, moves which reduce the board "complexity" (number of pieces remaining, pawn advancement, legal castles, etc.) and responses which "force" a known response from black.

    It's not at all an easy matter to estimate how much white, playing from within a set of unlosable moves, can curtail black's daliances.

    Most likely we only need to store responses for the portion of this space where black plays a sensible defense. Any positions where Deep Blue can compute mate for white in under two minutes will not need to be stored in the kill database. Attempts by black to explode the size of the kill tree by playing "scambled eggs" are likely to soon lead us to a position where we can fall back to a computation in real time.

    And finally, the most important asset is that we aren't tying to compute winning moves. We merely need to find a killer response which lies within the curtailed space which white's kill strategy permits the game to reach.

    For example, we might examine this space and discover that white can always force victory without certain pawn structures ever being attained. All positions containing these excluded pawn structures are excluded, as are all positions allowing black to reach such an excluded position.

    A recursive mini-max heuristic to "guess" the killer response can be devised on this principle trading off between space and speed. A recursive search returns an ordered list of moves for white ranking according to the probability that the move is the desired killer move. Bear in mind that this heuristic is equivalent to the heuristic which Deep Blue uses to play chess exceptionally well already, but with the benefit of a vastly more powerful set of pruning rules.

    This computational heuristic could conceivably produce on computational terms the desired killer move in 99.99% of all positions we might need to evaluate, and 95% of all positions which might regard as constituting a "spirited defense". In one out of twenty positions our killer response database might need to store an override suggesting that the second (or third) ranked estimate be used in favor of the top ranked default.

    The storage requirements would then be a small fraction of a bit for each position reachable within a space which is vastly constrained relative to the open game of chess. Computing the killer perimeter in the first place is vastly more difficult than contriving to make perfect moves from within this space accessible in real time.

    I can't resist the urge to stick a pin in some sloppy thinking which permeates this chess thread.

    Suppose we invent a new game called Chess' (chess prime). In this game white either opens with a valid move according to the rules of Chess, or white simply announces "checkmate" and wins instantly. Chess' has the same size position tree as Chess but I think we can all agree that Chess' is a bit easier to solve. Some people are way too size-centric in their approach to life.

  74. Re:how to determine the perfect game of chess by JM_the_Great · · Score: 1

    Screw the monkeys, but the concept is pretty good. Randomly playing chess moves, when a computer sees that a certain move is good, take a note of it.

    Or, more likely, set a network of computers to all play against each other. Use some AI to have them "learn", and realise what they did wrong in the past, and what they should do better in the future. Given enough time, either all games should end in stalemate, or white would win all games.


    Grades, Social Life, Sleep....Pick Two.

    --

    --Justin Mitchell
    "2nd Place is a fancy word for losing" --Bender (Futurama)
  75. Re:how to determine the perfect game of chess by JM_the_Great · · Score: 1

    Well, yeah, random legal moves....

    It would, unless it finally played enough games for another computer (or human, for that matter) would figure out a way to beat that, if not by any other way, by randomly guessing. And, yes, that could mean possible trying every way to do it...

    And, no, it's not possible for black to win a perfect game (both sides play perfect, that is). White goes frst, therefore has an advantage, the best black can hope for is stalemate.


    Grades, Social Life, Sleep....Pick Two.

    --

    --Justin Mitchell
    "2nd Place is a fancy word for losing" --Bender (Futurama)
  76. Re:how to determine the perfect game of chess by JM_the_Great · · Score: 1

    If a first move was disadvantageous could it be a perfect move?

    Grades, Social Life, Sleep....Pick Two.

    --

    --Justin Mitchell
    "2nd Place is a fancy word for losing" --Bender (Futurama)
  77. Re:how to determine the perfect game of chess by Stonehand · · Score: 1

    It's theoretically possible.

    Consider that there are a finite set of states in chess, based on the position of the pieces and whose move it is, whether or not a given King has moved, and how many moves there were since the last capture or Pawn move.

    Then, there are a finite number of possible moves per state. Ergo, there are a finite number of possible policies -- each being an assignment of moves to states. Assignments may be partial because with most possible policies, many states will be completely unreachable and thus irrelevant. For instance, if a policy insists on sacrificing the Queen within the first 8 ply, then no states involving that Queen need be considered afterwards.

    An optimal minimax policy is one such that versus an optimal opponent, your outcome is the best possible. For instance, in 3x3 Tic-Tac-Toe, any play but the center will allow an optimal opponent to force a win, IIRC. The value of a center play is "draw", simply because against an optimal opponent that is what will happen. That the opponent could hand you a win via a suboptimal policy is irrelevant to minimax.

    It is theoretically possible that there is an optimal policy for Black such that no matter what White plays for the first move, that Black can force a victory. This seems unlikely, but possible until it has been mathematically evaluated.

    See 3x3 Hexapawn for a simple game in which the first player is guaranteed a defeat against an optimal player.

    --
    Only the dead have seen the end of war.
  78. Re:I don't understand the question. by Stonehand · · Score: 1

    Don't forget the 40-move rule. 40 moves without a pawn move or a capture == draw.

    Plus, the time limits...

    --
    Only the dead have seen the end of war.
  79. Re:Oh boy.. here we go! by Stonehand · · Score: 1

    You'd have to memorize an entire policy -- basically, a move for every reachable state -- not just a set of moves. I doubt any chap could pull that off....

    --
    Only the dead have seen the end of war.
  80. Damn wet blanket... by Smthng · · Score: 1


    always someone to rain on your hopes, dreams and aspirations.

    Now I have to revert to my previous career track of truck driver.

    bah.

  81. Re:Perfect Game by snakeyes · · Score: 1

    What I got out of the article, is that they wanted to see if one player always has an advantage over another. Take the classic AI example of last one loses. Two players start w/ a stack of 7 toothpicks/chips/doritoes. During each person's turn, they have the ability to take one, two, or three items. It can be proven by expanding the game tree (96 nodes from the simple scenario) and doing and/or calculations on that tree, that the player who goes first can always win, provided that they make the proper moves. If this is the case w/ Chess, then the size of the game-tree is going to be mind-boggling huge, and would require the resources of several Beowolf clusters, for several months/years (I forget the computational power of a single cluster. Rough approximation :)

  82. Re:how large is the chess tree? infinite! by Mr_chaput · · Score: 1

    You can't move back and forth infinitely because there is the repetition rule. I you and your adversary go through certain number of moves without giving check or taking a piece then you have a draw.

  83. Re:Chess has already been conquered. Humans lose! by eggnet · · Score: 1

    Given the complexity of chess, and the heat death of the universe, there will be no such point.

    Except that you do not know the boundaries of what will be computable in the future. New discoveries in physics, or even mathematics, could change what is computable.

    Take quantum computing.

    Heck, we don't even understand how our own brains work.

  84. Re:Chess has already been conquered. Humans lose! by eggnet · · Score: 1

    Computers will be stronger simply because they calculate longer and accurate variations.

    Even games between the strongest chess programs are full of terrible positional and strategic mistakes, this will probably always the case.

    Computers will calculate longer variations until all possible winnable combinations have been computed. At that point, computers will have determined the game of chess.

  85. Re:Chess has already been conquered. Humans lose! by eggnet · · Score: 1

    Without looking at every possible move (intelligently, yes... for instance, if the move ends in checkmate, or infinite loops, stop), you can't prove that a given move is the best.

    A computer will provably win if it looks at all possible moves (or at least provably do the best in the current situation).

  86. I don't think this should be determined by ForceOfWill · · Score: 1

    because if there is a perfect game of chess, all someone has to do is memorize it and the game is theirs. It makes for a much less interesting game. It's probably a very complex thing to memorize, though, because the other player has the freedom to move where he wants, so there would have to be several branches at each move.

    But then again, I disagree with people who get books of chess moves and strategies, memorize them, and play them. It takes all the fun out of having to figure out what the best move is each turn. To me, chess is a game of skill, not memorization.

    But I have no control over these people, so they can read all the books they want and maybe even try to discover a perfect game.

    --

    --
    Seeing is believing; You wouldn't have seen it if you didn't believe it.
    1. Re:I don't think this should be determined by Skuto · · Score: 1

      Not at all. Solving chess means that we know whether the first players wins, draws or loses by perfect play.

      The 'solution' would be a number, and a series of moves that establishes that result. (there may be several solutions, but only one would be needed)

      Knowing the perfect move from every position is a practical problem that is not related to solving the game itself.

      --
      GCP

    2. Re:I don't think this should be determined by Foogle · · Score: 2
      Don't worry - there isn't a human alive who could memorize all the different branches of a chess game. The human mind is incapable of that sort of storage.

      -----------

      "You can't shake the Devil's hand and say you're only kidding."

    3. Re:I don't think this should be determined by PurpleBob · · Score: 2

      You seem to be mistaken about what solving chess means. The "solution" to chess would be a HUGE tree. Not just one perfect game, but a tree telling you the best move to make in any situation. That's why chess is so hard to solve.
      --
      No more e-mail address game - see my user info. Time for revenge.

      --
      Win dain a lotica, en vai tu ri silota
  87. Re:The problem is *storage* by cybaea · · Score: 1
    True, but not necessarily all the states. I belive all you need to keep are the current champions for the least number of moves to a victory for White, for Black, and for neither. As soon as a new candidate passes the largest of these three numbers, the game can be abandoned.

    You are spot-on, Sunday-paper thinking or not.

    Think about doing a complete search. The first game you run through White wins (say). Back up one move and analyse all the responses Black could have made. If just one of them leads to Black winning, you can back up one node in the tree without need to store the positions along the White win branch.

    You still need to store quite a bit, though. The point is, I guess, that we don't know how much, so we don't know if it is theoretically possible.

    Still, there might be other proofs, that do not requite a complete search. That would be neat.

    --
    Hi!
  88. Chess _is_ solvable by PraveenS · · Score: 1

    Chess is what is known as a "perfect information" game; that is, all the necessary information to the solve the game is known, since there are no other events except standard moves and no introduction of new pieces or "information." Therefore, chess is certainly a solvable game, although solving it with brute force is not currently practical.

  89. o/~ can't get there from here o/~ by Money__ · · Score: 1
    Re: "Now just give us a good reason why you should have to keep the whole tree in memory at once."

    Because it's all about the tree. Like a hiker leaving his mark on a tree to find his way back, If you delete the tree from state as you drill down, you'll find you're answer, but won't have the path to return.

    Even if you move parts of the tree off to disk or other media, you still need it in state. How big? 100. 35 ^ 100. I believe that what the original poster was trying to say is that solving chess "doesn't scale well".
    ___

    1. Re:o/~ can't get there from here o/~ by Sumocide · · Score: 1
      Because it's all about the tree. Like a hiker leaving his mark on a tree to find his way back, If you delete the tree from state as you drill down, you'll find you're answer, but won't have the path to return.

      Uh huh, if I walk down a tree the path I need to keep book of is 100 moves. Not exactly the universe.

      The trick is not to generate the tree and then walk it but to generate while you walk and forgetting parts when possible.Once you walked down a dead branch you can go back and abandon it. And in chess there are a lot of dead branches because only few moves will not lead to terrible losses in any given situation.

      Else a chess program would need two terabytes of memory to think just 8 moves ahead. (35^8 = 2.251.875.390.625). And chess programs certainly don't need that.

      Checking 35^100 situations is not pretty. However the 'molecules in the universe' argument doesn't cut it. It's a time problem.

  90. Re:how large is the chess tree? by Money__ · · Score: 1
    As another poster stated "According to the Oxford Companion to Chess by David Hooper & Kenneth Whyld, the number of legal board positions is about 2 * 10E43."

    A tree of just 50 moves would have 10^120 nodes.
    ___

  91. Re:In memory by Money__ · · Score: 1
    Re:"Though, as someone pointed out upstream, there's no reason to keep every game in memory."

    Then where would you put it? In another hydrogen atom? If you have a section of the tree the program is not currently working on, it can be off-loaded, but can never be discarded.
    ___

  92. Re:Computer Vision - multiple sensors. by Money__ · · Score: 1
    I'm no biologist, but I would think part of the solution lies in having multiple, simultanious inputs. A dog, to use your example, can prolly smell the fire hydrant, and hear his masters voice, and feel his masters steps in order to tell the differance.

    Vision alone may be difficult, but I can't imagine a reason why you would want to create a vision only solution with so many examples in nature of a "multi-sensored aproach".

    In industry, for example, vision is used quite extensivly to do quality control and gather SPC numbers on the fly. These vision systems are employed using fixtures to hold the part steady (hands) and proximity sensors (feel) to tell when the part is infront of the camera, thus telling the camera when to "look". Without these compliments, vision alone would be almost useless.

    As in nature, the answer lies in a, dare I say it, a Beowulf cluster of sensors teaming up to compliment each other in order to find a solution.
    ___

  93. Computer Vision - the real problem. by fundflow · · Score: 1

    For many years chess was thought of as the ultimate problem to check for artificial intelegence. Recent events (such as Kasparov's loss to a machine) showed that this problem is doable.

    The biggest problem now lies in the field of computer vision.

    Consider this example: Even a dumb dog can know the difference between a leg and a tree. How many people can write a computer program that can distinguish between the two?

    It might surprise you, if you are a programmer, but try to do it. Grab few pictures from the internet (or from you webcam) and think how would you solve this. No computer-science major/geek/whatever knows how to solve this in a reasonable way.

    While chess has defined rules and possibilities, a picture can have any value - and it's not clear how we humans interpret this information.

    Another example is optical character recognition (OCR). In order to understand hand-written script what did people do? Here is a hint: think palm-pilot. Yes... since it's too hard, the solution was to "train the monkey". That is, you, the user have to type one character at a time, and not regular characters but special characters.

    Most of these problems have no known solution yet. It is not a problem that can be solved with huge computers.

    Did you wonder why we don't have fully automated appliances like in Futurama?

    For examples of some neat things that can be done, check this page.

    1. Re:Computer Vision - the real problem. by yerricde · · Score: 1

      In order to understand hand-written script what did people do? Here is a hint: think palm-pilot. Yes... since it's too hard, the solution was to "train the monkey". That is, you, the user have to type one character at a time, and not regular characters but special characters.

      Have you ever used a Newton device? Before Apple threw out its entire product line to make room for the G3 and iMac computers, Apple MessagePad 2000 had excellent handwriting recognition.

      And Apple's just sitting on it! Waaaaaah!

      --
      Will I retire or break 10K?
  94. Re:how to determine the perfect game of chess by joepeg · · Score: 1
    how would you go about calculating the probability of a monkey typing a single work of Shakespeare without err in one sitting?

    n = num of characters including spaces in work
    k = number of keys on given typewriter

    k^n would give you the number of possible combinations (if you think of the work as one ungodly long password), but how would you factor in the functionality of the monkey[s]?

    --

    ZEN is a prime number in base-36

  95. Re:Snakeyes=Dan Quayle? by cheese_wallet · · Score: 1

    Two players start w/ a stack of 7 toothpicks/chips/doritoes.

    btw, I thought your comment was interesting, and I am just having a little fun.

    --Scott

  96. Oh boy.. here we go! by Lonesmurf · · Score: 1

    Maybe it's just me (it usually is), but can someone please explain to me what the purpose of finding the perfect game would be?

    I don't know about you people, but I spent many, many afternoons of my childhood with my dad playing chess. I can't imagine anyone wanting to play chess anymore if all you had to do to win was memorize a long set of moves.

    BORING.

    Imagine:

    Man: "Oh good move."
    Boy: "I know. You too, that was a good move."
    Man: "Do you really want to finish playing this game, boy?"
    Boy: "I guess not. It will be the EXACT SAME GAME the next time that we play, right?"
    Man: "Right. Wanna play Risk?"
    Boy: "Sure."

    So basically solving chess would kill the game. Personally I would rather not know.

    Rami James
    Pixel Pusher
    ALST R&D Center, IL
    --

  97. Re:The problem is *storage* by Redundant() · · Score: 1

    I imagine they will start out testing some of the better known defensive openings. Even if they don't find a perfect game, we might get some hard number weightings for the strength of a few openings.

  98. Re:I don't understand the question. by ChrisUK · · Score: 1

    Actually you could have used < and > with surprising ease.

    Chris.
    chris@printf.net

  99. Re:Chess has already been conquered. Humans lose! by cheezus · · Score: 1
    I think that 2 computers playing each other would get closer to the "perfect" game than we humans ever will.

    what sort of algorithms are these machines going to use to reach this perfect game? sure, its nice to be able to compute the next 4 trillion possible moves, but i think once we get the computers playing eachother a genetic learning alorithm could be developed in order to find out what the perfect game is. by recognizing an patern, the computer could then eliminate many possible moves (with an exponential amount of following moves) from the ones it has to calculate.

    ---

    --
    /bin/fortune | slashdotsig.sh
  100. Perfect game? by gUmbi · · Score: 1

    In order to create a system to play to perfect game of chess, we need to first define the goal. We should certainly go beyond the standard primary objective of capturing the king since this seems to be a little vague as a goal for a 'perfect game'. So what should be the secondary and tertiary objectives?

    Is it a win in the fewest moves? [how boring]
    The fewest number of pieces lost?
    The most opposition pieces captured?
    Prolific and creative use of established chess strategies? [this would certainly give chess color-commentators something to talk about]
    The most entertaining to watch?
    The most elegant? [certainly the most challenging]

    Maybe it would be helpful to first define the 'worst game'. I think the 'worst game' is not the game played by someone with a death-wish but the game played by someone with no knowledge of chess. In this way, the worst game consists of entirely random moves. The opposite of random is ordered and therefore the perfect game should aspire towards order.

    That said, I'm not sure if an ordered game could be quantitatively measured - how would a win in fewer moves be considered any more ordered than a win in a longer game? Elegance and proper observance of the history of the game fall into the category of 'ordered' more readily but are much more subjective and harder to code.

    Mmm, sunday for coffee and slashdot.

    Jason.

    1. Re:Perfect Game? by Foogle · · Score: 2
      Tic Tac Toe? You can't win a basic game of tic tac toe against anyone smarter than a 7 year old. The best you can hope for is a draw. Now, some of those 3D tic-tac-toe boards are another story... they're keen.

      -----------

      "You can't shake the Devil's hand and say you're only kidding."

  101. When all things aren't considered by PsiPsiStar · · Score: 1

    Don't discount the amount of money that the video games industry is able to contribute to a problem. Their contributions towards 3d imaging were very helpful. I'm sure they'll play at least a supporting role in the development of pattern matching/recognition programs. After all, while chess is very complex ( I was undefeated in regional competition during H.S. ) it's important that computers be able to function in an environment where it isn't possible to calculate all possible moves. It's a different kind of thinking, and a type of thinking which is very important if a program is ever going to learn to interact with the real world.
    ________________________________________________ ____________

    --

    ___
    It's the end of my comment as I know it and I feel fine.
  102. Re: Humans have not been beaten at Chess! by peteshaw · · Score: 1

    God I hate it when people say this!

    Gary Kasparov lost a 6 game series under strict conditions that are not comparable to tournament play. In this one match, under these specific conditions, Deep Blue manage to best Kasparov. But a rematch, or any furthur games, were refused, and here is why.

    Computers tend to play predictable styles; it is the nature of programming an AI into a game. Human's, being adaptive, can change their own play to take advantage of this. This is why the match was so short, and this is why there has never been a rematch.

    Until a computer can beat grandmasters consistently, at tournament style conditions, it ain't fair to say computers are better at chess than humans. Now, it is certainly fair to say that computers are better than 99.9% of humans, and that 99.9% of all chess playing computers are better than me!

    But to 'solve' chess you would need to construct a tree of a forced game from start to end, accounting for all possible moves by your opponent. The problem is that even now I don't think computers can go farther than 10-12 ply (1 players move) even with huge amounts of power and time. You'd probably need 45 ply or more top solve chess, so who knows, maybe? I'll leave that question to those more knowledgable.

    Cheers
    --Pete

    He felt himself break into two halves, one part warm and one part cold, one part hard and one part soft, one part trembling and one part not trembling, each half grinding against the other.
    --Ray Bradbury

    --
    www.avacal.com -- the home page of pete shaw
  103. Re:how to determine the perfect game of chess by kcarnold · · Score: 1
    Nah, add a skill factor. Kill the moneys that lose. Of course you will have to start with more monkeys, but the problem of food will be less after a few iterations. Not to mention you'll have to dissect the last monkey's brain to retrieve its skill program. Then there is the problem of what to do with a hundred thousand dead monkeys.

    Okay, so maybe the networked computers would work better in this case. But to add back in the risk factor, "kill" the nodes that lose, but clone the winning algorithm onto that computer. That would improve much faster, because the computing power would still be fully intact, but each computer would not need to independantly discover the winning algorithm. It would be like a Beowulf cluster, but competitive. Hey, lets apply this to other parallel-processing projects! Maybe if d.net did this, not only would they successfully factor the key, but they would come up with an algorithm that could do this in a short amount of time! Cool, huh?

  104. Re:how to determine the perfect game of chess by kcarnold · · Score: 1
    > Or, more likely, set a network of computers to all play against each other. Use some AI to have them "learn", and realise what they did wrong in the past, and what they should do better in the future. Given enough time, either all games should end in stalemate, or white would win all games.

    I actually did something similar once, but with Connect Four, and the two opponents on the same computer. I had written out a Scheme program to play Connect Four and embodied a computer player in a stand-alone object (for more information, see The Schemer's Guide). They used a backtracking evaluation system and a database of knowledge about which moves to make given a certain situation. It was, of course, a simple matter to have them play a good number of games against each other. Then I (or an innocent bystander) would play the one that had won the most games.

    The problem was, of couse, the computing power necessary to accumulate enough knowledge to be able to play a perfect game. The first problem was that my objects were written in an interpreted langauge and I had not compiled them. The second problem was the processor I was running them on -- my dad's 166 mHz laptop. Third, my algorithm was sub-optimal -- for one, I didn't check if the currect game position flipped was already in the knowledge base. But even counting these restructions, solving even a 4x4 board takes a lot of time. And Connect Four is an extremely simple game in comparison to chess -- there are at maximum the same number of moves as there are rows, and often less because rows are full or the player can easily find whether or not that move will cause the other player to win next turn. So imagine scaling this to chess. They might find a perfect algorithm the same time they find the last digit of pi. (Do you suppose that it's possible that pi, while never repeating, falls into some predictable pattern after a heck of a lot of digits? Sound like a parallel computing project?)

  105. Re:Computers aren't better at chess by jareds · · Score: 1

    It kind of pisses me of when people say that computers are better than humans at chess. Computers aren't better, they are different.

    It kind of pisses me off when people say that cars are faster than humans. Cars aren't faster, they are different.

    Good human players don't follow every path down, and they only look a few tuns deep into any path. They recognize similar board patterns to games in their knowledge and experience and extapolate likely outcomes from the similar positions.

    Until we can program a computers to win at chess that doen't use this "brute force" method of finding the best move, I can't be truly impressed with the computer's ability. Right now they have just made computers fast enough to think far enough ahead to approximate recognizing patterns in the pieces.

    Why should I be impressed that humans (including myself) can't coherently explain how we figure out what move to make?

  106. Re:I don't understand the question. by jareds · · Score: 1

    The major stumbling block is defining what a "mistake" is. After all, there are numerous points in a game where one might make an unorthodox move. I believe these are called gambits. A computer might rate one of these gambits as a mistake, when in fact it is the key to winning the game. Some of these gambits might even involve sacrificing a piece, which a computer might rate as a "mistake."

    That's the whole point of solving the game. For chess to be considered solved, each branch would have to be examined all the way to the end of the game (or mathematically proved to be equivalent to a branch that had already been solved), no matter how stupid the move might look.

  107. Re:Take the best player in the world and . . by Ravagin · · Score: 1

    No, because the "best player in the world" is not necessarily the best human player there will ever be.
    ===
    -J

    --

    Karma: T-rexcellent.

  108. Methinks... by Ravagin · · Score: 1

    ...that as someone has already pointed out, you need both sides making the best moves possible to test your "perfect game." But if both sides are run by the same program, won't they stalemate each other? Or something?
    ===
    -J

    --

    Karma: T-rexcellent.

  109. Intractable by Tom7 · · Score: 1


    Chess is an intractable problem, and this is well known. We can make progress in solving endgames, opening books, powerful chess computers, etc. but the game can't be solved, guys.

    There are already more possible board positions than there are electrons in the universe after 10 moves. Without quantum computers, searching for (not to mention storing) this "perfect game" tree is just not possible.

  110. Be original by Commienst · · Score: 1

    Why is it every time a story is posted on slashdot everyone has to chime in lets get a Beowulf Cluster of these things running, or lets run linux on it?

    --

    I am into the copy and paste.
  111. Re:/. has trolls. Get used to it. by Commienst · · Score: 1

    Well being a troll does not mean you have to stop being original.

    --

    I am into the copy and paste.
  112. "Solved" games by kreyg · · Score: 1
    You can find some good information on the "solving" of checkers at the Chinook site - "Chinook is the World Man-Machine Champion, the first computer program to win a human world championship. This feat is recognized by the Guinness Book of World Records." I heard this guy (Dr. Jonathan Schaeffer of the Department of Computing Science at the University of Alberta, Edmonton, Alberta, Canada) talk last year, and it was really interesting - much of it was about the human side of the story, and how it affected one of the greatest checkers players ever to be defeated by a computer. A lot of it was the technical side though, and the large network of computers used to grind through the moves.

    Chess is somewhat more complicated, but a similar "solution" is possible - the main theory is that you determine "book moves" for start AND end positions, and put some AI in the middle that tries to get you from your current board state to a state where you already know you can't lose (i.e. can force a win or draw).

    Easier said than done of course, but the main point to consider is that you don't need to calculate EVERY board position. Since the computer has half of the control over the direction the game takes, you can try to steer away from "obviously bad" situations as well.

    Yes, I make computer games for a living. :-)

    --
    sig fault
  113. Re:Perfect Game by ralmeida · · Score: 1

    There can be only a perfect game for black or white, not both. If there was both a perfect strategy for black and white, and both players new it, who would win? It would lead to a tie, so the strategies wouldn't be perfect.

    --

    --
    This space left intentionally blank.
  114. Re:Some Perfect endgames are known by snorb · · Score: 1
    Playing chess against a perfect algorithm must be weird. Suppose the optimal solution is a win for white, say: then the perfect player would make its first move and announce "mate in 58 moves" (say). You make your move, and he announces "mate in 54": ah, well, you didn't do as good as you could have, some move would have let you remain alive for 57 more moves. And so on, you could see your "time to live" go down and down as you make those moves. Really weird

    I don't know if you've ever heard of Zillions, it's this really cool generic board game playing program. You can basically write many different types games for it and it will play them, oftentimes very well. It has certain limitations in the sort of games it can play (mainly that it doesn't handle games like Go or Hex where the concept of a topologically connected group is important), but it can play many different types of Chess variants and Chess-type games, even incredibly complicated ones like Ultima.

    Anyway, playing against the program is exactly like that if you're playing a game that it plays really well. It usually can't search 50-something moves ahead, of course, but it's really strange to see it say "Win in 14!" when you thought you were winning. For certain simple games like Nim, you can see the exact move you made which caused you to lose, immediately after you make it.

  115. Some numerical perspective on Go by heikkile · · Score: 1
    It has been said that there are some 10^120 possible chess games, based on the branching factor and game length. The same sort of analysis for go gives 10^720 possible games. So, if you want to build a good go-player the way they built good chess-players - by throwing more hardware at it - you need 10^600 times as much. That is not likely to happen.

    This is why I like to consider go programming: If you can not do it with brute force, you need to do it intelligently. Or at least use some higher-level logic and reasoning. Just counting pieces won't get you anywhere, you need to evaluate forms and shapes, make long-term plans, and consider parts of the board separately, yet interconnected.

    Chess has been compared to a battle. Go is better compred to a war, where you can loose many small skirmishes while positioning your forces so that you can just sit back and let your opponent starve to death. Win without firing a single shot. (in go terms: enclose him, sacrifice a little to force him to live small, and the rest of the board is yours. ) (of course there are other, better, strategies)

    --

    In Murphy We Turst

  116. Re:Some numbers..... by Maurice · · Score: 1

    Isn't that called the Find-S algorithm?

  117. Re:Ridiculous Idea by Sumocide · · Score: 1

    No it's not. A path is the solution.

    You need to generate the tree to find it, but not all of it at once.

    Moderators smoke crack today.

  118. Re:Ridiculous Idea by Sumocide · · Score: 1

    Now just give us a good reason why you should have to keep the whole tree in memory at once.

  119. Re:Some numbers..... by kjeldar · · Score: 1
    ...All that is known is that the technique was perfected while still humanity still was confined to the cradle of the homeworld. The miraculous computers were used to solve problems once thought impossible, and the knowledge gained allowed us to spread throughout the galaxy, throughout the universe, and then throughout the multiverse.

    Then came the War, and the secret was lost; the mysterious Machines on the homeworld were the only ones to survive the War, and all attempts at understanding the theory behind their operation had been futile. Intensive study revealed they were still working on a problem. Unable to determine the nature of the machines' task, the Scientist-Priests abandoned the Project of Understanding was after seven millenia. The Project's only real discovery came in its third century, when it was found that the heiroglyph on the Machines represented an ancient animal called a 'penguin'.

    What are the Machines working on? The topic of discussion when young Scientist-Acolytes gathered often turned to the Machines, and speculation of their colossal task.

    Then, one day, deep in the heart of the Machine Cluster on the all-but-forgitten homeworld, a terminal winked to life. Its cryptic output would be the subject of another hundred lifetimes' analysis, as it consisted of hundreds of 8x8 grids populated by six seperate symbols...

    --

    J

  120. Re:One place to start... by kjeldar · · Score: 1

    What are you playing it on? A Z80? Come to think of it, a Z80 port of Linux would be a neat trick... "Screw TI-Basic, I use gcc on my calculator."

    --

    J

  121. Re:I always liked this idea... by kjeldar · · Score: 1
    "Pawn to king's knight four. Mate in seventy-two."

    Unless the guy's opponent has nerves of steel, that alone would freak him out enough for it to be a self-fulfilling prophecy.

    --

    J

  122. Re:Formatting? by Andrew+Cady · · Score: 1
    Yes, ">" "<" (and "&" to do the ampersand, FYI). See www.w3.org.

    However, if you preview, it replaces the &HTML escapes -- bug in slashdot. So after preview, instead of hitting submit, use your browsers back function, and then hit submit. This bug has been known for more than six months.

  123. Re:Solving Chess by jfern · · Score: 1
    Chess, however, is unsolvable. The search tree for chess has more nodes than there are atoms of the universe. Good Luck!

    Nope, there are about 10^60 nodes for chess, and about 10^80 atoms in the universe. Of course that's still more atoms than in this solar system, this doesn't really help.

  124. Re:Clarification: "Solve" by ballestra · · Score: 1
    Thanks for the explanation. I'm a layman as far as this stuff goes, but I have some doubts that this is solvable. I can't imagine a simple list of moves that could definitely lead to victory, since the opponent could surely move his pieces in some way as to block some of your planned moves. So, I assume that you would need a branching tree of moves and responses.

    I'll take your example of "white to win in two." There could be a solution of two moves if the setup is just so. But certainly there could be some setups where checkmate was possible in two moves, but not certain. In these cases, white's second move would depend on black's move. In this case, again depending on the setup, I think you could either have a tree of moves so that no matter what the black does, white has the right move to beat it, or a mixed tree that includes some black moves which preclude checkmate in two. So I think it all depends on the setup and the movements of the opponent.

    There's a really interesting passage in Douglas Hofstadler's Godel, Escher, Bach which I think pertains to this topic. It's been a while since I read it, and I don't have the book with me now, so bear with me. He's explaining systems of mathematics, as an introduction to explaining Russell and White's Principia Mathematica. I forget the example he uses, so I'll devise my own. Suppose my system starts with the axiom 5 and the only valid operation is that you can multiply by 2 or 3. So 10, 15, 20, 30, 40, 45 are obviously valid numbers in my system. He has a name (which I forget, damn!) for this type of system where the operations only go in one direction. You can take a really high number and determine if it is valid with a simple algorithm. But if I allow a dividing operation, say you can divide by 5. Then it get's more difficult, because you could go back and forth multiplying and dividing in different combinations many many times to get to a number. So if I give you a big number, say a with many decimal digits, and I ask you to prove if it's valid in my system or not, then it's impossible to solve negatively. Just because you've been trying permutations on your supercomputer for twenty years with no solution, doesn't mean you've proven that the number isn't a valid part of my system, so you have to keep calculating, and in the end, I'm not sure if you can ever prove that it isn't, just that perhaps it is when and if do eventually get a solution.

    Sorry I couldn't explain that more concisely. Anyway, a game like tic-tac-toe is simple because it goes in one direction. For every possible state there is a finite number of permutations of moves that could have gotten you there. In chess, it's unfortunately the other case. It's like someone said before about the number of moves being greater than the number of hydrogen atoms in the universe. I suppose you could devise a set of rules, to prevent loops, or to limit them to a finite number of repetitions, but that would defeat the purpose of solving the perfect game of chess, since it would depart from the official rules, so then you'd just be looking for optimal moves or practical strategies to help you win in most cases.

    Going back to the tic-tac-toe example, I think it's interesting that this simple game cannot be played perfectly. You can guarantee a draw, but you can only win if the opponent makes a mistake. I know this proves nothing, but I venture that with all the additional orders of magnitude of complexity that you have in chess, there can't be a guaranteed way to win.

    "What I cannot create, I do not understand."

  125. Re:Wrong question by ballestra · · Score: 1
    Maybe I'm missing something, but I don't understand how Chess is a finite game at all. Does that mean there are a finite number of states (which I'd concede), or a finite number of moves (which I wouldn't)? Are there simple enough methods to determine which states are possible and which ones aren't without having to traverse extremely long sets of moves?

    I guess I'm conjecturing that maybe there are some states which can only be reached through an extremely long set of moves, so it would take a nearly infinite amount of time to figure out if the state is valid or not. So even though the states are finite, knowing the complete set of valid states on a board could take infinity.

    "What I cannot create, I do not understand."

  126. Re:Some numbers..... by Signail11 · · Score: 1

    I'll preface this comment by stating that I believe that it will be computationally unfeasible to brute force a 128-bit key for the forseeable future. Nonetheless, Scheiner's thermodynamic calculation is actually incorrect, because it assumes an irreversible state change. This is not the case! There is no lower limit to the energy needed to perform an arbitrary operation. Bruce is a great cryptographer, but he's understandably not a physicist. He creates a straw man argument that, although very impressive, is actually incorrect. If you're interested in the details, email me and I'll send you more information on Tuesday when I get back to my office.

  127. Re:Checkers has been solved - NO! by sbromlin · · Score: 1
    No, checkers is not a solved game. I was pleased to see that there were some more accurate postings on this particular topic, but felt it my duty to clear up any misunderstandings. As mentioned in another posting, Dr. Jonathan Schaeffer, a professor at the University of Alberta, brought us the Chinook checkers program. Research on Chinook has been more-or-less inactive for the past few years, after it won the world man-machine checkers championship. The human competitor was the now-deceased Dr. Marion Tinsley, an outstanding individual in the game of checkers. There are a dearth of interesting anecdotes surrounding both the championship (match was conceded by Tinsley, who was not in excellent health at the time), and the prior development on the Chinook project. These stories are chronicled in Schaeffer's book, "One Jump Ahead". More information is also at the projects web page

    To say that a game is solved, one is asserting that either through a theoretical proof or complete experimental evidence, it has been proven that a game is either a win, a loss, or a draw for the first player. This, of course, assumes that each player plays a perfect game without any mistakes. If a mistake is made, the other player should be able to conclude their game with perfect play to guarantee a better result in their favour. To this day, no-one has solved checkers, but it is possible that we are approaching the day that it becomes solved. In fact, a certain computing science professor may be looking for graduate students interested in furthering the research in this area. If you are interested at all in this area, I urge you to check out the aforementioned book and website.

    Disclaimer:

    I do not study game theory myself, but am a current graduate student under Dr. Schaeffer.

  128. But a depth-first search... by yerricde · · Score: 1

    A conservative underestimate would be that the tree has a branching factor of 35 and a depth of 100. 35 ^ 100 is far more than the number of atoms in the Universe.

    <disclaimer content="I am not a mathematician">
    The only reason the search tree must be stored is so you can find your way back from the solution. If the tree is searched depth-first, the search needs only about 100 words of storage, 35 values for each word. Multiply that by about a few thousand, and you have space for sophisticated tree-pruning algorithms; how about a distributed.net attack?
    </disclaimer>

    --
    Will I retire or break 10K?
  129. /. has trolls. Get used to it. by yerricde · · Score: 1

    For the same [FIR57 P057!] reason that [hot grits down your pants] people say [Natalie Portman naked] dumb things for me to poop on at all, [goatse.cx] to get attention. It probably wouldn't bother us as much if it were part of a sig, but when it's the only thing in a reply...

    --
    Will I retire or break 10K?
  130. Re:What would happen if we changed the rules? by tbarrie · · Score: 1

    Well, the king-queen switch is easy; it definitely favours the computer. A human might be disoriented by a board which is the mirror of what they're used to, but it would be trivial to modify a computer's algorithm to accomodate this.

    The other switches pose a more interesting question.

  131. Re:I don't understand the question. by tbarrie · · Score: 1

    The number of moves of the shortest white win/black win/stalemate is actually irrelevant. For example, it's known that it's possiblt for white to win after three moves. There are certainly no draws or black wins that quick. But this doesn't mean the game is solved, because black won't necessarily make the moves that allow this quick win to happen.

    It's not the number of moves to win that count - it's which player always has an answer for every possible opponent's move which guarantees victory. (If neither player does, then a perfectly-played game is a draw.)

  132. Re:Perfect Game by tbarrie · · Score: 1
    A perfect game by both sides might result in a stalemate; I'm not sure anyone really knows. In game theory, you try to find optimal strategies for both sides. An optimal strategy satisfies the property that if one player deviates from the optimal strategy and the other sticks to it, then the latter will always do better because of the former's poor decision.

    Nitpicky: the optimal strategy for player 1 and the optimal strategy for player 2 need not be the same, although admittedly it's difficult to see how they could be different in a symmetrical game like chess.

    (Certainly, in the vague common usage sense of "strategy" good strategy for black differs from good strategy for white, but in the formal sense of a strategy as a function from game states to move, I'm pretty sure the optimal strategy for both sides has to be the same. The difference in practice is that they don't face the same game states in the early game.)

    Optimal strategies exist for sufficiently intelligent players in both sides in any two-player zero-sum (zero sum means their loss of points is your win of points) game. This is a theorem by Von Neumann. See The Theory of Games and Economic Behavior by Von Neumann and Morgenstern.

    While I haven't read that book, I'm pretty sure the game has to be both deterministic and have complete knowledge of the game state available to both players. There is no optimal (in the sense we're using here) strategy for Paper-Rock-Scissors, nor for Poker, despite both games' being zero-sum.

    Along these lines, in asking more game-theoretic questions about chess, it would be interesting to know if the leading player has a strategy available to always win and if the other player can always force a stalemate. Hell, I can't even think of an ironclad argument that the player who doesn't start can't always force a win.

    Indeed not; consider a variation on Fox & Goose (you can find the rules here) with the diagonal line removed. In that game, whoever goes first is guaranteed to lose an optimally-played game. The reason people expect that chess is either a victory for white or a stalemate is that, empirically, white wins more often than black (though I don't think the difference is terribly large).

  133. Do they really PLAY? by ryanhos · · Score: 1

    Do computers really PLAY chess? They make decisions based on the probability for best outcome due to future possibilities of moves and future opponent moves. While PLAYING chess involves such decisions on a human's part, it also involves feeling and a bit of trickery/deception. I couldn't see a computer making a bad move to "suck a player in" or bait a player into making a move. I don't think that they've been given the power to "manipulate" a player yet. These computers can do infinitely more permutations of a game than a human can do, but a human can predict strategy based on a player's habits and faults. I contest that the computers are able to win because they have this ability to play out a game based on odds and probability many times before even making a move.

    --
    "I threw up my hands in disgust and wondered if it had been such a good idea to have eaten my hands in the first place."
  134. How do we discover when the problem is solved? by gnalle · · Score: 1

    Even if we had a lot of time time, I don't think that the monkey solution would be productive. The problem is that we need someone to discover when the problem is solved. We might try to intend to a write down all the moves of the monkeys. But then we would have to spend eternity analysing the moves We could also try give each monkey a typewriter and wait for one of them to write a complete solution to chess. But then we have to read everything that they read.

  135. The word strategy in game theroy by gnalle · · Score: 1

    I think you have to distinguish between two different meanings of the word strategy. You are refering to the meaning of strategy in board gaming whereas he is refering to the meaning of strategy in game theory.

  136. Chess has full information by gnalle · · Score: 1

    I think I agree with you definition of a perfect game, but you are refering to the theory of two-player zero-sum games. This is a theory that is developed for games where both players move at the same time and they do not have full information about the other players move. An example of such a game is paper, rock and scissors. In chess players do not move at the same time. Therefore the chess is somewhat a different game.

  137. Quantum computers will solve this by gnalle · · Score: 1

    If anyone ever succeeds in creating a quantum computer, the storage problems problems will probably be solved. A state in the quantum computer can correspond to a superpositition of a lot af different states of the game. So n bits in a binary quantum computer may be able to describe 2^n states of the game. I haven't heard of any quantum chess algorithms yet, but using a good algoritm, the quantum chess computer should be able to do a kind of massive parallel computing. Here is a nice introduction to quantum computing I am not sure if quantum computing will allow us to solve chess completely, but at least it will probably lead to a great improvement.

  138. 1G$ Prize to Go program beating pro. by gnalle · · Score: 1

    By the way. The ING cup will pay $1 mill to the first program that wins the cup and beats a human Taiwanese pro.

  139. Perfect Game? by Tarkwyn · · Score: 1
    Presumably a perfect game is "winning from the first move".
    In tic tac toe (and chess), all that is needed to win is a) to start and b) to know the permutations and appropriate counter-moves required to get you to victory. Let us suppose that both players satisfy b) then the game could be said to be solved, as the result is decided by the starting order.
    A computer (computers!) could conceivably "solve" chess in this manner, but us mere humans could never begin to remember the billions of permutations required to always win.

    But neat idea - It'd be cool to log into a chess machine and see "The computer has chosen white. You lose. Play again? (Y/N)". Bring it on!

    --

    --
    Tarkwyn.
  140. You only need much memory by rutger21 · · Score: 1

    Solving chess is rather simple. Let 2 computer players start playing a random game against each other (make up all possible moves and choose one). They start with no memory. These computer players must operate in two different modes:

    - the first must learn if lost
    - the other must learn if lost or it's a draw

    A computer player should then memorize the board's position just prior to losing/drawing. This because the opponent is able to win/draw from that position.
    Then, see my first sentence. Make up all possible moves, but now remove those which lead to a memorized position and choose a random move again. Then, probably the most important part: if no moves are left (because they all lead to a position in which the opponent is able to win/draw), memorize the position prior to the current one (so, we're learning a move ahead).
    In this way, first all possible end-games are learned. After that, all possible middle-games are learned and finally a computer player could tell which opening move leads to victory or a draw. To finalize it all (to solve the game), play the following combinations:

    - white: learn on draws/losses, black: learn on losses
    - white: learn on losses, black: learn on draws/losses

    Now, make up a suitable hash function for storing a lot of possible positions, run the program, wait a long time and it's all done. You will be able to tell: "Chess? It's a boring game, white always wins". I mean, it sounds a lot like "Tic-tac-toe? It's a boring game, noone can win". And this is a valid sentence.

  141. Re:This is rediculous .. NOT... by CptnHarlock · · Score: 1
    Whi is everybody being so negative? Have you no faith? A quote from the offered link:
    Some experts in artificial intelligence think that a very large computer (larger than any in existence, but certainly smaller than a planet) may be able to solve chess by calculating for a few thousand years, maybe for hundreds of years
    Doesn't that kind of sound like the IBM guy we all know about?..
    I think there is a world market for maybe five computers.

    -- Thomas Watson, chairman of IBM, 1943

    Come on ya guys!.. Believe!.. : )
    --
    "At the end of the journey, all men think that their youth was Arcadia..." -Goethe
    --
    $HOME is where the .*shrc is
    -- silver_p
  142. To all pessimists... :) by CptnHarlock · · Score: 1

    In some years hopefully your commnets will end up here: http://busboy.sped.ukans.edu/~adams /sciquot.htm

    Thank you.
    //Frisco
    --
    "At the end of the journey, all men think that their youth was Arcadia..." -Goethe

    --
    $HOME is where the .*shrc is
    -- silver_p
  143. This Discussion is scary by pigeonhed · · Score: 1

    The game of chess is a human invention to test our own limits. It is a game afterall. The fact that alot of posters feel a computer is superior and better suited for testing itself is scary. I would suggest reading The Sirens of Titan by Kurt Vonnegut. He may well of seen our future. :(

  144. Re:Some numbers..... by milkman1 · · Score: 1

    Actualy the thermodynamics explantation in Applied Crypto is incorrect. Check the errata at http://www.counterpane.com/ac2errv30.html Specifically: * Page 157: The section on "Thermodynamic Limitations" is not quite correct. It requires kT energy to set or clear a single bit because these are irreversible operations. However, complementing a bit is reversible and hence has no minimum required energy. It turns out that it is theoretically possible to do any computation in a reversible manner except for copying out the answer. At this theoretical level, energy requirements for exhaustive cryptanalysis are therefore linear in the key length, not exponential.

  145. Re:how large is the chess tree? infinite! by niccodicco · · Score: 1

    I think it's impossible to make such a tree or 'net' as you call it. The reason: the number of possible games isn't just beyond what's possible to compute and store, as pointed out in previous comments. The number of possible chess games is infinite. Why? Because you can always plot in repeated redundant moves anywhere in the game, eg if both sides would move their queen back and fourt 4000 times.

  146. infinite monkey theorem by flatrabbit · · Score: 1

    I'm a firm believer in the Infinite Monkey Theorem:

    "If you put an infinite number of monkeys, working on an infinite number of typewriters eventually one will bang out the script to hamlet"

    we should apply this to the perfect chess game. A program similar to SETI@home could be written to use computer time around the world. This would help cut down the time in years to a fraction of what it would be if just one was doing it. (plus if a 3D visual depiction of the moves being played out in a faster speed as the world network tested strategy would look cool, kind of like watching Wargames as the computer played Tic-Tac-Toe).


    flatrabbit,
    peripheral visionary

    --



    "Never wrestle with a pig, you both get dirty and the pig likes it."
  147. patterns, people? by EschewObfuscation · · Score: 1

    the key to something as complicated as chess is not creating an exhaustive search of the problem space. if it was, humans would be pretty crappy chess players. what humans excel at, and what we are just learning to tell computers about, is pattern recognition. combine neural net based pattern recognition with a genetic algorithm for determining by process of elimination which strategies work out best, and then you'll get close to the 'perfect' chess player (the player, not the game, is the thing that has to be perfected, of course. the original question was mis-stated).

    --

    (email addr is at acm, not mca)
    We are Number One. All others are Number Two, or lower.
    --The Sphinx
  148. How to find out. by Decimal · · Score: 1

    Consider this example: Even a dumb dog can know the difference between a leg and a tree. How many people can write a computer program that can distinguish between the two?

    It might surprise you, if you are a programmer, but try to do it. Grab few pictures from the internet (or from you webcam) and think how would you solve this. No computer-science major/geek/whatever knows how to solve this in a reasonable way.


    I don't see it as an extrodanarily difficult task, we're just not thinking the way that we should. Nature can come up with strange and startlingly efficient ways to do things that we might never think of. So we pick a particular task, evolve code to do it, and then we study the code. Our own computers will be teaching us how to think!

    --

    Remember "Bring 'em on"? *sigh
  149. Have you ever watched a game of chess? by Hectibus · · Score: 1

    It's not known as a spectator's (sp?) sport

    1. Re:Have you ever watched a game of chess? by ForceOfWill · · Score: 2

      Actually, to those who know how to play, chess can be a very interesting thing to watch. You get to think of what you would do in 's place, and if they do it and succeed, your though process has been vindicated, but if they fail, you'll know not to do that and why in one of your games. This would be especially true for two computers playing chess.

      --

      --
      Seeing is believing; You wouldn't have seen it if you didn't believe it.
  150. Re:Ridiculous Idea by chipuni · · Score: 1

    There's absolutely no need to go through every possible position in chess to find the perfect game.

    For example, according to the number of possible positions that would have to be searched, a newspaper-style cryptogram (A=Z, B=Y, etc.) has 26! = 403291461126605635584000000, or about 4 * 10^26 possible states. DES has 2^56 = 72057594037927936, or about 7.2 * 10^16 possible states.

    By examing the number of possible states, you'd tell banks to encrypt their financial data with a code that is -very- easily crackable.

    The trick isn't trying to find all of the possible states, then finding the best one. The trick is cutting off branches of the problem until it can be reasonably solved by a cluster of computers.

    --
    Never play leapfrog with a unicorn. Or a juggernaut.
  151. Re:Ridiculous Idea by oday · · Score: 1

    Whether or not a solution consists of just one path depends on how you define the problem.
    This has been discussed (sort of).

  152. Re:Ridiculous Idea by oday · · Score: 1

    Because the tree *is* the solution.

  153. Quantum computers might solve chess. by WolfWithoutAClause · · Score: 1
    Basically it might be possible, contrary to popular belief. But there's no certainty either way.

    The big problem with chess is that the tree is VERY large- how big isn't known but estimates vary over a large range (see netchess and wolfram mathworld). There are certainly more chess positions than there are atoms in the universe, but the lines that lead to them are mostly worthless, so they don't matter and can be pruned away. Let's pick a tree size of 10^60-10^70 for arguments sake.

    This is way beyond the scope of even distributed computing like SETI. It's usually reckoned that chess is unsolvable by brute force.

    Normal computer techniques can handle about trees with about 10^20 positions or so, depending on how much hardware you can throw at it, and how long you wait.

    However there are a couple of approaches that can reduce the exponent by a factor of 2 each in chess:

    Use both and the search tree comes down from 10^70 to 10^17. That is still a HUGE tree, but it is searchable in a year using a quantum computer that can search 3 billion positions a second.

    As another poster noted, the current state of the art is 7 bits. You would need probably need 100s of thousands of bits to do chess. And the cycle time for current computers are measured in seconds rather than nanoseconds, but then again no optimisation for speed has been done AFAIK.

    Finally it depends on the actual size of the chess tree. It may very well be there is a forced checkmate at say, move 40, in which case we would find it. But if there are only draws by repetition, under perfect play, the tree probably becomes impossibly large even with quantum computers.

    Still, a search that said that there were no forced wins in say, the first 40 moves would be suggestive of a draw.

    --

    -WolfWithoutAClause

    "Gravity is only a theory, not a fact!"
  154. how large is the chess tree? by muzzy · · Score: 1

    For all you bored mathematicans and such, how large is the chess tree? or actually it's a net and not exactly a tree, but how many possible combinations there are for the board?

    If it's possible to create the full tree, we could make it, and have each node have three links to other possibilities. one being 'win', one 'lose', and one 'draw'. Now we could start doing bruteforce for the tree, finding out the single moves that end into win, lose or draw, and mark these into the net. Then do it again, because now if we from a node can get into situation where the 'win' link is existant, we know that this node we have is a 'win' node, too, and we can make the path.

    If someone has too much free time and could start a project like this one day when the hdspace is large enough to keep the whole tree, it might be interesting to see where it ends.

    also, btw, does anyone have any better algorithm suggestion for finding out if there exists a perfect game? this brute-force approach is pretty heavy :D

    --
    -- Matti Nikki
    1. Re:how large is the chess tree? by muzzy · · Score: 1

      So, only 2*10E43 possible positions? Nice. How long does it take until we have storage mediums large enough? :)

      Seriously, we wouldnt need to store them all in the beginning to start the work. Now I wonder what would be required to prove there is no perfect game? If we start to build such a net, what kind of construct would imply that we have a chaotic situation somewhere? So, actually we would only be interested in finding the nodes that are chaotic, and where you cant reach your goal (win for 100% sure). So, the follow-up question is, how many of the legal positions are chaotic? any way to find *any* (nonzero) minimum value for legal chaotic positions? Can someone prove that chaotic positions exist?

      --
      -- Matti Nikki
  155. Re:how large is the chess tree? infinite! by muzzy · · Score: 1

    Ofcourse it would be infinite, but that wasn't the point at all. the point was not to computate tree of 'all possible moves', but 'all possible situations', and then see which would be optimal move from a situation. There is limited number of possible situations, and the optimal links could be nice to calculate. :)

    --
    -- Matti Nikki
  156. Re:Chess has already been conquered. Humans lose! by digitaltraveller · · Score: 1

    I completely disagree. The first time Gary played deep blue in the rematch, he won. A strong player like Gary could have easily forced draws the next five games, but instead Gary chose to play more aggressively and hence a riskier fashion and lost the match 3.5(DB)-2.5(GK). I, and many others believe that if Gary Kasparov were to play deep blue again, he would win. This is why: The art of learning how to play chess against a computer is a new one. Strong computers have only been around for a short period of time. There are techniques that professional chess players have developed to "beat" strong computer chess opponents like Fritz and Junior. These strategy's are things like, playing strange openings such as the double fianchetto, long term strategy planning and "closed games" which computers are notoriously poor at playing and the technique of sacrificing the exchange for position, to name a few. Keeping a game complex and tactical will confuse the computer and prevent it from capitalizing on it's powerful tactical engine which works best in clear cut, open scenarios. These are but a few of the techniques. Regularly playing Fritz, Junior and Shredder will also keep one on their toes against a computer. Although Moore's law dictates computer's will become fearlessly powerful, their is nothing that says that we cannot use our own ingenuity to advance the evolution of our own mind. An excellent way to do this is through chess.

  157. Re:Solving Chess by logicnazi · · Score: 1

    I understood they had solved checkers more recently. Solving the game is not necessarily a workable way to play. Storing all the partial sequences stored along the way may be unfeasable

    --

    If you liked this thought maybe you would find my blog nice too:

  158. Re:Chess vs Go by yjlim · · Score: 1

    And oh, I forgot to mention a few things. :)

    Go is a 4000 year old oriental game, invented initially by Chinese, moved to Japan and Korea, and currently dominated by Japanese and Koreans.

    The Web Go Page Index
    This will be the only index on Go you ever need.

    Mick's Computer Go Page
    News and informataion about computer programs that play the ancient oriental game of Go

  159. Re:Nothing is perfect! by Skuto · · Score: 1

    Memory is not an issue to solving chess, as you can use a depth-first algorithm to traverse the tree, so the actual size of the tree doesn't matter for memory usage.

    Time isn't either, if we're speaking about solving it. It doesn't matter how long it takes, just that it can be done in finite time. The required time can always be shortened by using more or faster comps.

    Neither will solving chess make the game less interesting. There would be no way for a human to make use of the 'solution'.

    In short, all what you've said was wrong.

    --
    GCP

  160. Think of it this way. by acehole · · Score: 1

    The way it could be worked out is to find out the outcome for every single move in chess. you move one piece on the board it would branch off into another completely different game, move another piece and another game branches off. What you would end up with is all possible moves that could be made, all games that could take place from 5 move check mate to the 7 hour game. If you played No matter what you moved there would be a solution against you already. So the moment you moved a couple of pieces, the computer would have already eliminated different possiblities within the game. You would pretty much loose the moment you moved a few pieces. Pit two of these computers against each other and you'd end up with a very complex game of tic tac toe, neither could win.

    --
    Be you Admins? nay, we are but lusers!
  161. Re:Some numbers..... by howard_wwtg · · Score: 1

    I agree that much of the complexity could be trimmed down. Perhaps by storing all previously analyzed positions so you would only have to analyze all possible moves from each position once (there are many more possible games than there are possible board positions, but I don't want to even think of the amount to storage space you'd need for that). Even after that the search space is still huge.

  162. perfect chess game by pghmark8 · · Score: 1

    i must have cut myself off there. so i would say, at the least, you'd need some very good mathematician-type tricks, to vastly cut down the number of games that need to be considered. sorry if these comments are too stupid

  163. Re:Perfect Game by pghmark8 · · Score: 1

    You are correct. There are more possible chess games than there are estimated number of particles in the universe.

  164. I wouldn't think so... by jugglingfencer · · Score: 1

    Part of what makes Chess such a great game is that it can't be solved. Who's to say a Sicilian defense is better than a 4-knights defense? Especially with the various openings, Chess is a game dependant on style. Some people prefer an open board and choose to push queen's pawn. Others prefer a closed board and push king's pawn. Neither is better or worse, just different. One person makes a move (for better or worse) based on their style, and the other person responds based on their style and the percieved mistakes.
    Even if you remove the perception of mistakes, style still plays a key role. With 16 billion possible moves if you only give each side 4 turns each, with computers running at speeds we can't concieve of, plotting every single game would be possible, and optimizing their chance of success, at least a small element of style would vary from game to game.

    --
    Busco a alguien que me quiera como yo la quiera.
  165. Re:Some numbers..... by LilBlackKittie · · Score: 1
    Um. I can't add up. Too many zeroes!

    It should be about 10^7 times longer than the age of the Universe so far, because me (like a dolt) thought the Universe was only 15 billion seconds old (not years old =).

    So happy birthday to the Universe, 15,123,642,124 years old today.

    -- Maz
    Revising maths...

  166. Nothing is perfect! by DalyLama · · Score: 1

    First I have to say that there isn't such thing as perfect chess game because You can't make a chess game without any mistakes. The computer (currently) can't play perfectly because than on each step it will have to culaculate all the possibly steps and sutuations that any step can make and this will take a lot of time (A) and lot of memory will be needed (B) time is not always avaible in chess games and on all the computers in the world there isn't enough memory for that even not enough for two steps. Another thing, this is not mission for Distributed.NET because they working using brute-force method and as I have already wrote there is not enough time and memory for that mission. Lets hope that computer technology will never be so high that A Perfect Chess game will take place, because othervise the game of Chess won't be interesting anymore.

  167. Re:how to determine the perfect game of chess by chompz · · Score: 1

    Sounds kinda like a genetic algorithim to me. WHat needs to be found is a quick way to rank different moves inorder to get the computer to actually think ahead several moves like a real player could do.

    --
    Spring is here. Don't believe me, look outside!
  168. Re:Insoluble by chompz · · Score: 1
    Unsolvable? Too many moves? Does it matter how many possible moves there are? The vast majority of them are completely useless moves, and taken into context of the game, only a few moves are possible for any given turn. This would seem to suggest that even though there are nearly infinite possible moves, there is a small set of them which would be even possible to make.

    Its kinda like on the first move of the game, there are only 20 possible moves, this isn't a number of moves I'm afraid of dealing with.

    --
    Spring is here. Don't believe me, look outside!
  169. Chess moves count by Huip · · Score: 1

    Someone once told me (He's a chess player, I'm not) that there to many paterns and moves in all the games of chess to store any where....
    Like, more ways to put the figures on the board an possible moves to follow, than there are stars in the universe.
    Just wondering, because I was thinking about a brute force method for "solving" chess.

  170. Re:Perfect strategy for tic-tac-toe by azuretongue · · Score: 1

    ... ... ... O.. O.. O.. OX. OX. OXO .X. .X. .X. .X. .XX XXO XXO XXO XXO ... O.. O.X O.X O.X O.X O.X OOX OOX O.. OXX O.X I win !

  171. Re:how large is the chess tree? infinite! by gloth · · Score: 1
    Coming closer, but not quite there yet I think.

    1) If the same position is repeated three times, or

    2) If there hasn't been any capture and no move of a pawn for 50 moves...

    the player to move next has the right to call it a draw, but doesn't have to.

  172. Is this a proof? by kokoland · · Score: 1

    Chess IS solvable.I 'll present an imaginary proof:
    Suppose that:
    a)We have a book that has as many blank pages as we want
    b)Each blank page has enough space to hold the moves of an entire game

    The algorithm is this:
    First we fill the book writing on each page every possible game(Very large book).As each game was a winner or is stalemate we sort the pages in this way:
    1,4,7,... are the pages containing games that white wins
    2,5,8,... are the pages containing games that black wins
    3,6,9,... are the pages containing stalemates.
    Now let the game begin.Suppose we play the black pieces and we have(and so does the opponent)a copy
    of the above book.
    White makes a move .We open our book and rip off the pages that contain a game that does not start with that move.Then from the remaining pages we rip off the pages that are 1 mod 3 and 0 mod 3 equivalent(sorry for my bad english)that is we rip the pages containing games that white wins and the stalemates.
    From the remaining pages we choose one and play the next move.
    White does the some.Then we do the same for white's second move and white does the same and so on.
    Now I have a question :
    In our initial book are the number of pages that white wins equal to the number of pages that black wins?
    If this is true then theoretically white will always win because:
    1)at each turn players rip equal number of pages
    2)black rips first
    3)The game is finite
    4)At each turn at least one page is ripped
    So black will run out of pages first so black will have no moves.And white will have only one page remaining (the page containing the game that just has been played with number equivalent to 1 mod 3(white winning page))

    If my question takes 'no' for an answer then ,sorry, I cant think anymore at this moment...

    Kokoland- koko@otenet.gr

  173. Dumb/Learning AI techniques by smug+kris · · Score: 1

    I was thinking about this, and thought why not use a variant of the learning-enabled robots to solve this problem. The goal could be set to get as many pieces as possible, and has only the rules built in. In the past, these robots have been very efficient in provided results - why not let them loose on this?! PS. I dont know much about AI, but this was only and idea. Anybody think its a good idea?

  174. Ridiculous Idea by Anonymous Coward · · Score: 2

    With all due respect the poser of this question is poorly informed. Solving the game of chess would require an exhaustive search of the tree of all positions. A conservative underestimate would be that the tree has a branching factor of 35 and a depth of 100. 35 ^ 100 is far more than the number of atoms in the Universe. Even if every atom of the Earth were a supercomputer it still would not be enough to solve this problem. DNA computing works by associating each potential solution with a unique DNA sequence and using chemical reactions to find the actual solution. However, even if the mass of the Universe were converted to DNA it would still not be enough DNA to represent all chess positions, and in any case DNA computing is only suited to problems where a solution can be verified, for example searching for an encryption key. It can't be used to search a tree if the path to the solution matters. The game of chess will not be solved by anything short of a quantum computer, which in theory could perform exponentially many calculations in parallel using quantum superposition. Any further discussion of this topic is stupid.

  175. The problem is *storage* by Erich · · Score: 2
    The problem with trying to find out a solution to the game of chess is storing all the possible moves.

    If you want to figure out a series of moves which could always lead to a victory (which may be possible) based on a single opening move, you could construct an algorithm that would play every possible game, and would figure out wich path did not allow the other player to win, no matter what he/she chose to do.

    However, unlike distributed.net, where you know when you've found the answer and can throw away wrong answers, you have to save a whole lot of state for a brute-force chess game. The amount of storage necessary for all this state is probably prohibitive, even if we had millions of amazingly fast processors.

    --

    -- Erich

    Slashdot reader since 1997

    1. Re:The problem is *storage* by gilroy · · Score: 2
      Quoth the poster:
      However, unlike distributed.net, where you know when you've found the answer and can throw away wrong answers, you have to save a whole lot of state for a brute-force chess game
      True, but not necessarily all the states. I belive all you need to keep are the current champions for the least number of moves to a victory for White, for Black, and for neither. As soon as a new candidate passes the largest of these three numbers, the game can be abandoned.

      Or so I think. I haven't done more than Sunday-paper thinking on it, though.

  176. One place to start... by singularity · · Score: 2

    People might be aware of this, but I thought I would pass it along anyway - There is a GNU/Chess program. I believe that the playing ability of the computer depends on the processing power fo the computer (it has been a few years since I played it).

    With source code available, it might be a place to start.

    --
    - (c) 2018 Hank Zimmerman
  177. What would happen if we changed the rules? by sphealey · · Score: 2

    A question that pops into my limited mind: what would happen to the computer-human chess balance if we changed the rules slightly? Say switching the bishop and knight on one or both sides, or the knight and rook, or the King and Queen (and yes, I realize these changes would have to be analyzed by GMs to insure they didn't create a trivial game).

    Now, IIRC, most if not all computer chess programs start out playing from an opening book, then switch to a search method when they go "out of book". However, thsee opening books were developed over hundreds of years by human players using standard non-quantative human methods.

    If the rules were to change, and the existing opening books become useless, would the advantage then go to the human's intuitive style of play when facing the unknown? Or would the computer be better able to calculate new openings starting from zero knowledge?

    sPh

  178. Wrong question by Tjl · · Score: 2

    You ask whether there is a perfect game --- SURE there is - that's been known for finite zero-sum games for decades now.

    What the actual MOVES in that game are is a different question (and probably there are several equivalent variations for both players at most moves) which will remain clouded for quite some time yet.

  179. Re:Solving Chess by Jonathan · · Score: 2

    Well, I recently (two weeks ago) attended a lecture by Jonathan Schaeffer, the main author of Chinook, (the "Deep Blue" of checkers) and he claimed that checkers is of yet unsolved, and I'd think he'd know.

  180. Re:I don't understand the question. by Ed+Avis · · Score: 2
    Chess would probably be subject to the same problem, since both players would know all possible outcomes and the paths leading to them, they would try to steer it such that their chances of winning are the highest. Problem is that both want to win and that they will therefore in the end settle for a draw, because that is the highest either one will be able to get.

    You don't know that. That might happen, but it's also possible that white can always force a win, or maybe black can always force a win. Without exhaustively checking all possible games it's hard to tell which.

    Ofcourse this carries the assumption that the game cannot be determined from the outset by the first move that has been done.

    It can be determined in this manner, since you would know exactly what strategy the players are using - the best possible.

    --
    -- Ed Avis ed@membled.com
  181. Re:I don't understand the question. by Ed+Avis · · Score: 2
    After all, if you're looking for a strategy to win every time if you are (white|black), this is quite different than a sequence of moves. The aforementioned grandmasters could probably provide a lot of insight into this.

    What I mean by a 'strategy' is a way to work out which move to play for any possible game position. Picking a move at random is one possible strategy, not a very good one. Another is to number all your pieces and always move the lowest-numbered piece as far as possible towards the bottom left corner of the board, or if that piece can't move or is captured, try the next piece and so on. Another rather poor strategy, but it will tell you exactly what move to play in any circumstance (deterministic).

    Most computer chess programs will use a strategy that looks ahead to a certain depth and picks the move that ends up with the most favourable-looking board position after a few moves, allowing for the fact that the other player is trying to spoil things. A perfect strategy would look ahead without limit and work out the best move leading to checkmate, or at least avoiding being checkmated.

    --
    -- Ed Avis ed@membled.com
  182. Re:Chess vs Go by RayChuang · · Score: 2

    I think if someone is willing to offer US$10 million for the first computer that can serious take on a 4-5dan professional player, the race will be on.

    Right now, only IBM has the possible resources to develop such a machine--imagine a massively-parallel CPU system using over 1,000 of the latest PowerPC CPU's. Someone might try by using a Linux cluster, but that will take over 300 machines running the latest Alpha AXP CPU running in clustered fashion.

    In short, developing a computer that can challenge a high-level professional Go player will be the computing challenge of the 21st Century.

    --
    Raymond in Mountain View, CA
  183. How do Humans Play Chess? by SteveM · · Score: 2

    As for advancing chess, what human and computer players actually do are so different from each other that it is hard to imagine one learning from another.

    I have seen this claim made on numerous occations. But I have not seen the explanation behind the claim.

    Granted we know how computers play chess. Do we truely know how humans play chess? We know what humans say they do when the play chess. But do we really know what goes on in ones brain during a game?

    Steve M

  184. I always liked this idea... by seebs · · Score: 2

    So this guy goes away to "study chess". He comes back after 10 years, and announces that he has figured chess out. He signs up for a tournament, and sits down.

    "Pawn to king's knight four. Mate in seventy-two."

    That would be pretty freaky.

    --
    My blog: http://www.seebs.net/log/ --- My iPhone/iPad app: http://www.seebs.net/seebsfrac/
  185. Absolutely true. But absolutely impractical. by Gerund · · Score: 2

    The machine that could do this sort of think has a name: non-deterministic turing machine. Sadly, it doesn't exist. Yet.

  186. Also. by Black+Parrot · · Score: 2

    > You can get an exhaustive search of a tree without searching every node in the tree.

    In addition to B&B, there is at least the theoretical possibility of solving it with mathematico-logical methods that don't rely on search at all. E.g., prove certain theorems about what should and shouldn't be done in the game, and then apply induction to derive the best game.

    I don't really know whether this is possible for chess, and I'm pretty sure it hasn't actually been done, but we should always keep our minds open to the possibility of solutions that do not require brute force search for "big" problems.

    --

    --
    Sheesh, evil *and* a jerk. -- Jade
  187. If you belirve in distributed computation. . . by JohnZed · · Score: 2

    then I think you would have to be against the idea that chess is solveable, at least for a win. We've had a few hundred years of powerful distributed nodes (grandmasters, teachers, and prodigies, not to mention recent, silicon-based additions) hacking away at the problem with pretty good algorithms (check on Amazon.com for a good chess book) without even a hint of success.

  188. Pfft! by vitaflo · · Score: 2

    Computers are only as smart as the humans that program them. ;)

  189. Re:how to determine the perfect game of chess by Chuck+Chunder · · Score: 2

    You're correct, all that food would be expensive. It'd be much cheaper to run monkeys simulators on a big beowolf cluster.

    I can't believe I just said that.

    --
    Boffoonery - downloadable Comedy Benefit for Bletchley Park
  190. Re:Some numbers..... by AT · · Score: 2

    This argument is based on the number of bit operations needed to solve the argument, based on the premise that the number of bit operations is related exponentially to the key/game tree size. It does not apply to quantum computing, which has the potential to solve the problem in a number of operations related polynomially to the the problem size.

  191. Computers aren't better at chess by The+Iconoclast · · Score: 2

    It kind of pisses me of when people say that computers are better than humans at chess. Computers aren't better, they are different.

    The way computers play chess is that they brach down through all the possibilities untill they get to the limit of computing power. i.e. They will process down the tree until it gets to computationally intensive and time comsuming to warrant further branching.

    Good human players don't follow every path down, and they only look a few tuns deep into any path. They recognize similar board patterns to games in their knowledge and experience and extapolate likely outcomes from the similar positions.

    Until we can program a computers to win at chess that doen't use this "brute force" method of finding the best move, I can't be truly impressed with the computer's ability. Right now they have just made computers fast enough to think far enough ahead to approximate recognizing patterns in the pieces.

    A wealthy eccentric who marches to the beat of a different drum. But you may call me "Noodle Noggin."

    --
    Quando Omni Flunkus Moritati
  192. Re:Some Perfect... (correction) by David+A.+Madore · · Score: 2

    Sorry, URL missing. Should have used "Preview".

    Ken Thompson's web page is here and his page on chess endgames is there.

  193. Insoluble by mouthbeef · · Score: 2
    There's an excellent piece in the AI text "In the Age of Intelligent Machines" where the author discusses this very problem. He reaches the conclusion that chess is, in fact, unsolvable.

    This conclusion is based on a calculation that demonstrates that there are more possible chess games than there are hydrogen atoms in the Universe -- you'd have nowhere to store your candidate games while you evaluated their perfectness.

    Though, as someone pointed out upstream, there's no reason to keep every game in memory.

  194. Re:I don't understand the question. by pmc · · Score: 2
    . Make every possible first move for White. For each of those cases, make each possible first move for Black. For each of those cases, make each possible second move for White. And so on. Every game must end in White winning, Black winning, or a stalemate...Out of all those games, find the game in which White wins after the fewest moves. Call this WW. Find the game in which Black wins after the fewest moves. Call this BW. Find the game in which a stalemate is produced in the fewest moves. Call it SM. Let N(g) be the number of moves to conclude the game g.

    Sorry, this analysis is wrong. The number of moves is irrelevant. It's hard to explain without diagrams, but here goes. Suppose that 30 moves into the game Black had twenty different possible moves available. By searching the tree exhaustively he finds that 18 of these lead to a white win in 10 moves or less, one leads to a black win in at least 25 moves, and one leads to stalemate in next move.

    In this case we have N(WW) lt N(BW) and N(WW) gt N(SM) so according to your analysis the results is a stalemate, but actually Black wins if he makes the right move.

  195. Re:Solving Chess by drudd · · Score: 2

    1) Energy is conserved, so you can never "use up" all the energy in the universe, you have simply converted it to a different form.

    2) The problem is not really the computation time, I could set my little TI-82 at the task and have it finish in 10^100 years (pulled that out of nowhere). The problem is how do you store the results. If you have a very compact storage solution, where you only need a few hundred atoms per solution, you still need far more matter than we have available in our solar system.

    Doug

    --
    Venn ist das nurnstuck git und Slotermeyer? Ya! Beigerhund das oder die Flipperwaldt gersput!
  196. I've played some of the best. by thogard · · Score: 2

    I'm not sure they are human.
    Sure they can cope with rook to K3 but they are completely useless with in a game of 4-sqareso what does this leave? It laves the reality vs spcial training....

    In about 1978 I played the 5th ranked player in the US in the age group at the time (Bert Iz.*cwi.*a?) and he said I missed betting him by one move.

    He was rasied to play chess and he was good at it. He would have beeted my 10:1 at least (by my account) but I was rasied to build digital comptuters (thinks to some old bastards at NASA). I couldn't beet Bert at chess but I could program a computer to beat him but what does that get me. A box that can bet Bert-- so what. I still want to build a machine that can out think him that that just isn't going to happen.

  197. Checkers == Draughts? by divec · · Score: 2

    Is this the same game? Played on a chess board but only using the white squares, where pieces move one square diagonally forwards and take by hopping over their victim, but can move diagonally backwards too once they've reached the far end.

    --

    perl -e 'fork||print for split//,"hahahaha"'

  198. Re:Chess vs Go by quadong · · Score: 2

    While creating a program and system that could handle a perfect game of chess would also allow it to be the best chess player possible, I do not believe that quality of game play is the objective here. Since the goal is to _solve_ the game, that is, know every posible move and determine who wins when both sides are aware of these moves, reaching this goal is theoretically within reach for the game of chess. On the other hand, we cannot possibly hope to solve the game of Go in the near future, because it is so much more complex.

    If the ultimate goal is to solve both games, chess should be the first to be tackled, _because_ it is easier. Sure, people shouldn't stop writing Go programs, but they also should realize that the goal of Go programs at this point in the history of computing is to play better, not to solve the game.

  199. Re:Solving Chess by quadong · · Score: 2

    I would like to see a derivation of this number. Could you please explain or link to one? (I just don't like accepting bare numbers as truth without any backing, I am not trying to be nasty here.)

    Thanks.

  200. Re:how to determine the perfect game of chess by quadong · · Score: 2

    Too bad. However, if there were an infinite number of monkies, they would have no need for canabalism, since they would finish immediatly (or rather, the amount of time it takes a single monkey to type it perfectly from beginning to end).

  201. Re:Perfect Game by quadong · · Score: 2

    Not true. Do you remember those stupid "bunch of things, each move you have to take some, the last to take one loses" games?

    If both players have full knowledge of the game, the first (or the second, depending on the exact rules) always wins.

  202. Some thoughts by Old+Wolf · · Score: 2

    A different way of tackling this problem would be to start from the end and work backwards. How many legal board positions are there? It is certainly less than 13^64 (13 possibilities for a square, 64 squares) - much less than the 35^100 someone suggested.
    I am assuming the same position will not be reached twice (if it were then we could cut out that section and still have the perfect game).
    [Note for experts: I ignore the (relatively rare in this context) cases where the same board position has different move possibilities, and the case of draw by repetition).
    I am sure that this 13^64 can be quickly reduced (eg. by noting there must be at least 32 blank squares) - but I will not do that here.

    One could begin to assemble a tree backwards, by finding each legal position and linking it to ones that come after and before, until eventually the initial position were reached.

    This of course does not escape the storage problem.. one figure i will quote is that a database exists for all possible games where it is down to 5 pieces total or fewer - this takes up 20gb of storage.

    One also may be able to "classify" a large number of positions, and maybe even to create a hash that will identify classes of positions which all have the same assessment - this would alleviate the storage problem.

    As to the result of the perfect game? Going by my chess experience, I would wager my life savings that it is a draw. There are just SO MANY final positions which are drawn due to lack of material. I cannot believe that white can force a win from the initial position, and i am certain that black cannot. An evenly matched game can only have an even result. The "best" game would have no clever sacrifices or traps, because the "best" line for the other player would preclude this. In fact, i think the "best" game would be exceedingly boring - and players would not play it exactly for this reason!

  203. "solving" chess... by Chilles · · Score: 2

    What would really be interesting is an algorithm-like solution of chess.
    A (small) set of rules that provides an immediate and ideal answer to any possible move by the other party.

    It is highly improbable that there will be one "ideal game" (ie one fixed sequence of moves to be made by either color to win the game no matter what the other color does). But a set of rules on how to respond "ideal" might actually be possible.

    And then maybe the storage space required to hold this set of rules will actually be smaller than some weird number like the amount of hydrogen atoms in the known universe or whatever. That would be a "giant step for chess-player-kind" (and probably still a pretty huge step for one chess player)

  204. Re:I don't understand the question. by cybaea · · Score: 2
    (I think ... IANACP, so maybe there are situations of infinite recursion. Can a chess game be chaotic?)

    Short answer: No, unless both players want it.

    According to the rules of chess you may claim a draw at the third repeat of any position. This means that there are no infinite games if any one of the players claims the draw.

    However, the draw is not automatic, so I guess that with suitable co-operation you could have an infinite game.

    1. d4 d5 2. Qd3 Qd6 3. Qd1 Qd8 4. Qd3 Qd6 5. Qd1 Qd8 ...

    Assume for the purpose of solving the game that player will claim the draw.

    --
    Hi!
  205. Clarification: "Solve" by kevin805 · · Score: 2

    This has been mentioned, but I'd like to take a crack at an explaination that might make sense to people who still don't get it.

    You've seen chess problems, where you're given a board set up, and it says, "white to play and win in one". Which means, white can checkmate on the next move. When you see "white to play and win in two", it means that you make your first move so that whatever move black makes, you can checkmate them the move after that.

    To Solve chess means to find the solution to one of the following problems:

    1. From the initial board set up (all pieces in their original positions), find the answer to "white to play and win in n", where n is maybe 50.

    2. From the initial board setup, find the answer to "white to play and draw in n".

    3. From any of the 12 possible positions after white has made its first move, solve "black to play and win in n". Repeat this for the 11 other positions.

    4. From any of the 12 possible positions, solve "black to play and win in n".

    Since chess is a game of complete information, it's likely that there is a solution to one of these four problems. There might be more than one. There can be a solution to both 4 and 2, but there cannot be a solution to any other combination of these -- they are mutually exclusive.

    If I remember my game theory correctly, any game of complete information is solvable, so one of these is the solution. No one knows which it is (although 1 and 2/4 seem more likely than 3, just intuitively.)

    Funny that this was posted today. I'm working on a project for my CS class to write a program to play a simple contrived game well. We still aren't able to search the whole game tree, even for a simple game. I suspect a high end PC with a lot of RAM and hard disk space could solve it, but we don't have the time.

    --Kevin

  206. Take the best player in the world and . . by Money__ · · Score: 2
    . .ask him to play a computer(http://www.research.ibm.com/deepblue/). If the computer wins, is it a perfect game?

    In 1997 Gary Kasparoff took on a computer built by IBM (called deep blue) and lost. Details on how the system works can be found here:http://www.research.ibm. com/deepblue/learn/html/index.html
    ___

  207. Re:Always take Woopie . . by Money__ · · Score: 2

    . .in the center square.
    ___

  208. You have the logic of klingon! by Commienst · · Score: 2
    Uhh...

    "You get to think of what you would do in 's place, and if they do it and succeed, your though process has been vindicated, but if they fail, you'll know not to do that and why in one of your games. "

    You can do that while you play someone too, which would be more fun than watching. Two uber powerful computers playing each other though is interesting (not so much fun), so is watching a human chess champ play a supercomputer (that happened and it was intriguing).

    --

    I am into the copy and paste.
  209. Re:I don't understand the question. by Raindeer · · Score: 2
    There is already a perfect strategy for each player in noughts and crosses (tic-tac-toe); AFAIK it leads to a draw. (Some people say that the first player can always win, but this seems to be an urban myth.)

    It is an urban myth and it can be easily demonstrated by an 11 year old kid that it is impossible to win. Actually that is what is being done in classrooms all over the world. I still remember the tic-tac-toe sessions in primary school. There is one course of action with a higher likelihood of winning and that is starting in one of the corners. If the other player is inexperienced or stubborn, that might give a chance of winning.

    Chess would probably be subject to the same problem, since both players would know all possible outcomes and the paths leading to them, they would try to steer it such that their chances of winning are the highest. Problem is that both want to win and that they will therefore in the end settle for a draw, because that is the highest either one will be able to get. Ofcourse this carries the assumption that the game cannot be determined from the outset by the first move that has been done.

  210. not quite perfected... by DrEldarion · · Score: 2

    I know someone who made a chess program in his CompSci class... he programmed an AI for it and everything, but for some reason it started to play the opposite of the perfect game... it would *TRY* to lose... even if you just had your king left, it would just sit there and move the same piece back and forth between two squares...

    If we can reverse this, does it mean that we'll have the perfect game? =)

    -- Dr. Eldarion --
    It's not what it is, it's something else.

  211. Re:Some numbers..... by Signail11 · · Score: 2

    It's bad form to reply to my own comment, but I'll add some more details. Schiener's argument on the basis that each operation must consume at least k*T (where k is Planck's constant and T is the temperature at which the operation is performed) makes several assumptions that are not neccesarily valid. By asserting that the mean free path of a particle is a limiting factoring for the operation (ie. in the movement for a particle between two distinct [non-quantum, physical] states) he implicitly assumes that the operation must be irreversible. This is false, as computers can be theoretically be constructued with reversible logic gates, from which all other operations can be synthesized. Additionally, even in the case that k*T consitutes a valid lower bound, the temperature of the cosmic background radiation (~2.3 K) is irrelevant. Systems can be cooled to lower temperatures; there is no neccesary lower bound to how close one can bring a system to absolute zero (without reaching it, of course).

  212. Anyone seen wargames? by fluxrad · · Score: 2

    This is sort of a "what's the big fucking deal" type post to me. Chess is a game. If it's solvable then no one would ever want to play computers at chess...and who wants two see "Deep Blue" and "Deep Green" go at it in a perfectmatchup.

    Computers are still not as good as humans. Here's a tidbit of information. Deep Blue did beat Kasparov a year or so back. It was all over the papers in the whole "machine beats man" sort of thing. What most failed to mention was that the original Deep Blue had beat everyone it had played with the exception of Kasparov. When IBM went back to the drawing board. They altered some of the algorithms to specifically beat Kasparov. So we can pretty much assume that if Blue played another international grand master...it might very well lose.

    By now you're asking...what's the damned point?? The point, my friends is this, one flaw is that chess is a very human game. The reason Kasparov beat Deep Blue in the first place. Because a computer can play a perfect game of chess against another computer. We're talking about calculating the best move in a given situation based on probabilities calculated 30-40 moves ahead (more realistically 10-20). But that totally removes the human element of chess....which is arguably the best element. While you can guess what your opponent is going to do on his next move...based on what you determine to be the best move...you can never say for certain! Every single move/counter move alters the game completely. GOOOOOOO HUMANS!!!!


    FluX
    After 16 years, MTV has finally completed its deevolution into the shiny things network

    --
    "It is seldom that liberty of any kind is lost all at once." -David Hume
  213. Re:Some numbers..... by jbarnett · · Score: 2


    No Beowulf cluster is going to crack this, so stop thinking it could: distributed.net is managing a problem of order 10^20.

    Who says it has to come to a solution in our life time? It would be cool for the next few generations to see on the news in 3000 (assuming they didn't all did from the Y3K problem or the 2038 problem) to hear

    "This week the dischess project completed and unrealved the prefect chess game today. The final computation was completed by a home PC with only a merger TY CPU running at 2500 THZ and a only 32TB of main memory, it is good to see slow machine still capable of running something productive."

    I am not saying that it is practical today to start this type of project, it should be started, even if they know we won't see the results before we die, it would still be cool. Plus if you get a bunch of engineers, CS and grandmasters in a room with a massive cluster, something Good has to come out of it, even if they don't find the prefect chess game.

    Go back to the PD11 era and tell the brightest CS that computers would be able to generate 3 hour fully CGI 3D movies in the matter of 6months-1year.

    --

    "`Ford, you're turning into a penguin. Stop it.'" -THHGTTG
  214. Re:Perfect strategy for tic-tac-toe by IO+ERROR · · Score: 2
    Move 5 is wrong in your example. X needs to block O at left center, then O blocks X at right center, and from there nobody can force a win.

    You're right. It took me almost 20 minutes to get that formatted inside this small box, some 15 previews, and a lot of pain. I was bound to make a mistake. Thanks for catching it.
    ---

    --
    How am I supposed to fit a pithy, relevant quote into 120 characters?
  215. I don't understand the question. by IO+ERROR · · Score: 2
    Seems to me that if you want white to win, you just have black make extraordinarily bad moves. Vice versa for vice versa.

    What exactly does it mean to "solve" the game of chess? After all, there are widely published sequences of chess moves which lead to a given outcome. Any chess book will illustrate a number of them.

    Does it mean that before you start playing you can mathematically prove what the outcome will be? I suppose if both players are computer programs with their source code published, this could be done. But then you're analyzing computer programs rather than the game...

    So I guess I don't understand the question.
    ---

    --
    How am I supposed to fit a pithy, relevant quote into 120 characters?
    1. Re:I don't understand the question. by IO+ERROR · · Score: 2
      AFAIK 'solving' the game of chess means finding a perfect strategy for both players, a strategy which would have to work out all the possible cominations in advance and plays the best move. If both players did this and neither made a mistake, what would the outcome be?

      I dare say the fastest way to solve this is rather low-tech: stick all the grandmasters in a room with a bunch of chess boards and a truckload of Jolt...

      After all, if you're looking for a strategy to win every time if you are (white|black), this is quite different than a sequence of moves. The aforementioned grandmasters could probably provide a lot of insight into this.

      But if we're talking about a "perfect" sequence of moves made by white, played against a "perfect" sequence of moves made by black, with neither player making a "mistake," then a computer might be able to solve this.

      The major stumbling block is defining what a "mistake" is. After all, there are numerous points in a game where one might make an unorthodox move. I believe these are called gambits. A computer might rate one of these gambits as a mistake, when in fact it is the key to winning the game. Some of these gambits might even involve sacrificing a piece, which a computer might rate as a "mistake."

      So now I'm down to the question: what is a "mistake"?
      ---

      --
      How am I supposed to fit a pithy, relevant quote into 120 characters?
    2. Re:I don't understand the question. by gilroy · · Score: 2
      Chess is a game solvable in principle -- there is a "best" first move for white, etc. Look at it this way:

      Imagine having God's own Beowulf cluster. Make every possible first move for White. For each of those cases, make each possible first move for Black. For each of those cases, make each possible second move for White. And so on. Every game must end in White winning, Black winning, or a stalemate. (I think ... IANACP, so maybe there are situations of infinite recursion. Can a chess game be chaotic?)

      Out of all those games, find the game in which White wins after the fewest moves. Call this WW. Find the game in which Black wins after the fewest moves. Call this BW. Find the game in which a stalemate is produced in the fewest moves. Call it SM. Let N(g) be the number of moves to conclude the game g.

      Due to HTML, I have to use "lt" and "gt" for "less than" and "greater than".

      ** If N(WW) lt N(BW) and N(WW) lt N(SM), then White will win.
      ** If N(WW) lt N(BW) but N(WW) gt N(SM), then Black will cause a stalemate.
      ** If N(WW) gt N(BW) and N(WW) gt N(SM), then White will cause a stalemate.
      ** If N(WW) gt N(BW) and N(WW) gt N(SM), then Black will win.

      Since at every move, each player will take the move that leads to the most favorable outcome in the fewest moves, and since there is no element of chance in chess, the "best" game is predetermined. Given infinite knowledge -- or even just the really huge knowledge implied by knowing all possible chess games -- the game is "solved".

      As noted, the key thing is the completely deterministic rules of chess. Given any initial board, all possible future derivative boards can be known, at least in principle. If both players have access to this database, then the requirement that they try to win forces them to make predetermined moves and thus makes the game automatic.

      That's why I don't play chess. Well, that and the fact that any five year old could whup me at it. :)

    3. Re:I don't understand the question. by Ed+Avis · · Score: 3
      What exactly does it mean to "solve" the game of chess? After all, there are widely published sequences of chess moves which lead to a given outcome.

      There are published sequences of moves for both players. But there is not a published strategy for white which will always win, no matter what moves black plays. This would of course be an impossibly enormous task, at least using conventional computers. (Work out the number of possibilities, even approximately, after twenty moves.)

      AFAIK 'solving' the game of chess means finding a perfect strategy for both players, a strategy which would have to work out all the possible cominations in advance and plays the best move. If both players did this and neither made a mistake, what would the outcome be?

      There is already a perfect strategy for each player in noughts and crosses (tic-tac-toe); AFAIK it leads to a draw. (Some people say that the first player can always win, but this seems to be an urban myth.)

      --
      -- Ed Avis ed@membled.com
  216. Perfect strategy for tic-tac-toe by IO+ERROR · · Score: 2
    Yes, there is a perfect strategy. It goes something like this:

    ...... ...O..O..O..OX.OX.OXO
    .X..X..X..X..XXXXOXXOXXOXXO
    ...O..O.XO.XO.XO.XO.XOOXOOX

    ---

    --
    How am I supposed to fit a pithy, relevant quote into 120 characters?
  217. Using Trees Aren't an Option by Enonu · · Score: 2

    A lot of posts here deal with the impossibility of a brute force attack in repsect to a perfect game. Citing examples such as the amount of energy from the sun, 34^100 nodes, and other crazy numbers seem abound here. However, to put things in perspective, take Kasparov's mind. How many atoms do you think that's made of? How many atoms in that gray mass of his are actually working on solving a particlar game of chess? I'm not suggesting that his games are perfect, far from that, but if the human mind were to be modeled someday, and then perfected for a game of chess (true AI), computers would come very close to producing a perfect game. Heck, if quantum computing ever gets off the ground in a pratical means, maybe the question will become moot, and other recursive problems like "What will LA look like after a 30 mega ton nuke is dropped?" will be the challenge. Peace, Nic

  218. Re:Why tackle Go instead of Chess? by Lowther · · Score: 2

    As I mentioned before, Go has a even larger branching factor than chess which does some implications. A brute-force search method cannot be used in Go.

    We are nowhere being able to 'solve chess' by brute force methods either.

    Computer chess then can be based on pattern recognizationWhy is this not true of Go ? The answer here is that chess has been studied systematically, by more people, and for longer. It has a much more active press, with more published works by several orders of magnitude than Go. There are more players studying chess than Go. Programmers of chess computers have much more to work with than programmers of Go programs. Hence a chess machine that can give Kasparov a hard time on a good day. The equivalent published body of work does not currently exist for Go.

    Computer chess then can be based on pattern recognization.

    This is an amazing statement ! Have you ever played chess, or even seen it from a distance ? Or are you suggesting that there are no patterns in Go to recognise ? Or are the patterns not so well understood outside a small elite who are shy of publication ?

    --
    Stephen Hawking has written another book. It's about time as well.
  219. Formatting? by gilroy · · Score: 2
    Quoth the poster:
    Actually you could have used with surprising ease.
    I had thought so too, but Preview was doing weird things with it... Indeed, here, the brackets obliterated the word "and". Are there escape characters I should know about?
  220. interesting by dirtmerchant · · Score: 2

    the concept of a distributed.net approach to this is intriguing. probably as close to applying open source techniques to this game as we can get.
    -----BEGIN GEEK CODE BLOCK-----
    v.3.12
    GCS d-(--) s+: a-- C+++$>++++$$ UL++$>++++$$ P+>++++$ L++>++++$ E--- W++$>++

  221. Why tackle Go instead of Chess? by yjlim · · Score: 2

    *sigh* Hopefully, this should be the last thing I will append onto my own thread.

    For a complete survey of Computer Go hit this link where I got most of my material.

    As I mentioned before, Go has a even larger branching factor than chess which does some implications. A brute-force search method cannot be used in Go. This implies a whole paradigm shift in tackling Go. Second, this means that perhaps even when faster machines appear, they might not improve a Go program's playing ability by a lot. Rather, to improve Go programs would require improving the algorithms.

    So why tackle Go instead of Chess? I feel that to make a computer play Go effectively you would need to be able to recognize patterns and act on intuition due to its impossibly large search space. i.e. brute-force searching is secondary (you still need it to determine life/death of groups) in this case. You need to incorporate tons of knowledge into Go programs, much more than you would need in Chess programs. In addition some form of functional approximation (neural networks?) will be needed to abstract all the knowledge and apply it effectively on the board. Unfortunately, many experiments involving neural networks and Go have been failures. This suggests that some new technique will be required to play Go well.

    If this technique is found, the same method could possibly be applied to many areas that other people have brought up in this thread. e.g. Computer chess then can be based on pattern recognization and these programs will probably play more "human-like" and Computer vision problems can (big perhaps) can benefit from this.

    On the other hand, solving chess would simply require many many more machine hours of number crunching and would have applications to other fields of computer science.

  222. Too easy for machines by WolvesEatSheep · · Score: 2

    To explain this article a little better, here is what the distributed method would be doing: building the world's hugest opening game database. That is it. It would be running an alpha-beta pruning mini-max algorithm with hash tables so many times to create a huge database. Then, this database (probably, I don't know, maybe 500 mb?) could be used so that search trees would never be used again on chess. The best move for every position, in all cases, for all sides. This would only work if it were completely solved, of course, because a computer who knew only the absolute best path could be beat if someone played an inferior path. Yet, this would be very intresting. It would be the *end* of computer chess. Never again would Kasparov play deep blue, only inferior humans would challenge each other, since machines would think it to be trivial.

    --
    -------------------------------------------------- Tambourines and Elephants are playin' in the band
  223. Re:Solving Chess by Skuto · · Score: 2

    Not really. Knuth & Moore have proven the lower bound of the number of positions to be looked at, in order to prove the value (win/loss/draw) of a certain position as:

    b^floor(d/2) + b^ceil(d/2) - 1

    where b equals branching factor and d equals ply depth

    If you know that b = 38 for chess, and the average chess game lasts 40 moves (d=80), you will see that even with a pruning technique that always reaches this minimum, the number is still terribly LARGE.

    A better pruning technique would improve pratical performance of chess-playing programs, but would not make the game more solvable.

    --
    GCP

  224. perfect chess.... by acehole · · Score: 2

    Give me 1000 Chimps, one chess board and a video camera.

    well they wouldnt come up with the perfect game of chess, but it would be a hell of a good entrant for funniest home videos.

    --
    Be you Admins? nay, we are but lusers!
  225. Re:Some numbers..... by LilBlackKittie · · Score: 2
    Sure, people didn't think we could do CGI movies back then. But that's only because we thought it would take hundreds or thousands of years to make one of those movies. What I'm talking about here is quite how much bigger 10^100 (or that order) is compared to anything imaginable... THz isn't even close to the speed you'd need...

    Let's imagine we have a computer chip that clocks an impressive 1,000,000,000,000,000,000,000,000 Hz (10^24, or 10^12THz), which is a LOT of noughts faster than anything around today (and given Moore's Law, it'd be a long time before we see anything like this). Now let's assume that each person on the planet (population of the Earth is, say, 1,000,000,000,000 (10^12), which is about 200 times what it is today), owns a planet which has 1,000,000,000,000,000,000,000,000 (10^24) computers, each with 1,000,000,000,000,000,000,000,000 (10^24) of those nippy chips in it as part of an SMP sort of array... And let's assume each instruction cycle evaluates 1,000,000,000,000 (10^12) nodes in the chess game graph (they're custom chips with crazy super-scalar-oojimaflipsit pipelining and parallelism, ok?)...

    It's still going to take about 100,000,000,000,000 (10^14) times longer than the age of the Universe so far (and that's before you factor in all the communications overhead, the fact that these computers would take more energy than there is in this Universe, the amount of silicon or other semiconductors we used, the fact that most of the planets just collapsed into black holes, yada yada).

    -- Maz
    Holding out some hope for running Quake 666 on that lil' cluster...

  226. Re:Chess has already been conquered. Humans lose! by Anonymous Coward · · Score: 3

    All I can say is, Bollocks!! While it is inevitable that computers will eventually clearly stronger than the best humans, this is not the case now. Kasparov-Deep Blue was hardly convincing. As for advancing chess, what human and computer players actually do are so different from each other that it is hard to imagine one learning from another. Computers will be stronger simply because they calculate longer and accurate variations. Human capacity to calculate variations won't get any better, we will carry on using intuition and judgement like we always have. Even games between the strongest chess programs are full of terrible positional and strategic mistakes,this will probably always the case. Human games are full of tactical mistakes. They always will be. Unfortunately, tactical mistakes are more devastating as the punishment is immediate.

  227. Re:Perfect Game by Anonymous Coward · · Score: 3
    I think that people around here don't quite understand the term "perfect game" The perfect game would be a set of moves that always wins, no matter who/what was playing against you. This can only be calculated by recursivly trying every possible move. The number of possible moves in a chess game is completely astronomical, and I doubt we have the computing power to do it yet.

    A perfect game by both sides might result in a stalemate; I'm not sure anyone really knows. In game theory, you try to find optimal strategies for both sides. An optimal strategy satisfies the property that if one player deviates from the optimal strategy and the other sticks to it, then the latter will always do better because of the former's poor decision. Thus between any two sufficiently intelligent players, there is an equilibrium in which they know they have to stick to a well-specified strategy because they know their intelligent opponent can take advantage of any deviation from the optimal strategy. (In a game with a score, the latter will win by a bigger margin---and if the game is biased (for example by one party being forced to make the second move) the underpriveleged player will at least know that deviating from the optimal strategy results in a bigger loss so long as the other player is smart enough to stick to his/her optimal strategy). The key assumption here is that the other player is intelligent enough to exploit your failure to follow the optimal strategy; if he/she isn't, and doesn't know his or her optimal strategy, you can trick them in various ways with sub-optimal strategies---and that's what actual chess is all about. Optimal strategies exist for sufficiently intelligent players in both sides in any two-player zero-sum (zero sum means their loss of points is your win of points) game. This is a theorem by Von Neumann. See The Theory of Games and Economic Behavior by Von Neumann and Morgenstern.

    Along these lines, in asking more game-theoretic questions about chess, it would be interesting to know if the leading player has a strategy available to always win and if the other player can always force a stalemate. Hell, I can't even think of an ironclad argument that the player who doesn't start can't always force a win. If either side stuck to these sorts of strategies, it would, in game theoretic sense, be a game played perfectly by one side, even if it resulted in a stalemate.

    BTW, we don't have the computational power to check all possible moves yet, and, unless we develop an approach to non-deterministic computing I doubt we ever will. We are talking about particles in the universe type numbers here. This would be an extremely nasty exponential time problem.

  228. On some Go endgames computers can outplay humans by tilly · · Score: 3

    In fact there is a mathematical theory that most humans don't learn which in a significant portion of endgames can determine who wins the last point.

    Of course in general we don't know how to get computers to win at Go. What we do know is that the technique used in chess is useless because of the branching factor. The state of the art of chess programs today is not much better than it was 20 years ago. But they can throw more computational power at the same problem and that makes the difference.

    Even with Moore's law, raw computational power will not suffice to become good at Go within the next few decades.

    Cheers,
    Ben

    --
    My usual seat in the cluetrain is at A HREF="http://pub4.ezboard.com/biwethey.ht
  229. Just some tasty AI morsels by x+mani+x · · Score: 3
    -Deep Blue's algorithm allowed it to think 11-ply forward, that is, it would create a game tree with depth 11 (this is enormous, considering the massive branching factor of chess, and I bet they used some hacks to reduce the branching factor, ie get rid of trivially bad moves). Kasparov said he can "think" 7-ply forward, which is (by his account) partially why he lost.

    -There is still no simple/elegant solution to AI Chess. This is why chess is a realm essentially abandoned by the AI community. There is no decent uniform solution to chess around (whether it involve genetic algorithms, neural nets, or game trees). Deep Blue, while very effective, is apparently full of messy hacks and different AI techniques. And because it uses search trees, it does not run in linear time, like the following example ...

    -checkers, on the other hand, has a beatiful solution that works quite well. let me quote Russel & Norvig's excellent Artificial Intelligence: A Modern Approach:


    Beginning in 1952, Arthur Samuel of IBM, working in his spare time, developed a checkers program that learned its own evaluation function by playing itself thousands of times. [...] Samuel' program began as a novice, but after only a few days' self-play was able to compete on equal terms in some very strong human tournaments. When one considers that Samuel's computing equipment (an IBM 704) had 10,000 words of main memory, magnetic tape for long-term storage, and a cycle time of almost a millisecond [!!!!!!], this remains one of the great feats of AI.


    -solving the game of Go seems to be even more difficult than chess. There is a $2,000,000 prize for the first program to defeat a top level player.

  230. Arthur C. Clarke story on the solvability of chess by rbw · · Score: 4

    this probably isn't the most relevant post, but some may find it interesting...

    when Deep Blue and Kasparov faced off some time back, IBM had some "guest essays" up on their site... my favorite was Arthur C. Clarke's essay/story piece. take a look.

    -rbw

  231. Solving Chess by Jonathan · · Score: 4

    Heck, people haven't even solved checkers yet, despite a popular misconception to the contrary that an early 60's program played "perfect checkers" (it didn't, it was merely the first checkers program that was any good at all)
    Click here for a discussion of the practical problems involved in solving the chess or checkers search tree.

  232. Some Perfect endgames are known by David+A.+Madore · · Score: 4

    A few posters have pointed out at the incredibly large number of possible games of chess. However, determining the optimal strategy does not require analyzing every game but "only" every single move from every configuration (still a rather large number in the ten-to-the-fourty's).

    A few perfect endgames are known, however. That is, when only a small number of pieces are left on the board (five, I think, or pehaps only four in some situations), we have some gigabyte-sized tables which will give the optimal solution. Such tables are available for the Chess program "crafty" (semi-free I think; I don't remember the URL but it should be easy to find): so not only will the program play perfectly (if the tables are installed) at endgame, but it will also be able to make use of the tables a few moves before that to prune its search tree (so it can sometimes claim a mate in 30 or some crazy thing like that).

    (Talking about crafty, I'd like to hear some comparison between it and the new version of GNU chess. Does anyone have data here?)

    Playing chess against a perfect algorithm must be weird. Suppose the optimal solution is a win for white, say: then the perfect player would make its first move and announce "mate in 58 moves" (say). You make your move, and he announces "mate in 54": ah, well, you didn't do as good as you could have, some move would have let you remain alive for 57 more moves. And so on, you could see your "time to live" go down and down as you make those moves. Really weird.

    Inventor of Unix Ken Thompson has always been very interested in chess (he was involved in some way in the Deep Blue event, I don't recall how, exactly). His web page has this table of chess endgames on it. Can someone figure out how it works? (I couldn't.)

    From chess we can move to other games. The book you want to read is Winning Ways by E. Berlekam, J. H. Conway and R. Guy. It is the ultimate reference bible in combinatorial game theory (unfortunately, volume 1 is out of print; but you can still understand much of volume 2 without it; in it you will learn optimal solutions for a certain number of games, including some "classical" games (that is, not specially constructed so as to make this easy)). Really worth reading.

  233. Perfect Game by dalamar · · Score: 4

    I think that people around here don't quite understand the term "perfect game" The perfect game would be a set of moves that always wins, no matter who/what was playing against you. This can only be calculated by recursivly trying every possible move. The number of possible moves in a chess game is completely astronomical, and I doubt we have the computing power to do it yet. You figure there are 16 pieses to a side, each piece can move in several different ways, there is a different set of moves for each previous move... etc...

  234. how to determine the perfect game of chess by zog78 · · Score: 4

    I propose we chain a thousand monkies to chess boards to play each other for all eternity, constantly monitoring every move using highly sophistocated tracking equipment.

    Given enough time this method will undoubtedly determine the perfect game of chess.

  235. Some numbers..... by howard_wwtg · · Score: 4
    According to the Oxford Companion to Chess by David Hooper & Kenneth Whyld, the number of legal board positions is about 2 * 10E43.

    In a game limited games to 50 moves, with a very modest average branching factor of 15 moves per ply. Exhaustive analysis of this limited tree would require enumerating 10^120 nodes.

    One widely accepted estimate for the number of atoms in the observable universe is 10^80. If each such atom were a supercomputer capable of generating and evaluating 1 trillion board positions per second, and had been doing so since the Big Bang (say 20 billion years ago), only the tiniest fraction of the analysis would thus far have been completed.

    1. Re:Some numbers..... by LilBlackKittie · · Score: 4
      10^120 is big. Remember that most people believe 128-bit crypto to be "secure" (Bruce Schneier comments that a 200 square mile algae slick of IDEA cracking algae would still take 100 years to get the key)... and 128 bits is only 10^40... No Beowulf cluster is going to crack this, so stop thinking it could: distributed.net is managing a problem of order 10^20.

      That said, quantum and DNA computing bring an interesting light to it. Quantum would allow all the possibilities to be evaluated at once! All of a sudden, our exponential-time problem becomes solvable in polynomial time! DNA (I believe) cannot guarantee us the correct solution (excuse the pun), because in many ways it is "probabilistic" - you can set the probabilities as low as you like though, by using enough of the "reagents", but you cannot guarantee you have the perfect answer. [flame me if I'm wrong here! =]

      So yeah, it's more likely that people will be able to forge my PGP signature before they can solve chess.

      -- Maz

    2. Re:Some numbers..... by Hobbex · · Score: 5

      In the same chapter of Applied Crptography, BS goes on to calculate some theoretical maximum values for how fast a computer could perform a brute force crack, using thermodynanics to calculate the minimum energy necessary to change one bit.

      According to his calculation, a perfect computer kept at background temperature, powered by the energy from a perfect Dyson sphere around our Sun, could do 2^187 bit operations in a year.

      All the energy from a supernova could power such a computer to do 2^219 operations.

      10^120 = 2^398 is 8*10^53 Supernovas, or the annual output of 3*10^63 Sun sized stars. Something tells me that we can have as many quantum and DNA computers as we want, chess will hold out.


      -
      We cannot reason ourselves out of our basic irrationality. All we can do is learn the art of being irrational in a reasonable way.

  236. Chess has already been conquered. Humans lose! by Enigma2175 · · Score: 4
    I think the most interesting chess match in the future will be between 2 computers. Now that computers are better at the game, we humans are just going to stand back and watch as the computers advance the game. I think that 2 computers playing each other would get closer to the "perfect" game than we humans ever will.

    Now we need the computers to do it. Anybody care to hack together some code for a distributed network of chess computers? Once there is a good following we can issue a challenge to Deep Blue, see if the distributed project can take the chess title!

    --

    Enigma

  237. Not true by p3d0 · · Score: 5

    You can get an exhaustive search of a tree without searching every node in the tree. Pruning techniques can remove many, many orders of magnitude from the amount of nodes that need to be search.

    Have a look at Branch and Bound for example.

    I have implemented a circuit partitioning engine using branch and bound that only searched 1% of the possible partitionings, and was still guaranteed to come up with the same solution you get with a real exhaustive search. This was with very small circuits; the larger the circuit, the smaller proportion of the nodes need be searched.

    So, the raw number of possible games is not really an issue, even if you want to do the equivalent of an exhaustive search. If there happens to be a good pruning technique, the number of nodes in the tree becomes almost irrelevant. Branch and Bound may not work for Chess, but perhaps another technique would make the problem solvable by current technology.

    --
    Patrick Doyle

    --
    Patrick Doyle
    I mod down every jackass who puts his moderation policy in his sig. Oh, wait a sec....
  238. Chess vs Go by yjlim · · Score: 5

    Chess has been the focus of most of the AI research of western world for the last, I don't know, twenty or so years. It is fairly clear that computers have improved by leaps and bounds in this time. Computer programs running on Intel computers have beaten grandmasters in tournament time. (e.g. Rebel and Deep Junior)

    However, the game of Go/Weiqi/Baduk is a complex computational problem even when compared to chess as stones (pieces of Go) can be placed anywhere on a 19x19 board, making for a very large branching factor in the selection of each move, whereas pieces in chess are constrained to a much smaller set of legal moves (branch factor ~40). Go is also a loopy game, in other words, it has a game graph with cycles. (This occurs when you have double kos for example)

    The branching factor plays a major role in the different stages of both games (beginning, middle and end). In the opening stage of chess, there are many well-known openings (Ruy Lopez, King's Gambit, blahblah) and these are often followed by both players (including the computer who really loves it, who can forget the last game of Deep Blue vs Kasparov?) upto 10 or more moves. In Go, the number of sensible openings is much larger, and whole game openings are rarely followed for more than about 5 moves. However, there are sequences of moves in local skirmishes, known as joseki, that reflect local optimal play (for both sides) in tactical battles in the corners. Skill in the use of joseki libraries lies in selecting the right joseki to optimise interactions with stones on the whole board or diverge from the known sequence to serve other interests. In the endgame stage of Chess, massive databases have been made to solve specific endgames. Computer programs thus can effectively wait and see if its puny human opponent makes a mistake when it finds itself in a favourable position. In Go, to the best of my knowledge, there has been a lot of research that have produced very good (even locally optimal) Go endgame programs but none of the existing Go programs in the market play even a decent endgame.

    The quality of Go programs is looking better these days. The best programs can give an average amateur a good game at best. The ranking system of Go is (in ascending order), 30kyu-1kyu, 1dan-9dan (amateur), 1dan-9dan (professional). The highest ranked program Handtalk was awarded a 3kyu, but I remember reading somewhere that the author felt that it was due more to the fact that it was then the best computer program rather than its true ability that the Japanese Go association awarded the rank to it. (they are ranked around 15kyu in Internet Go servers) What does this entail? It means that you can pick up Go, play it for a about a month or so, and you can probably beat the best Go programs out there more then 50% of the time! Try doing that with chess!

    In conclusion, while chess and checkers have not been solved, it is my opinion that computers are already better then any human being. (can be argued against for Kasparov vs Deep Blue but we will leave that aside) The point of my discussion? Forget about pumping more man hours into chess and reach for the pinnacle of AI research, Go!!!

    That's my 5 cents.

    [No Flames Intended]