GameState -> AppState
refactoring
refactoring
refactoring
clean up
fixed a bug where a food may appear on the very edge of the stage.
refactoring.