At platform Scratch create a game "Cave Surfing" type with one "stripe" of your choice.This "sprite" from the beginning of the game and onward, it will be moving in parallel manner with (y) axis continuously,upwards and with constant speed without user's interaction.
In order to avoid obstacles that they will appear, right and left buttons will be used by the user and as a result we will have a motion of the selected "stripe" in parallel manner with (x) axis.
One obstacle per 3 seconds will appear in random place (location) in all the surface and with direction of movement in parallel manner with the (y) axis but this time downwards (unlike the "stripe"). The time of the obstacles's appearance will be reduced as the game evolves with this manner: reduction rate of 10ms per 1 second.
The game will keep the score which it will be increased by 1point per 300ms and it will be visible to the user.
The game will keep the highest score from the previous games and it will be visible to the user.When the previous standing highest score will be surpassed a sound will be heard.
If the user fails to avoid an obstacle the game stops and the user loses.
2nd TASK
At MAKECODE platform construct a game that measures the reaction time with BBC micro:bit.
Depending on the obstacle that will appear,user will have to choose the suitable input A,B,AB and Shake.The 4 symbols that you will choose they will appear in random order.Each symbol will remain in screen until a choice will occur, right or wrong choice.
The score will be computed as follows: -2 points for each wrong choice +1 point for each right choice The score will appear after 10 alternations.
The average reaction time will be computed in ms from the 10 alternations and it will appear on the screen after the score.
3rd TASK
Prepare a circuit at Tinkercad.This circuit will be consisted of the below parts:
Arduino Uno R3
Ultrasonic Sensor
Resistance 200Ω
Light Bulb
Servo Motor
Do the necessary actions in order to when the ultrasonic sensor records prices lower than 5cm:
The light bulb starts flashing. The Servo Motor rotates at 90 degrees.After 10 seconds the Servo Motor returns at zero degrees.
DELIVERABLES ARCHIVES 1.Code in Scratch 3 (.sb3 format) for the 1st task. 2.Code in Makecode (.hex format) for the 2nd task. 3.Code in Tinkercad (.ino format) for the 3rd task. 4.Circuit diagram in figure (screenshot), form the Tinkercad where all the connections are clearly visible for the 3rd task.