calbri / TetrisAVR

CSSE2010 Assignment - Good copy
1 stars 0 forks source link

Game Pause #6 #41

Closed P0ntiff closed 8 years ago

P0ntiff commented 8 years ago

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.