getInput method added to Game class