Created a class for game variables.