Slashdot Mirror


Codename Brutus: Chess-Playing FPGA PCI Card

rockville writes "Brutus, a FPGA add-in PCI card developed by ChessBase and Dr. Christian Donnegar, just dominated a strong field of human players at a tournament in Germany. It's the first serious chess-playing FPGA architecture since Deep Blue was disassembled after its victory over Kasparov in 1997. Pictures of the card and a short description are here."

54 of 260 comments (clear)

  1. Et Tu Brute! by Anonymous Coward · · Score: 2, Funny

    Now, maybe I can get my friends to stop planting knives in my back during chess matches... ..oh wait. Damn.

  2. How long till.... by RevJim · · Score: 5, Interesting

    How long till chess players are banned from wearing watches, because Deep Blue et al will be shrunken to the size of a pea?

    1. Re:How long till.... by Dumbush · · Score: 2, Funny

      hmmmm... naked chess, I want to watch the females play

  3. And poor me by alexborges · · Score: 5, Funny

    I havent been able to beat gnuchess....:(

    --
    NO SIG
    1. Re:And poor me by SamBeckett · · Score: 2, Informative

      tarquin $> xboard -size small

      That will do the trick

  4. okay by Anonymous Coward · · Score: 4, Funny

    I for one welcome our new chess playing overlords!

    mod me -1 Redundant, dammit!

  5. how about... by 1ridium · · Score: 2, Funny

    a beowulf cluster of em....

    --
    Make it idiot-proof and someone will build a better idiot.
  6. The Solution by John+Paul+Jones · · Score: 4, Funny
    Microsoft needs to offer something like this, offloading worm/virus processing from the CPU.

    I bet they'd make another billion.

    --
    Feh.
  7. Slightly Off Topic by Davak · · Score: 4, Interesting


    As the power of computer "thinking" increases, I personally believe that a computer will soon be able to beat any human player by pure power alone. Chess will fail to be dominated by people.

    But what stands in its place? Forever I have thought of chess as THE place where the mind can still beat the computer in a game environment.

    What will be the next challenge? Where is there a game that requires the uniqueness of human thought over the pure power of computer calculations?

    Davak

    1. Re:Slightly Off Topic by VistaBoy · · Score: 4, Interesting

      The game of Go is extremely difficult to implement on a computer. I guess that's the next computing challenge.

    2. Re:Slightly Off Topic by Frostalicious · · Score: 3, Insightful

      Chess will fail to be dominated by people.

      I don't think there is an issue of who will dominate chess - man or machine. People play computers at chess for practice or fun, because people want it. Normal competitive chess will continue to be restricted to humans, as are most competetive games and sports.

      If there was some equal opportunity regulation for sports and games, the robots with the lazer beams would take over hockey, soccer, squash etc...

    3. Re:Slightly Off Topic by JExtine · · Score: 2, Insightful

      Go and Shogi ("Japanese Chess") have proven difficult for computers to master, with "average" players able to beat computer programs with ease. The strategies of Chess are pretty well defined, with Grand Masters easily able to say why one move is better than another. With Go, players simply reply that a move "felt right". Computers are getting closer and closer to dominating Human competition in Chess, but there are still many games where they cant compete with the masters.

    4. Re:Slightly Off Topic by Xerithane · · Score: 4, Funny

      Congratulations!

      You win the prize for being the first person to mention Go while being logged in in a chess story is this comment.

      --
      Dacels Jewelers can't be trusted.
    5. Re:Slightly Off Topic by greppling · · Score: 4, Informative
      I am reluctant to give the answer, as every timechess programs come up on slashdot, someone has to make a post referring to Go:

      Computers are still very weak at this Asian board game. And despite many people trying to make substantial progress with that. The best open-source one, GNU Go, is btw not very far away from the best commercial ones.

      There is a Go Wiki with, among other things, a short introdcution.

    6. Re:Slightly Off Topic by Gherald · · Score: 2, Interesting

      > What will be the next challenge?

      Solving the "problem" of chess for all possible solutions, of course!

      In particular, I'd like to see someone quantify exactly how much of an advantage White has if mathematically perfect moves are executed by both sides.

    7. Re:Slightly Off Topic by MagPulse · · Score: 4, Interesting

      The last games to be conquered by machines will be physical like soccer, or involve recognition of speech or visual information. Humans use their brains to their fullest in those activities; it's what they're best at compared to machines. When AI gets that far, if you believe in the Singularity, we'll be at it.

    8. Re:Slightly Off Topic by tshak · · Score: 3, Insightful

      But is it really the computer that's winning? It's one thing if all we do is give a computer the rules of Chess, and then see how it does. However, the computer is being told how to think and what to compute by humans. The computer is just automating (via opening/closing/midgame books, brute force, etc.) a human created algorithm. All that the computer has over the human is the speed of number crunching.

      --

      There is no longer anything that can be done with computers that is nontrivial and clearly legal. -- Paul Phillips
    9. Re:Slightly Off Topic by El · · Score: 4, Funny
      Where is there a game that requires the uniqueness of human thought over the pure power of computer calculations?

      Computers have never done well on "Jeopardy"; they keep forgetting to "please phrase your answers in the form of a question."

      --

      "Freedom means freedom for everybody" -- Dick Cheney

    10. Re:Slightly Off Topic by flooey · · Score: 3, Interesting

      What will be the next challenge? Where is there a game that requires the uniqueness of human thought over the pure power of computer calculations?

      My first thought would be Diplomacy, since success in that game is based on communication, deal-making and -breaking, and manipulating others for personal gain.

      There is currently a Diplomacy AI project based on negotiation-free (nopress) play, but even that is far more difficult than chess since you have six other players and all seven players move simultaneously. As well, since there are six other players, often times it will be in a player's best interest to forgo an opportunity to better one's own position in favor of an ally. When those times are, how you can tell who your allies are (and decide who they should be), and how to use those to decide on a "best" set of moves from a set much larger than the set of legal chess moves appears to be quite a challenge.

    11. Re:Slightly Off Topic by maxume · · Score: 2, Funny

      Don't you think that the computer might possibly be able to count cards as well? In a machine like manner even? And instantly calculate lots of ridiculous things? Card counters use lots of tricks to cut down on the amount of things that they need to remember/calculate...

      --
      Nerd rage is the funniest rage.
    12. Re:Slightly Off Topic by Paradise+Pete · · Score: 2, Funny
      Pitting a computer against a one who knows how to count cards might prove interesting, no?

      Why? Because computers are so bad at things like counting and keeping track of stuff?

  8. One crazy scientist! by trippinonbsd · · Score: 5, Funny

    Look at that guy, he looks like a mad scientist.

  9. Finally... by wolrahnaes · · Score: 4, Funny

    I was almost giving up on /.
    It's been days since we had an article about something that is really cool but useless for all practical tasks

    --
    I used to get high on life, but I developed a tolerance. Now I need something stronger.
  10. FPGA HW linked like Voodoo 2 by Anonymous Coward · · Score: 2, Interesting

    A note from the webpage (before it gets slashdotted) on why this implementation is "better":

    "An additional benefit of using FPGAs is that it is not just the search routines that are speeded up dramatically. Due to the sturcture of the code you can add chess knowledge in any quantity without slowing down the process. In regular PC programs each new quantum of knowledge is expensive - it is bought at the price of search speed. The FPGA program does not slow down when you add new knowledge modules."

    Beyond speculation, further development could involve a server version for a 64-bit PCI bus. Another solution would be to join multiple cards as was done with the Voodoo 2 way back in the day...

  11. Hmm by mkweise · · Score: 4, Funny

    Deep Blue was disassembled after its victory over Kasparov in 1997

    Kinda makes you shudder to think what they would've done to Kasparov if he had won...

    --
    Gentlemen! You can't fight in here, this is the War Room!
  12. Computers will never beat us at... by Scrameustache · · Score: 5, Funny


    Twister.

    --

    You can't take the sky from me...

    1. Re:Computers will never beat us at... by Scrameustache · · Score: 2, Informative

      Oh my god, do you ever suck

      No, and stop coming on to me you fag

      --

      You can't take the sky from me...

  13. FPGAs by Twillerror · · Score: 2, Interesting

    I think these are the coolest things to come around since high level languages.

    I've done some reading on VHDL and other languages used to program them. It would also be a fun hobby and a great way for open source to venture into the hardware realm.

    VHDL compilers are platform specific, so as the FPGA platform evolves the code written can be tweeked and recompiled to run faster on new chips. You could also take the compiled result and do additional tweeking to create an IC. It could also be possible to re-compile on the fly if the industry got standard enough, even running through an emulator if need be.

    FPGAs can even load new code as they are running, pretty fast to. So you could have librarys in memory and move them into the processors as they are needed. This allows for a much more complex program to be in hardware.

    Memory bandwith and memory in general seem to be some limiting factors, but are being addresses as they evolve. I think eventually they will be like a normal CPU, surrounding the FPGA.

    FPGA designs ( the fpga itself ) are usually a lot simpler then a normal CPU, so manufactoring them on smaller processes like 90 nm and lower will be easier, of course not a cake walk either.

    Check out http://www.xilinx.com for some products, they seem to be affordable for the average joe. I've read "Programmable Logic: PLDs and FPGAs" ( look on Amazon or your favorite reseller ), it was outdated, but a good introduction. There are some new books that I'm looking to get my hands on as well.

    I've done quite a bit of google searching, but haven't found a good "getting started with fpga" site. If anyone has some please reply with them.

    1. Re:FPGAs by FunOne · · Score: 4, Informative

      VHDL the language may not be specific, but to properly use/take advantage of an FPGA architecure it must be specifically targeted. Writing VHDL for implementation ( and not just simulation) requires targeting the specific final implentation (FPGA, CPLD, VLSI) and even the specific brand/type/etc.

      FPGA designs require dynamic processes (so that they can be reprogrammed) and highly regular, repetative, and predicatable implementation. That does NOT make them easier to change process with. Unlike memory/processors that can be reclocked or relabeled, the FPGA needs to be as exact as possible to get proper functionality out of it.

      If you want a good "Getting started with Hardware Design" I suggest attending a university for a Computer or Electrical Engineering degree.

      Coding VHDL for HW implementation is NOT easy, its not just VHDL->Synthesis->DONE. There is tons of testing and retesting to determine if it synthesized right, if its timed right, if its functional under all inputs/circumstances. Getting a properly simulated and funciontal VHDL design (in the synthesizable VHDL subset that is) is only step ONE of a design. You then have to get a design that is still functional that will synthesize. Then you have to get a design that is still functional that synthesizes that performs correctly.

      Its not the kind of thing that you can learn in 21 days from a Sams publishing book.

      --
      FunOne
    2. Re:FPGAs by seanadams.com · · Score: 4, Interesting

      I have quite a few books on VHDL and logic design and this one is absolutely the best book for a beginner:

      Fundamentals of Digital Logic Design with VHDL

      Based on little more than what I found in that book, I was able to implement my first chip, which is currently shipping in the SLIMP3 network music player. Managed to fit the design in a small XC95144XL CPLD, which handles memory buffering, DMA transfer, IR capture, and serializing of data to feed to an audio decoder.

      It starts with the most basic building logic building block and boolean algebra, and moves step by step from there to a basic CPU. Very well organized and easy to follow, with excellent examples.

      Please DO NOT start with the Xilinx Foundataion kit and the examples therein. It will not make any sense. Actually it'll make even LESS sense to you if you have any software background at all.

    3. Re:FPGAs by seanadams.com · · Score: 2, Insightful

      If you want a good "Getting started with Hardware Design" I suggest attending a university for a Computer or Electrical Engineering degree. .....Its not the kind of thing that you can learn in 21 days from a Sams publishing book.


      Get off your high horse, dude. It is NOT that hard to get started. With a good introductory book and a CPLD/FPGA demo board something like this, it is quite possible for someone who has never done logic design to get up to speed and crank out a few simple working designs after a couple weeks of study.

      I don't think the parent post was suggesting that learning how to make a high-speed, silicon-ready design is as easy as learning a new programming language, but there is a lot you can learn and do with VHDL on the way there.

  14. Crafty. by Night0wl · · Score: 3, Interesting

    This makes my thoughts return to Dr. Hyatt and his amateur program, Crafty. Under his personal operation he runs a copy on a Quad Xeon box, and apperently has been developing a Beo-Crafty rendition to play chess on a Beowulf cluster.
    It would be particularly interesting if this Beo-Crafty could be taylored to operate on a set of these cards. One nice hefty machine at the top level, and a slew of these PCI cards to do the real crunchy work.

    --
    Computational Madness in a round package.
  15. on the other hand by Trepidity · · Score: 4, Interesting

    Most people are exceedingly bad at Go as well. The top Go players are invariably those who have been doing essentially nothing but playing Go since they were 3 years old, leading many to hypothesize that the root of good Go play is essentially astoundingly good pattern recognition.

  16. Re:Deep Blue disassembled? by thorgil · · Score: 2, Funny

    Threat to humanity?

    --
    Warning: This sig contains a small bug. ==> *
  17. Competition between chess systems? by Anonymous Coward · · Score: 2, Interesting
    I know Kasparov is smart, and I know most everyone can beat me at chess, and I know that most of these specialized chess things need a team of people just to operate, but how do they fare against each other.

    Like, if you put Deep Blue against Gnuchess... or even Sargon II on the Vic-20... would Deep Blue win *every single time* in a trouncing defeat? Would some programs give Deep Blue/Thought a real challenge or just a good run on a fluke of the random number generator?

  18. Re:Fits in a standard PCI slot. by cybermace5 · · Score: 2, Funny

    It would also help satisfy your urge to spend more on your computer than you did for your car.

    (taking into account the average Slashdotter's vehicle)

    --
    ...
  19. In the future... by Ugodown · · Score: 2, Insightful

    I think that eventually, the question won't be if a machine can beat a human at chess, it will be who's computer can beat the other computer that can obviously beat a computer. And the pride will be in the design of the hardware and software that beats the reinging computer.

    --
    --- to swing on the spiral...
  20. That card is way too big... by 403Forbidden · · Score: 2, Funny

    que the anti-voodoo5 and anti-geforce5800 zealiots.

    "but but but.. it takes an ENTIRE PCI slot... where will i put my porn stash now?"

  21. Deep Blue was not dismantled by phr2 · · Score: 5, Informative

    It's in the Smithsonian and the hardware is more or less intact. It's in the typical condition of a decommissioned computer, i.e. you can't just flip a switch and start using it, but there's some chance that the folks who built it could get it working again sometime. This is described in the book "Behind Deep Blue: Building the Computer That Defeated the World Chess Champion" by Deep Blue's designer F.-H. Hsu. Hsu later got interested in building a Shogi (Japanese chess) machine using FPGA's. He says with today's custom VLSI, the equivalent of Deep Thought could be built on one chip and mounted in a compact flash card. You'd put the card into your Zaurus or Ipaq PDA and have a grandmaster-strength pocket chess machine. He put some effort into commercializing such a device but couldn't get enough backing so he went off to greener pastures.

  22. Its not about playing games by oolon · · Score: 2, Informative

    Chess grandmasters do not tune their skills by playing lots of games, how could the best player ever get better? The interesting part only occurs in the middle game. Most GMs learn by reading books and replaying of important games. Its about seeing the pattern and knowing how to counter it. This is exactly the kind of thing computers are good at. They don't have to be taught how to understand the game or how to put to getter some new stratagy, just want to do when something happens. This is why Gary Kasparov was so upset at loosing, the computer had been programmed to recognise all know plays and knew how to counter them. So it simply waited for Gary to make a mistake.

    James

    1. Re:Its not about playing games by Ninja+Programmer · · Score: 2, Insightful
      Chess grandmasters do not tune their skills by playing lots of games ... Most GMs learn by reading books and replaying of important games.
      What?!?! This is blatantly incorrect. Many of the world's top Grand Masters have accounts on ICC and play a lot. Certainly GM Alexei Shirov (currently ranked 7th in the world) GM Nigel Short (past World Championship candidate, and ranked 16th in the world) and GM Zong Zhang (ranked 33rd in the world) are known to regularly play lots and lots of blitz games on ICC to keep their skills up. Many of the other top players play under unknown handles, so that nobody knows who they are.

      The books are *WRITTEN* by these top GMs -- they have raw databases that they create themselves that are far deeper than just about any book on any opening system. It is also well known that they also use computers to check opening ideas.

      And in the endgame, besides trivial ones that can be stored on CD-ROMS (6 pieces or less) humans are *FAR* superior to machines. There are even some endings that *I* could play better than the best computers (I am rated about 1800.)
  23. Re:The real story.... by thebigmacd · · Score: 2, Insightful

    I'll bite, because the sarcasm (if any, I'm not sure) is too subtle...

    Field Programmable Gate Array mounted on a PCI card. Why do I sense criticism?

  24. Re:Deep Blue disassembled? by uradu · · Score: 2, Funny

    > Anyone know why Deep Blue was disassembled?

    Because, when Gary asked him for the last time to open the game, he replied:
    "I'm sorry, Gary, I'm afraid I can't do that." For some odd reason the chief scientist went nuts and spontaneously disassembled BB on the spot.

  25. Re:Fits in a standard PCI slot. by pbox · · Score: 2, Informative

    You mean the full board positions cannot be encoded in about 32 bytes (12 different figures=4bit * 64 squares = 32 bytes)? And the resulting move cannot be communicated back in less than 3 bytes? (from x=3bit + y=3bit + new_x=3bit + new_y=3bit)

    --
    Code poet, espresso fiend, starter upper.
  26. Re:Fits in a standard PCI slot. by SamBeckett · · Score: 2, Informative

    You need more than 12 bits to store a move-- en passant captures, castling and pawn promotions have to be handled seperately.

  27. 12 bits for a move, 276 bits for a board by mec · · Score: 2, Interesting

    I co-wrote a chess program on a miserably tiny piece of hardware once, so I looked into this.

    For representing the moves, the simple 12-bit scheme (from-square, to-square) handles en passants and castling.

    En passant example: white pawn on e5, black pawn moves f7-f5, white moves e5-f6. Unambiguous.

    Castling example, even easier: o-o is e1-g1 or e8-g8; o-o-o is e1-c1 or e8-c8.

    You can even do pawn promotion with 12 bits, if you adopt some clever encoding when the source square contains a pawn that is going to promote. If the source square has a pawn in it, then the second 6 bits are not a square. They are: two bits to specify left-ahead-right (instead of 6 bits of destination) and two bits to specify queen-rook-bishop-knight.

    In fact you can take this further and always encode the destination in 5 bits instead of 6, because given the source square you know what piece is on it, and there are at most 27 moves which a piece can make (queen in the center).

    That's 11 bits for encoding a move.

    Grab a few unused bit patterns for "offer draw" and the like.

    For encoding a board, you can use 4 bits per square to encode what is on the square. There are 13 things that can go on a square so you lose a little to rounding. You have to encode whose move it is. You have to record 1 bit each for the a1, e1, h1, a8, e8, and h8 squares to indicate if the piece on them has ever moved, for castling. You have to encode en passant information. That is 4 bits off the top of my head (once you know whose move it is, there are eight possible last-pawn moves that could be e.p.'ed, plus the possibility of no e.p., so 9 things to encode). You need the 50-move counter or whatever the limit is in FIDE rules these days, that's another 6 bits. And you need three-fold repetition counter, another 2 bits. And you need a bit to indicate whether the side that just moved offered a draw.

    So for the board: 4*64 (position) + 1 (move) + 6 (castling state) + 4 (en passant state) + 6 (50-move counter) + 2 (3-fold repetition) + 1 (draw offer) = 276 bits.

  28. The computer that's winning, or the humans that ma by Blue23 · · Score: 3, Insightful

    But is it really the computer that's winning? It's one thing if all we do is give a computer the rules of Chess, and then see how it does. However, the computer is being told how to think and what to compute by humans. The computer is just automating (via opening/closing/midgame books, brute force, etc.) a human created algorithm. All that the computer has over the human is the speed of number crunching.

    It's an interesting point. Depends on what you define winning as.

    If you are comparing the ability of own human to do something unaided vs. the ability of another human to build a tool to do the same, then the tool builders win.

    If you are comparing chess skill, then the designers need not have more chess knowledge then the master, they just have a different way of approaching the probelm. In that case, as a matter of pure chess skill, hte master "wins" over the human designers.

    *shrug*

    I don't think the question is all that important, except to illustrate that "the computer" doesn't win, it's merely a tool.

    =Blue(23)

    P.S. Of course, the computer is your friend, keep your laser handy.

    --
    LITTLE GIRL: But which cookie will you eat FIRST? C. MONSTER: Me think you have misconception of cookie-eating process.
  29. Re:Deep Blue disassembled? by afidel · · Score: 2, Informative

    Deep blue WAS helped by some very good chess players both as coaches and as members of the Deep Blue team. Basically the match was Kasparov vs a bunch of way above average chess players and one really honkin fast chess computer as an aid. And Deep Blue was never dismantled, half of it is at the Smithsonian intact, the reason they don't have both towers is they simply didn't have room for it all.

    --
    There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
  30. Anything you can do I can do better by SlashCrunchPop · · Score: 2, Funny

    Karpov saw this coming and competitive as he is, one day he asked me to try to fold him down to PCI form size. This was the first time in my life that knowing origami helped and although his ears were a big problem, somehow I managed to fold him down to PCI form size. OMG, he's still in PCI slot 5! No wonder I'm so good at Quake all of a sudden. Hmm, I wonder if I should get a heatpipe for him.

  31. Cars run faster than people, noone sweats it by tjstork · · Score: 2, Interesting


    Once upon a time, people used to have a thing that brains and brawn were of roughly equal value. Then, in the industrial era, smart people made machines to replace brawn. Now, smarter people are making machines to replace smart people, so, that brawny people won't need smart people any more.

    At the end of the day, we'll all be like John Henry, maybe beating this year's steam shovel and dying for it, but, next year, they will make a better model.

    --
    This is my sig.
  32. Re:won't work by efishta · · Score: 2, Funny

    your brain is so deficient at chess it requires the equivalent of an external FPUs installed in it - wow, a step backwards to 386s.

  33. Diplomacy by alexo · · Score: 2, Interesting

    > My first thought would be Diplomacy, since success in that game is based on communication, deal-making and -breaking, and manipulating others for personal gain.

    Which AI agents already do.

    > There is currently a Diplomacy AI project based on negotiation-free (nopress) play

    You're a bit behind the times.

    When I did my B.Sc. (85-88), there was a computerized Diplomacy game run by Sarit Kraus that included AI agents as well as human players. All negotiantions were done on-line using a formal language that proved to be surprisingly expressive. One did not know who the other players were (or even whether they were human) until the game ended.

    I only participated in one game. At the end, we found out that there were 4 human players and 3 AI agents (playing independently), one of which won the game.

    I believe that Sarit and others made some progress in the 15 or so years that passed since then.

  34. Re:What about GNU Tic Tac Toe? by Xrikcus · · Score: 2, Funny

    Sleepy mood this morning I think ;) At times deleting comments would be nice...

  35. The better the better by m0smithslash · · Score: 2, Insightful

    As an at least average chess player, I feel that the better the computer, the better for me. BTW, by average I mean I win as often as I lose. I usually lose when I play the computer. Yet that is not the only reason, or even the best reason to teach a computer to play chess.

    Even better than playing a computer, is using the computer to analyze the game afterwards. The best way to get better is to learn from your own mistakes and those of your opponents. By having a stong, even grand master level, computer program look over the game you can learn a lot about why you lost or won. Imagine someone who can beat the world champion willing to go over your game with you.

    Humans will always have an advantage over computers until chess becomes "solvable". Until then, there will always be people who can keep the machines on their toes. Also, by giving the rest of us opponents of great skill to play, who are also patient enought to teach, we can all improve our game and improve the general playing level of chess

    --
    Your friend and well-wisher
    m0smithslash
    http://www.ferociousflirting.com