Bomb Defusal Fun With Friends!

Being a member of the bomb squad would be pretty high up when it comes to ranking stressful occupations. It also makes for great fun with friends. Keep Talking and Nobody Explodes is a two-player video game where one player attempts to defuse a bomb based on instructions from someone on the other end of a phone. [hephaisto] found the game great fun, but thought it could really benefit from some actual hardware. They set about building a real-life bomb defusal game named BUMM.

The “bomb” itself consists of a Raspberry Pi brain that communicates with a series of modules over a serial bus. The modules consist of a timer, a serial number display, and two “riddle” boxes covered in switches and LEDs. It’s the job of the bomb defuser to describe what they see on the various modules to the remote operator, who reads a manual and relays instructions based on this data back to the defuser. For example, the defuser may report seeing a yellow and green LED lit on the riddle module – the operator will then look this up and instruct the defuser on which switches to set in order to defuse that part of the bomb. It’s the challenge of quickly and accurately communicating in the face of a ticking clock that makes the game fun.

[hephaisto] took this build to Make Rhein-Main 2017, where they were very accepting of a “bomb” being brought onto the premises. The game was setup in a booth with an old analog S-video camera feed and a field telephone for communication – we love the detail touches that really add atmosphere to the gameplay experience.

Overall, it’s a great project that could easily be recreated by any hackerspace looking for something fun to share on community nights. The build files are all available on the project GitHub so it’s easy to see the nuts and bolts of how it works.

We’ve seen builds that bring video games into the real world before – like this coilgun Scorched Earth build. Fantastic.

T-Rex Runner Runs on Transistor Tester

If you’ve ever spent time online buying electronic doodads — which would mean almost all of us — then sooner or later, the websites get wind of your buying sprees and start offering “suggested” advertisements for buying more useless stuff. One commonly offered popular product seems to be a universal component tester, often referred to as a “Mega328 Transistor Tester Diode Triode Capacitance ESR Meter”. These consist of an ATmega328, an SPI LCD display, a Button, a ZIF socket and a few other components. Almost all of them are cheap clones of the splendid AVR-TransistorTester project by [Markus Frejek]. [Robson Couto] got one of these clone component testers, and after playing with it for a while, decided to hack it and write a T-Rex runner game for it.

The T-Rex runner game is Chrome’s offering for you to while away your time when it can’t connect to the internet. It needs just one button to play. This is just the kind of simple game that can be easily ported to the Component Tester. The nice take away from [Robson]’s blog post is not that he wrote a simple game for an ATmega connected to an LCD display, but the detailed walk through he provides of the process which can be useful to anyone else wanting to dip their feet in the world of writing games.

After a bit of online sleuthing and some multimeter testing, he was able to figure out that the LCD controller chip was connected to Port D of the ATmega, which meant the use of software SPI via bit-banging. He then looked inside the disassembled firmware to find writes to Port D to figure out pin assignments. Of course not long after all this work he found a config.h file with the pin mappings.

Armed with this information he was able to use the Adafruit ST7565 library to drive the LCD, but not before having to flip the image. The modified fork of his ST7565 library is available on GitHub. His game code is also available, but reading through the development process is pretty interesting. Check out a video of the Runner game in action after the break.

In an earlier post, we did a product review of one of these cheap Transistor Testers, and if you have one of these lying around, give [Robson]’s game a spin — it could be handy while you wait for your reflow oven to finish its soldering cycle.

Continue reading “T-Rex Runner Runs on Transistor Tester”

Fixing Bugs In A 37 Year Old Apple II Game

Emulators are a great way to reminisce about games and software from yesteryear. [Jorj Bauer] found himself doing just that back in 2002, when they decided to boot up Three Mile Island for the Apple II. It played well enough, but for some reason, crashed instantly if you happened to press the ‘7’ key. This was a problem — the game takes hours to play, and ‘7’ is the key for saving and restoring your progress. In 2002, [Jorj] was content to put up with this. But finally, enough was enough – [Jorj] set out to fix the bug in Three Mile Island once and for all.

The project is written up in three parts — the history of how [Jorj] came to play Three Mile Island and learn about Apple IIs in the first place, the problem with the game, and finally the approach to finding a solution. After first discovering the problem, [Jorj] searched online to see if it was just a bad disk image causing the problem. But every copy they found was the same. There was nothing left for it to be but problem in the binary.

