Creating a game attribute to count lives