Introduction: Game Jam

This project will teach you how to make your Arduino play Rock Paper Scissors as well as a reactionary game. The idea for the reaction game came from this Youtube video so go ahead and watch it and drop a like for the user https://www.youtube.com/watch?v=hdnZRcZ51ck.

Step 1: Things You Will Need

  1. 220 ohm resistors(4)
  2. push buttons(4)
  3. potentiometer
  4. lcd screen
  5. Arduino Uno
  6. Breadboard
  7. Jumper Wires(~30)

Step 2: Hooking Up the LCD Screen

We'll start with the complicated one first. With the top most one in the diagram labeled as number one, follow this list on how to connect the LCD screen
  1. connect to the ground rail
  2. connect to the hot rail
  3. connect to slot 12
  4. connect to slot 11
  5. connect to slot 10
  6. connect to slot 9
  7. do not connect
  8. do not connect
  9. do not connect
  10. do not connect
  11. connect to slot 8
  12. connect to the ground rail
  13. connect to slot 7
  14. connect to potentiometer (we'll add this later. Just leave the other end of the wire open for now)
  15. connect to the hot rail
  16. connect to ground rail

Step 3: Adding the Potentiomenter

Now we need to add the potentiometer to regulate the amount of electricity supplied to the LCD screen. Hook the open wire we left from the LCD screen to the single diode on one end of the potentiometer. Next, hook the two diodes on the other side to the ground and hot rails. It doesn't matter which goes to which, just make sure they are each in a different rail.

Step 4: The Buttons

Now we need to connect the buttons. Choose one side of the button and connect one of the diodes to the hot rail and the other on the same side to the ground rail. Make sure to use a resistor to connect the diode to the ground rail. Now, on the other side, connect the diode on the same level as the ground rail and connect that to pin 3. We are actually going to do something weird with this first button but for now, connect the other three buttons the same way to pins 4, 5, and 6.

Step 5: The Special Button

See that first button all the way at the bottom there? We're gonna also connect that to pin 2 so we conserve space and have an interrupt button for the reaction game. Go ahead and connect another slot on your breadboard to pin 2 on your Arduino. I have outlined this wire in green on the diagram.

Step 6: The Finishing Touches

All that's left to do now, is to connect the two ground rails to each other and finally to the ground pin in the Arduino. Now repeat with the hot rail but connect it to the 5V pin on the Arduino. Now just upload this code and have fun!