public static void main(String[] args) {
		GameState gameState = new GameState();
		GameLogic gameLogic = new GameLogic(gameState);
		char cmd = 'a';
		boolean show = true;
		do{
			try {
				if(show){
					printField(gameState);
				}
				//Input
				show = true;
				cmd = (char)System.in.read();
				switch (cmd) {
					case 'w': gameLogic.move(Direction.Up); break;
					case 'd': gameLogic.move(Direction.Right); break;
					case 's': gameLogic.move(Direction.Down); break;
					case 'a': gameLogic.move(Direction.Left); break;
					default: show = false; break;
				}
			} catch (IOException e) {
				e.printStackTrace();
			}
		}while(cmd != 'q' && !gameState.isGameOver());
		System.out.println("Game Over");
		printField(gameState);
	}