Rock-paper-scissors Maze
My Design Concept:
I think that both mazes and rock-paper-scissors are quite interesting games, so I thought of combining them into one game, resulting in the creation of the Rock-Paper-Scissors Maze.
How to Play:
- Press the red button on the side.
- The machine will randomly choose scissors, rock, or paper. Then, take the popsicle stick and place the marble at the starting point. Use the popsicle stick to roll the marble to the position where it will beat the machine. If it falls into a hole, you need to pick another marble from the groove and try again.
- If you reach the corresponding position within 60 seconds, you will receive a candy in a capsule.
Supplies
buzzer x1
servo motors x4
I2C LCD screen x1
PIR Motion Sensor x3
red LED x1
green LED x1
Arduino Leonardo x1
breadboard x1
button x1
as many dupont line as possible
Connect Circuit
The servo motors connects to D8 18 19 20 (D18 19 20 AKA A0 1 2).
The I2C LCD screen connects to GND, VCC, SDA, SCL according to the label on the board.
The LED connects to D10 11.
PIR Motion Sensor connects to D4 5 7.
Button connects to D12.
Code
Use the file below to upload the code. That's the code for this project.
Downloads
Make the Box
You will need a 37x26x16 box and a 20x10x16 box for the outer layer. You should make a hole on the left side of the 37x26x16 box for the capsule to come out. Another hole on the right side of also the 37x26x16 box for the marble to fall out of, and a groove under the hole for collecting marbles and popsicle stick. And a 30x18 cm cardboard for a slope, then put it inside the 37x26x16 box for the marble to roll down. A hole shoud be made for the button to go in. The 20x10x16 box should have 3 holes for the paper rock and scissors showing up, a hole for the I2C LCD screen going through and 2 small holes for the red and green LED going through. You don't have to have the back and the bottom side of the box, it won't matter much.
Make the Part of Capsule Sliding Down
For the capsules rolling down, you need a piece of cardboard for the capsules sliding down. Remember to cut a hole for the capsules to be put onto the slope.
The Maze
This is the pictures of my maze, you can make your own maze or make one according to mine. You can put a red flag on the starting point.
Decoration
After the main part of the machine, you can decorate it with a layer of wrapping paper and a discription or rule of how to play it.
Finish
YOU ARE FINISHED!
Please enjoy the fun of playing it~
Have fun!
Here is the link for my project:
https://youtu.be/_RoFTvGg4hA?si=1mM1a2L5C6YHM1Hd