counting lives and animation in game