Posted on by & filed under Content - Highlights and Reviews, Web Development.

We had a lot of fun building our Arduino Pieman project in the Meeting the Pieman: A Basic Arduino Memory Game article.

Would you like to go further and make Pieman really challenging? Here are five suggestions for how to do that:

  1. Try changing the code so that the tones change position after every sequence.
  2. Change your red, yellow, green and blue LEDs for RPG leds, and change the color position after every sequence.
  3. Add a timer. Give the player 1 second per button press to complete the sequence.
  4. Speed it up. As the sequence gets longer, play the sequence back faster.
  5. Try reversing it. Instead of repeating the sequence, change the code so the player has to step backwards through the sequence instead.

You’ve got 4 LEDs, 4 buttons and a speaker. How many other games can you make with just those components? We’d love to hear what you come up with (add a comment). Here are a three ideas to get you started:

  1. Test your reaction time. Have the LEDs light sequentially. Pick a color. Press the corresponding button only when that LED is lit.
  2. Test your mental maths. Assign each LED and button a place value. Blink each LED a certain number of times. The player has to add them together and press in the sum using the correct buttons.
  3. Have Pieman put the 4 LEDs in an order, such as RGYB, and use that as a code. The player must try to guess the code, with Pieman providing some form of feedback about how close the player is to guessing.

You’ll find that modifying an existing Arduino project can be a lot of fun!

Safari Books Online has the content you need

These books in Safari Books Online will help you enhance Pieman, or any Arduino project:

Getting Started with Arduino gives you lots of ideas for Arduino projects and helps you get started with them right away. From getting organized to putting the final touches on your prototype, all the information you need is right in the book.
Arduino Robotics will show you how to use your Arduino to control a variety of different robots, while providing step-by-step instructions on the entire robot building process.
Arduino Projects to Save the World shows that it takes little more than a few tools, a few wires and sensors, an Arduino board, and a bit of gumption to build devices that lower energy bills, help you grow our own food, monitor pollution in the air and in the ground, even warn you about earth tremors.

About the Author

  Duane O’Brien is a tired computer scientist. He has written a number of articles on developing web applications and various PHP frameworks. To learn more about Duane, check out his blog or read his tweets.

Tags: Arduino, reaction, timer,

Comments are closed.