While chess had long been a domain where humans were superior to computers, the balance has shifted quite substantially in the computers’ favor. But the one thing that humans still have control over is the pieces themselves. That is, until now. A group has built a robot that both uses a challenging chess engine, and can move its own pieces.
The robot, from creators [Tim], [Alex S], and [Alex A], is able to manipulate pieces on a game board using a robotic arm under the table with an electromagnet. It is controlled with a Raspberry Pi, which also runs an instance of the Stockfish chess engine to play the game of chess itself. One of the obvious hurdles was how to keep the robot from crashing pieces into one another, which was solved by using small pieces on a large board, and always moving the pieces on the edges of the squares.
This is a pretty interesting project, especially considering it was built using a shoestring budget. And, if you aren’t familiar with Stockfish, it is one of the most powerful chess engines and also happens to be free and open-source. We’ve seen it used in some other chess boards before, although those couldn’t move their own pieces.
Continue reading “Play Chess Against A Ghost”
[RoboAvatar]’s Chess Robot consists of a gantry-mounted arm that picks up chess pieces and places them in their new location, as directed by the software. The game begins when the human, playing white, makes a move. When a play has been made, the human player presses a button to let the robot to take its turn. You can see it in action in the videos we’ve posted below the break.
Running the robot is an Arduino UNO with a MUX shield as well as a pair of MCP23017 I/O expander chips — a total of 93 pins available! Thanks to all those pins, the Arduino is able to listen to 64 reed switches, one for every square.
The robot detects the human’s move by listening to its reed switches and identifying when there is a change. The gantry consists of X and Y tracks made out of PVC slabs, with half-inch lead screws turned by NEMA-23s and powered by ST-6600 stepper drivers.
Unlike some chess robots that rely on pre-existing software, this one features a custom minimax chess algorithm that [RoboAvatar] coded himself. It consists of Python scripts run on a computer, which interacts with the Arduino via a serial connection. In the second video, he explains how his algorithm works. You can also download the Arduino and Python files from [RoboAvatar]’s GitHub repository.
You’d be surprised how many chess-playing robots we’ve published, like the ChessM8 robot and this voice-controlled chess robot.
Continue reading “Chess Robot’s Got the Moves”
Chess has been around for an awfully long time, automobiles less so. However, there’s no reason the two can’t be combined, like in this chess set fashioned from automotive components.
The project was made as a gift, and is the sort of thing that’s quite accessible for an interested maker to attempt at home. Parts used to build the set include valves, valve springs, spark plugs, castellated nuts and pipe fittings. As the parts don’t actually need to be in good working condition, a haul like this could likely easily be had for less than $50 from the local pull-it-yourself wrecking yard — or free if you know a mechanic with some expired engines lying around.
The metalworking side of things involves trimming down and welding together the parts, before polishing them up and applying a coat of paint to create the white and black, or in this case, gold and black pieces.
Overall, it’s a fun weekend project that could be tackled in any number of ways depending on your creativity and taste. For a different take, check out this 3D laser cut chess set.
In terms of equipment, chess and checkers are simple games — just a handful of pieces and a checkered gameboard. The simplicity belies the underlying complexity of the games, though, and goes a long way toward explaining their popularity over the millennia.
Increasing the complexity with an interactive game board for chess and checkers might seem counterintuitive, then. But [Bogdan Berg]’s project aims to not only teach checkers and chess but to make games a little more exciting and engaging. Looking a little like a tabletop version of the interactive dance floors we’ve been seeing a lot of lately, the board is built from laser-cut acrylic with plywood dividers to isolate all 64 squares. Neopixels and Hall-effect sensors are mounted to custom PCBs that stretch the length of a row and are wired to an Arduino Mega with lots of IO. Game pieces are colorful fridge magnets. [Bogdan]’s current program supports checkers and keeps track of where the pieces have been moved relative to their starting position and prompts users with possible legal moves.
[Bogdan]’s board already looks like a lot of fun in the video below, and we like the quality of the build and the unobtrusive nature of the interactivity. When he gets around to implementing chess, though, he might want something fancier than fridge magnets for game pieces.
Continue reading “Interactive Board Prompts Moves for Checkers and Chess”
People have been interested in chess-playing computers before there were any chess-playing computers. In a 1950 paper, [Claude Shannon] defined two major chess-playing strategies. Apparently, practical chess programs still use the techniques he outlined. If you’ve ever wondered how to make a computer play chess [FreeCodeCamp] has an interesting post that walks you through building a chess engine step-by-step.
Continue reading “Chess AI, Old School”
Chess is a slow game of careful decision-making, looking several moves ahead of the current state of the board. So is machining, and combining the two is an excellent way to level up your machine shop chops. And so we have the current project from [John Creasey] who is machining a chess set out of stainless steel.
This isn’t that new-fangled computer numerical control at work, it’s the time-tested art of manual machining. Like chess, you need to plan several steps ahead to ensure you have a way to mount the part for each progressive machining process. In this first video of the series [John] is milling the knights — four of them, with two which will eventually get a black oxide treatment.
Milling the horse head is fun to watch, but you’ll be delighted when the work gets to the base. [John] is using a pipe fitting as a fixture to hold the already-milled horse-head-end while working the base on his lathe. The process begins by getting rid of the inner threads, then working the pipe fitting very carefully to the diameter of the chess piece for a perfect press fit. Neat!
At the end, [John] mentions it took “quite a few months of weekends to get to this point” of having four pieces made. They look great and we can’t wait to see the next piece in the set come to life. You’ll find the video embedded below, but if you can’t sink this kind of time into your own chess set, you may try three-dimensional laser cut acrylic pieces.
Continue reading “Heavy Metal Chess”
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”