Question: You are required to produce a small python programme to match the following specification: A reaction testing game, which could be used by gamers to

 You are required to produce a small python programme to match

You are required to produce a small python programme to match the following specification: A reaction testing game, which could be used by gamers to test their reflexes. The game will display a white arrow on the SenseHAT'S LED matrix and with a random orientation at each turn (Up, down, left or right). If using a physical SenseHAT, the player must then physically rotate the board quickly to match the white arrow. Alternatively, for the emulated SenseHAT you can make use of the arrow keys on the keyboard. If they match the orientation in time, the arrow must turn green and their score increases. If they are not quick enough the arrow turns red and the game ends. For each correct match, the game will repeatedly display an arrow at random orientations until the player does not react quick enough. Each turn should get faster by 5%. . Include comments throughout of your code to explain its operation Desirable/Additional features (to gain extra marks): Single arrow definition; white, red and green indicators. Multiple chances or bonus life and score If using a physical SenseHAT you can shake it to restart the game or when the player does not react fast enough when the red arrow shows, you can shake the SenseHAT to give the player another opportunity. If using the SenseHAT emulator you can make use of the keyboard such as the 'space' key to replicate the shake action. Record some basic stats on the players response times. This can be outputted to the screen or debug window. You might also want to output other game stats such as correct moves, incorrect moves etc. You will also need to record a short video demo using your smartphone or screen capture software to show the game working. See Deliverables (below)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!