Removing magic numbers in the game