The Arduino Greek Guessing Game
by JordynSmith in Circuits > Arduino
111 Views, 1 Favorites, 0 Comments
The Arduino Greek Guessing Game
This escape room explores the history behind the mysterious Lost City of Atlantis and is set up as an Arduino Uno puzzle. The setup includes a serial monitor which will prompt the user with a question that they must answer. When answered correctly, the two LED bulbs will flash their colors to celebrate a successful puzzle escape! Can you solve this Greek Guessing Game?
Supplies
1 Arduino Uno
1 USB cable
1 Serial monitor
1 Breadboard
4 Jumper cables
2 LED bulbs
2 220 ohm resistors
Setting Up the Code
For this escape room, you will need to use the included code in Arduino. This code tells the Arduino to initiate serial communication via the serial monitor. To begin, the code will tell the Arduino to prompt the user with a question. When the question is answered correctly, the code instructs the Arduino to send a message which alerts the user that they are correct and then proceeds to tell the Arduino to flash blue and orange lights. If the proposed question is answered incorrectly, the code instructs the Arduino to first display a message that the input answer is false and then flash only the orange bulb.
Downloads
Setting Up the Hardware
For this setup, you will connect the first jumper cable from the Arduino Digital Pin 13 to F2 on the breadboard. The second jumper cable will run from Digital Pin 2 to F17 on the breadboard. The third cable will connect A1 on the breadboard to an Arduino ground (GND) pin. The final jumper cable will run from A16 on the breadboard to another Arduino ground pin. Next, you place the 2 220 ohm resistors. The first resistor will have one leg connected to D1 on the breadboard and the second leg in F1. The second resistor will have one leg in D16 and the second leg in F16. Finally, you will place the 2 LED bulbs. Choose either the orange or the blue bulb and place its legs in J1 and J2 on the breadboard. Connect the remaining bulb to the breadboard by placing one leg in J16 and the other in J17.
Playing the Escape Room
For this puzzle, you will begin by clicking the "start simulation" button. Next, you will open the serial monitor in the "code" section of the Arduino Uno simulation. The serial monitor will prompt you with the question, "Which Greek God is the ruler of the ocean and founder of Atlantis?". When you believe you know the answer, you will type that response into the serial monitor and click "send". If your answer is incorrect, the Ardunio will flash only the orange light and instruct you to try again. If the answer you input is correct, the Arduino will send you a congratulatory message and the orange and blue lights will begin flashing. If this is the case, you have successfully escaped the Arduino puzzle!