With animated sprites moving with the keyboard it is time to step it up. Now we can add game states with a health bar and survival timer to wrap up the game.
00:00 intro
01:42 adding gameState
04:51 add the state functions
05:54 add the gameState switching logic to the draw function
07:19 fix gameOverState function name
09:30 develop the titleState with text and button
17:30 develop the gameOverState
22:00 introducing rectangle intersect
33:57 adding rectangle intersect checking to the game
37:32 adding in the health "score"
39:52 correcting gameState function name to playState!!!!!
42:03 draw the health bar on screen
49:50 create the timer class
54:41 add the clock timer
59:37 add the reset logic