Unsatisfied with the present options for chess computers and preferring the feel of a real board and pieces, [Max Dobres] decided that his best option would be to build his own.
Light and dark wood veneer on 8mm MDF board created a board that was thin enough for adding LEDs to display moves and for the 10mm x 1mm neodymium magnets in the pieces to trip the reed switches under each space. The LEDs were wired in a matrix and connected to an Arduino Uno by a MAX7219 LED driver, while the reed switches were connected via a Centipede card. [Dobres] notes that you’ll want to test that the reed switches are positioned correctly — otherwise they might not detect the pieces!
Continue reading “Digital Opponent In An Analog Package”
The AlphaGo computer has been in the news recently for beating the top Go player in the world in four out of five games. This evolution in computing is a giant leap from the 90s when computers were still struggling to beat humans at chess. The landscape has indeed changed, as [Folkert] shows us with his chess computer based on a Raspberry Pi 3 and (by his own admission) too many LEDs.
The entire build is housed inside a chess board with real pieces (presumably to aid the human player) and an LED on every square. When the human makes a move, he or she inputs it into the computer via a small touch screen display. After that, the computer makes a move, indicated by lighting up the LEDs on the board and printing the move on the display. The Raspberry Pi is running the embla chess program, which has an Elo strength of about 1600.
While the computer isn’t quite powerful enough to beat Magnus Carlsen, we can only imagine how much better computers will be in the future. After all, this credit-card sized computer is doing what supercomputers did only a few decades ago. With enough Raspberry Pis, you might even be able to beat a grandmaster with your chess computer. Computer power aside, think of the advancements in fabrication technology (and access to it) which would have made this mechanical build a wonder back in the 90s too.
Continue reading “Chess Computers Improve Since 90s”
A lot of computers can play chess. [Matthew Lui’s] Giraffe is a chess playing computer, but unlike other common chess programs, Giraffe taught itself to play. It apparently learned pretty well, too, since it is rated as an International Master on the FIDE scale (putting it in the top 2.2% of players. The top chess playing computers clock in at super grandmaster level but they are not self-taught).
Continue reading “Computer Learns to Hack Chess”
You’re going to want to take a look at this fun project [Alistair MacDonald] just finished up. He calls it Ninja Chess.
He’s had the idea to 3D print a complete set of ninjas vs pirates for a chess board, but, let’s be real; printing thirty-two chess pieces would take a long time. He opted to use a laser cutter instead, and so far, only has the Ninja characters drawn. But it still makes for a pretty awesome chess board.
He drew the characters in Inkscape and they’re pretty darn cute. He has all the files available over on his Instructable including the .DXF for the laser cut outlines, and the image files for you to print off the decals. But unless you’re good with scissors, we recommend using your hackerspace’s automated paper cutter to help speed things up.
Is it a hack? Not really, but it’d be an excellent addition to anyone’s workshop. And while we sail under the Jolly Wrencher, we too can appreciate the novelty of a Ninja chess board.
For a more detailed build, did you see the 3D laser cut chess pieces we shared a few weeks ago? No that’s not a typo — you can use a laser cutter to do more than just two-dimensional cutting…
When you think of laser cutters, you generally don’t think of 3d parts. Well, at least not without using something like glue, nuts and bolts, or tabs and slots to hold multiple parts together. [Steve Kranz] shows you how to make these very tiny 3D chess pieces by making 2 passes at right angles to thick acrylic. The first pass cuts one side’s profile, then the part is rotated 90 degrees and a second pass is cut, giving the part more of a “real” 3D look, rather than something cut out of a flat sheet. If you’re having a hard time imagining how it works, his pictures do a great job of explaining the process. He even added some engraving to give the chess pieces for a selective frosted look. We think it’s a cool idea, and well executed too!
But that got us to thinking (always dangerous) that we’ve seen rotary attachments for laser cutters, but they are mainly for etching cylindrical objects like champagne flutes and beer bottle. What if you added a rotating “3rd” axis to a laser cutter that could hold a block of material and rotate it while being cut? (Much like a traditional 4th Axis on a CNC machine). Would the material also need to be raised and lowered to keep the laser focused? Surely software that is aimed at 3D CNC would be needed, something like Mach3 perhaps. A quick Google search show that there are some industrial machines that more-or-less do 3D laser cutting, but if you, or someone you know of, has attached a 3rd axis to a desktop laser, let us know in the comments, we would love to see it.
[Oriol Galceran] has constructed an interesting robotic chess player for his end of school project. It’s called the ChessM8, and is an impressive feat considering [Oriol] is only 17! He’s using an Arduino Mega that connects to the host PC via a Python script.
The AI can be any chess engine that uses the Universal Chess Interface protocol, which [Oriol] points out that most of them do. We’ve seen other chess robots here before, along with others that you can play on your wall and uses Nixie Tubes. But [Oriol’s] build is the largest of them all.
He says there’s a network of REED switches under the chess board to detect when a piece is present or not. It would be interesting to know how he dealt with debouncing issues, and if Hall Effect sensors might have been a better choice. Let us know in the comments how you would detect the chess piece.
And be sure to check out the video below to see the chess robot in action.
Continue reading “Lonely? Build Yourself a Chess Robot!”
We have covered many chess computers in the past, but we think this might just be the smallest. Enter the PIC Blitz: A tiny low-cost low-power computer that can play lightning chess.
It’s based on a PIC16F628A microcontroller, which only has 3.5kbytes of flash and a mere 224 bytes of RAM. For comparison, Boris (one of the first consumer chess computers), utilized an 8-bit microprocessor with 2.5 kbytes of ROM and 256 bytes of RAM.
PIC Blitz has a full fledged chess library: it knows all the moves, all the basic openings and even changes its evaluation function weights as the game progresses to keep the game interesting. The creator [Mark Owen] quips about some of the additional techniques he utilized to make up for the limited processing power; including “pondering time”, a difficult and slow user interface, and of course, a barely-comprehensible LCD.
If you’re interested he has released the files under Creative Commons, and has a link to the PCB layout on the project page – we won’t link it directly though, since it goes straight to a download.