Chess Computer Retires To Play Jazz

Years ago, [Leo Neumann]’s girlfriend gave him a 1970s chess computer game that was missing almost everything but the super cool clicky keyboard. Noting the similarity of chess move labeling to chord notation, [Leo] decided to turn it into something even nerdier — a jazz chord game where you jam with the computer.

To play the game, you and the computer take turns entering jazz chords that progress musically from the last one played. The hardware is simple — a Raspberry Pi Zero and a WM8960 audio hat with amplifier in speakers. [Leo] also put in a slightly larger display than the original and printed a new bottom half for the case. We love the look of this build, especially the groovy custom line font [Leo] designed.

On the software side, [Leo] made a Python prototyping environment using PYO Module and Kivy UI. Not content with other approaches to tonal consonance, [Leo] played a couple thousand chords and rated them according to their progressive harmony. Shake out those jazz hands and check it out after the break.

Want to play chess with computers? Make Alexa your go-between.

Continue reading “Chess Computer Retires To Play Jazz”

Voice-Command Chess Board Powered By Alexa

Talking to computers used to be reserved for Star Trek and those with overactive imaginations. Now, it’s a regular part of daily life. [CodersCafe] decided to put this technology to work in a chess robot, with the help of Amazon’s digital assistant. 

The build relies on an Cartesian motion rig, built out of Lego Technics parts. The end effector is fitted with a magnet , fitted onto the Z-axis screw for engaging and disengaging with the pieces. A Mindstorms EV3 controller is used to run the show, hooked up over Bluetooth to an Amazon Echo. This allows the user to ask Alexa to move the pieces for the white player in natural language – by saying, for example, “move from B1 to C3”.

It’s a build that demonstrates how easy it is to create projects with advanced functionality by lacing together the correct off-the-shelf hardware. Other Cartesian-type motion platforms can make great chess robots, too. Video after the break.

Continue reading “Voice-Command Chess Board Powered By Alexa”

Voice Chess Uses Phone, Arduino, And An Electromagnet

[Diyguypt] may be an altruist to provide the means for people who can’t manipulate chess pieces to play the game. Or he may just have his hands too busy with food and drink to play. Either way, his voice command chessboard appears to work, although it has a lot of moving parts both figuratively and literally. You can check out the video below to see how it works.

The speech part is handled by an Android phone and uses Google’s voice services, so if you don’t want Google listening to your latest opening gambit, you’ll want to pass this one up. The phone uses an app that talks to the Arduino via Bluetooth, which means the Arduino needs a Bluetooth module.

Continue reading “Voice Chess Uses Phone, Arduino, And An Electromagnet”

A Colorful Way To Play Chess On An ATmega328

We’ve all seen those chess computers that consist out of a physical playing field, and a built-in computer that would indicate where you should put its pieces while inputting the position of your pieces in some way. These systems are usually found in a dusty cardboard box in a back room’s closet, as playing like this is fairly cumbersome, and a lot depends on the built-in chess computer.

This take by [andrei.erdei] on this decades-old concept involves an ATmega328p-based Arduino Pro Mini board, a nice wooden frame, and 4 WS2812-based 65×65 mm RGB 8×8 LED matrices, as well as some TTP223 touch sensors that allow one to control the on-board cursor. This is the sole form of input: using the UP and RIGHT buttons to select the piece to move, confirm with OK, then move to the new position. The chess program will then calculate its next position and indicate it on the LED matrix.

Using physical chess pieces isn’t required either: each 4×4 grid uses a special pattern that indicates the piece that occupies it.  This makes it highly portable, but perhaps not as fun as using physical pieces. It also kills the sheer joy of building up that collection of enemy pieces when you’ve hit that winning streak. You can look at the embedded gameplay video after the break and judge for yourself.

Continue reading “A Colorful Way To Play Chess On An ATmega328”

Trap Chess Keeps Players On Their Toes

Chess is a game that originated so long ago, we don’t have concrete information as to its origins. Rules have changed throughout history, and many continue to study and experiment with the game. [Yann Guidon] has a neighbour, [Bob], who is just one such enthusiast, and together, they built a working Trap Chess game.

What is trap chess, you may ask? It’s a variant of chess where pieces randomly fall into traps at the change of turns. This is easy to simulate in a digital game, but that wasn’t enough for [Bob]. Enlisting [Yann] for his electrical skills, the duo built a board with ten trapdoors built in. Whenever the timer is hit, there’s a chance a trapdoor can open, removing a piece from the game.

The build relies on a PIC16F818, an 8-bit microcontroller from Microchip. This helps interface between the timer and servos and generally runs the whole show. The board is built into a table, and we’re impressed by the fit and finish of the final product. From a distance, it’s difficult to notice anything is awry, and it would make a great prank when playing with an unsuspecting mark. Just make sure there’s no money on the table first.

We’ve seen other impressive chess hacks before — like this board that can move the pieces for you. Video after the break. Continue reading “Trap Chess Keeps Players On Their Toes”

Pitting 8-Bit Chess Games Against Modern Foes

UltraChess is a vintage chess game for the 8-bit MSX platform, running on the Z80. [flok] wondered just how capable the game really was, and set forth to test it against a variety of other chess engines.

Having been designed in the 1980s, UltraChess is far from up-to-date as far as the chess software world is concerned. By using the OpenMSX emulator to run the game, [flok] was able to implement scripts to read and write the gamestate in UltraChess, and make it compatible with the Universal Chess Interface. This would allow UltraChess to be played off against a variety of other chess engines to determine its approximate ELO rating.

The scripts worked well, and are available on Github for those who wish to tinker further. Unfortunately, [flok] has thus far been unable to determine a rating for UltraChess, as it has lost every single game it has played against other chess engines. This is unsurprising given the limited processing power available, but we’d love to see a tweaked and hotrodded Z80 chess program take on the same challenge. If you’ve done such a thing, let us know, or alternatively  you might like to try playing like Harry Potter.

Writing A Very Tiny Chess Program

When programming for modern platforms, the restraints are different to those of 30 years ago. Back in the dawn of the microcomputer age, storage and RAM were measured in kilobytes. It simply wasn’t possible to store large amounts of graphical data, and even code had to be pared back at times. [reeabgo] found out some of these limitations first hand, when coding a tiny chess program for the Sinclair ZX81.

[reeabgo]’s project goes by the name ChesSkelet, and is truly tiny. Measuring in at just 377 bytes in its smallest version, the entire program takes up less space than this very article describing it. To achieve these feat requires certain sacrifices, of course. The tiniest edition contains no graphics whatsoever, representing the game state with simple characters and featuring no adornments whatsoever. The full-fat version comes in at 477 bytes and adds quite a lot of functionality. There’s a proper checkerboard, along with move legality checks and pawn promotion.

Unfortunately, advanced chess play isn’t quite possible – castling is not implemented, and the AI doesn’t yet handle check situations properly. Despite this, it’s a solid approximation of the real game, all packed into an impressively small space.

We see plenty of chess hacks around these parts – including the robotic variety.