Added isAlive function, show a game over splash screen if the player dies.