Chess Robot’s Got the Moves

[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 Set From Car Parts

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.

Interactive Board Prompts Moves for Checkers and Chess

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”

Chess AI, Old School

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.

The code is in JavaScript, but the approach struck us as old school. However, it is interesting to watch the evolution of code as you go from random moves, to slightly smarter strategy, to deeper searching. Because it is in JavaScript, you can follow along in your browser and find out when the program gets smart enough to beat you. The final version is even on GitHub.

Continue reading “Chess AI, Old School”

Heavy Metal Chess

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”

Digital Opponent In An Analog Package

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”

Chess Computers Improve Since 90s

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”