player lives added to code