minimal changes to make the game front end nicer