private static void play() {
    Game g = new Game();
    Scanner scanner = new Scanner(System.in);
    char c;

    g.Output();

    while (g.isKeepPlaying()) {
      c = scanner.next().charAt(0);

      switch (c) {
        case 'W':
        case 'w':
          g.Move(Game.UP);
          g.Output();
          break;

        case 'S':
        case 's':
          g.Move(Game.DOWN);
          g.Output();
          break;

        case 'A':
        case 'a':
          g.Move(Game.LEFT);
          g.Output();
          break;

        case 'D':
        case 'd':
          g.Move(Game.RIGHT);
          g.Output();
          break;

        default:
          break;
      }
    }
  }