ADVANCED: Going Further
Required lessons: Randomness, Variables
In this activity, you will make a more complex Finch version of the game Simon Says. The Finch will give the user random commands and count how many the user successfully follows.
Your program should meet the following requirements:
- For each round of the game, the computer should tell the user to move the Finch to a particular orientation. The Finch orientation for each round should be chosen randomly.
- The game should wait until the user places the Finch in the correct orientation.
- When the user places the Finch in the correct position, their score should increase by 1.
- The Finch’s beak and buzzer should indicate when the user scores a point.
Extension: Instead of waiting until the user places the Finch in the correct position, modify your program so that the program waits 5 seconds and then checks if the user has the Finch in the correct position. If it is, then the user gets a point. If not, the Finch lights and buzzer should indicate that they are wrong. Then use a variable for the wait time so that the game gradually gets harder!