Continue reading “Fixing Bugs In A 37 Year Old Apple II Game”

Tiny Game of Simon on an ATtiny13

How much game can you get out of a chip with only 1 kB of flash memory and (five or) six free GPIOs? Well, you can get it to play the classic memory game, Simon. [Vojtak] is submitting this project for the 1 kB Challenge, but it looks like it’s already been used to teach simple microcontrollering to teenagers as well, so the code is actually straightforward to read, but full of nice features.

3924691481641919444Neat tricks include sharing button-press sensing and LED driving on the same pin, which was necessary to make everything work on such a small chip. A simple linear-congruential pseudorandom sequence provides the variation, and it’s seeded by slow-clock/fast-clock timing jitter, so you’re probably not going to see the same sequence twice. (It’s not the best random number generator ever, but it’ll do.) If that weren’t enough, high scores (and the random seed for the game) are saved to EEPROM so that you can brag to your friends or re-live your previous moments of glory.

The board is easily solderable together as well. This is a fantastic beginner project, with details in the code that everyone can learn from. It’s a great game, and a great demonstration of what you can do with a dollar’s worth of parts and 1 kB of code.

Continue reading “Tiny Game of Simon on an ATtiny13”

Code Like an Egyptian

[Marcelo Maximiano’s] son had a school project. He and a team of students built “The Pyramid’s Secret“–an electronic board game using the Arduino Nano. [Marcelo] helped with the electronics, but the result is impressive and a great example of packaging an Arduino project. You can see a video of the game, below.

In addition to the processor, the game uses a WT5001M02 MP3 player (along with an audio amplifier) to produce music and voices. There’s also a rotary encoder, an LCD, a EEPROM (to hold the quiz questions and answers), and an LED driver. There’s also a bunch of LEDs, switches, and a wire maze that requires the player to navigate without bumping into the wire (think 2D Operation).

Continue reading “Code Like an Egyptian”

Tony the Pinball Wizard 3D Prints Full Sized Pinball Machine

[Tony] has designed and 3D printed a full-sized pinball machine and it’s absolutely incredible. And by 3D-printed, we mean 3D-printed! Even the spring for the plunger printed plastic.

The bumper design is particularly interesting. The magic happens with two rings of conductive filament. the bottom one is stationary while the top one is a multi material print with a flexible filament. When the ball runs into the bumper the top filament flexes and the lower rings contact. Awesome. Who wants to copy this over to a joystick or bump sensor for a robot first? Send us a tip!

The whole document can be read as a primer on pinball design. [Tony] starts by describing the history of pinball from the French courts to the modern day. He then works up from the play styles, rules, and common elements to the rationale for his design. It’s fascinating.

Then his guide gets to the technical details. The whole machine was designed in OpenSCAD. It took over 8.5 km of eighty different filaments fed through 1200+ hours of 3D printing time (not including failed prints) to complete. The electronics were hand laid out in a notebook, based around custom boards, parts, and two Arduinos that handle all the solenoids, scoring, and actuators. The theme is based around a favorite bowling alley and other landmarks.

It’s a labor of love for sure, and an inspiring build. You can catch a video of it in operation after the break.

SNES EPROM Programmer with Arduino

Most video game manufacturers aren’t too keen on homebrew games, or people trying to get more utility out of a video game system than it was designed to have. While some effort is made to keep people from slapping a modchip on an Xbox or from running an emulator for a Playstation, it’s almost completely impossible to stop some of the hardware hacking that is common on older cartridge-based games. The only limit is usually the cost of an EPROM programmer, but [Robson] has that covered now with his Arduino-based SNES EPROM programmer.

Normally this type of hack involves finding any cartridge for the SNES at the lowest possible value, burning an EPROM with the game that you really want, and then swapping the new programmed memory with the one in the worthless cartridge. Even though most programmers are pricey, it’s actually not that difficult to write bits to this type of memory. [Robson] runs us through all of the steps to get an Arduino set up to program these types of memory, and then puts it all together into a Super Nintendo where it looks exactly like the real thing.

If you don’t have an SNES lying around, it’s possible to perform a similar end-around on a Sega Genesis as well. And, if you’re more youthful than those of us that grew up in the 16-bit era, there’s a pretty decent homebrew community that has sprung up around the Nintendo DS and 3DS, too.

Thanks to [Rafael] for the tip!