syntax change fog GameState, added quit on pressing ESC key