Write a program that asks the player to orient the Finch a certain way, such as "Simons says: beak up" then waits until they get it right. To reward success it blinks its beak 2 times and buzzes, then gives another command. The player wins if they follow the directions 3 times in a row. The game should choose orientations at random so that the game will be different every time you play.
You can use a variable to see the current value of any Finch sensor <-- use this to figure out the 6 possible orientations (there is an additional orientation named In Between for all other positions) |
Step #2: Choose a random orientation
Choose a random number from 1 to 6 Set the target value to one of the orientations for each possible value from 1 to 6 |
Step #3: Give the player both visual and audible commands to turn the Finch to thatorientation
<-- display the target position on the screen <-- speak the target position out loud <-- wait until it is obeyed
|
Step #4: Repeat this 3 times:
Step #5: After the final command is followed, tell the player a final positive message, blink the lights and play a happy sound.