remove useless code and add HTML input elements to let the user modify the game settings