Display a welcome messge. |
1 |
Create loop for the game which repeats every second. |
1 |
Create a player sprite. Display the player sprite in
top left hand corner of the display.
Hint: store the position of the
player in a list player = [0,0] . |
1 |
Move the player sprite to the right if the micro:bit
is tilted right and left if the micro:bit is tilted
left. Hint: Use the values from
accelerometer.get_x()
to determine the tilt of the board. |
2 |
Move the player sprite upwards if the micro:bit is
tipped up. Move the player sprite downwards if the
micro:bit tipped downward. Hint: use
accelerometer.get_y()` to determine the tilt of the
board. |
2 |
Create a cheese sprite. Assign a random position to the
cheese sprite. Hint: store the position of the
cheese in a list cheese = [0,0] . |
1 |
When the player moves, check whether the
mouse is in the same position as the cheese. If it is
then the player has won. call function
love.badaboom() and see what happens. |
1 |
Create a timer, if the mouse does not find the cheese
before the timer expires, the game ends. Hint: at the
start of the game get the start time by using function
microbit.running_time() . |
1 |