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.
Neat 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”
Since 1998 we’ve been privileged to partake in an arcade game known as Dance Dance Revolution, but before that, way back in the 70’s, was the Simon game. It’s essentially a memory game that asks the player to remember a series of lights and sounds. [Uberdam] decided to get the best of both worlds and mixed the two together creating this giant foot controlled Simon game. (English translation.)
The wood platform that serves as the base of the project was fitted with four capacitive sensors, each one representing a “color” on the Simon game. When a player stomps on a color, a capacitive sensor sends a signal to a relay which in turn notifies the Raspberry Pi brain of the input. The Pi also takes care of showing the player the sequence of colored squares that must be stepped on, and keeps track of a player’s progress on a projector.
This is a pretty good way of showing how a small, tiny computer like the Raspberry Pi can have applications in niche environments while also being a pretty fun game. We all remember Simon as being frustrating, and we can only imagine how jumping around on a wooden box would make it even more exciting. Now, who can build a robot that can beat this version of Simon?
Continue reading “DDR-ing a Simon Game with a Raspberry Pi”
Virtually everyone has played Simon, that electronic memory game from the 70s, but who among us has actually beaten it? That was the goal of [Ben] and his 7-year-old daughter, and after a year of work, an Arduino, some servos, and a few Lego bricks, they’ve finally done it.
Instead of the large original Simon, [Ben] is using a key chain version of the game: much smaller, and much easier to build a device to sense the lights and push the buttons. The arms are made from Lego bricks, held up with rubber bands and actuated with two servos mounted on a cutting board.
To detect Simon’s lights, [Ben] connected four phototransistors to an Arduino. The Arduino records the pattern of lights on the Simon, and activates the Lego arms in response to that pattern. [Ben]’s version of Simon has only a maximum of 32 steps in the final sequence, but that still means each game takes 528 button presses – and a lot of annoying beeps – to complete.
Continue reading “Beating Simon”
When [Scott] saw our announcement of a contest to win a Fubarino, he had the remarkable insight that designing new hardware wasn’t required. Instead, he took a Simon soldering kit and added a Hackaday easter egg that beeps our favorite URL in Morse code.
[Scott]’s entry began with a Sparkfun Simon Says Soldering Kit. It’s a great kit featuring an ATMega328, four buttons and LEDs, and a speaker. Stock, this board comes programmed with a run-of-the-mill Simon game, but it also includes a serial bootloader and a set of serial pins for reprogramming.
The new firmware for [Scott]’s Simon uses Morse code for ‘hackaday.com’ to determine the time in between the button flashes for each round. Compared to the old-school Simon toy from the 70s, [Scott’s] version seems just slightly more difficult; the game is basically the same, but trying to remember the pattern when the buttons don’t light up in a regular pattern is more challenging than usual.
Because [Scott] isn’t the greatest at Simon, he added another method to generate the full Morse for ‘hackaday.com’. While pressing one button starts a new game, holding down two buttons simultaneously will write out the full Morse of ‘hackaday.com’ on the upper left-hand button: a great easter egg that also adds some difficulty to a classic game.
This is an entry in the Fubarino Contest. Submit your entry before 12/19/13 for a chance at one of the 20 Fubarino SD boards which Microchip has put up as prizes!
My kids have a plastic farm toy. It moos, it oinks, it neighs, it
baas, and frankly, it grates. But since I tricked it out with an
attiny2313, at least it can play “Simon Says”.
This is what [Tom] said in his email to us. We love that when the toy annoyed [Tom], he improved it.
He started by inserting his own electronics. Using an ATTiny2313 for the brains, he proceeded to make it into an interesting game of “simon says”. Each stall is a button and has a nice bright LED in it to help you follow along. Interestingly, he preserved the original electronics as well and added a switch so he could change modes. Great job [Tom]!
Catch the video after the break.
Continue reading “Hacked farm toy plays simon”
How does one take a game of Simon and make it extremely awesome? The folks at the North Street Labs — a Hackerspace in Portsmouth, Virginia — have found the secret and it’s all in the execution. They turned this chair-desk into a coin-operated Simon game that hides a huge surprise.
We suppose you should be able to guess the secret. Most coin-operated sidewalk attractions are rides, and so is this. As their Red Bull Creation entry the team built a base for the desk around a 2000 Watt floor buffer. These are the kind of things that you’d see a janitor in the 1980’s using to polish the tiles of your middle-school. This one just happens to shake the bejesus out of a player who makes a mistake. To help suck you into the game this won’t happen right away. You have to make it past at least four rounds before making the mistake.
The rest of the game is as expected. The playing area is nicely milled from a piece of wood with acrylic windows serving as the buttons. Apparently the biggest problem with that part of the build is finding a way to hold everything together despite the intense vibrations. See for yourself in the clip after the break.
Continue reading “The most surprising game of Simon you’ve every played”
[Alex] was digging through his closet and came upon an old PS2 game pad for Dance Dance Revolution. He hated the idea of throwing it out just slightly more than the idea of playing DDR again, so he decided to find a way to reuse it.
He was a big fan of the game Simon (aka Genius) as a kid and thought that the DDR pad would make a novel interface for the classic game. Using the PS2XLib by [Bill Porter], which allows an Arduino to easily communicate with a PS2 controller, [Alex] put his Simon replica together in no time flat.
He painted an empty ice cream container with the classic Simon colors, installing a small LED under each quadrant, then wrote the game’s code.
As you can see in the video below, his version of the game works nicely, and forces you to actually get up and move a bit, which we like.
Continue reading “[Alex] shows us what happens when Dance Dance Revolution meets Simon”