added concept of player lives to the game