Game class with getVariable function added
links working