Reformat, remove 'goto', if game ends close the window without asking for 'q'