Modified the program so that if the ‘p’ or ‘P’ key on the serial terminal is pressed then the game
will pause. When the button is pressed again, the game recommences. (All other button/key
presses should be discarded whilst the game is paused except the ‘n’ or ‘N’ keys if “New Game”
is implemented as described below.) The block dropping rate must be unaffected – if the pause
happens 450ms before a block drop is due, then the drop should not happen until 450ms after
the game is resumed, not immediately upon resume.
Modified the program so that if the ‘p’ or ‘P’ key on the serial terminal is pressed then the game will pause. When the button is pressed again, the game recommences. (All other button/key presses should be discarded whilst the game is paused except the ‘n’ or ‘N’ keys if “New Game” is implemented as described below.) The block dropping rate must be unaffected – if the pause happens 450ms before a block drop is due, then the drop should not happen until 450ms after the game is resumed, not immediately upon resume.