{"size": 643, "ext": "js", "max_stars_repo_path": "myWorld.js", "max_stars_repo_name": "MattCruikshank/lambda.js", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "myWorld.js", "max_issues_repo_name": "MattCruikshank/lambda.js", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "myWorld.js", "max_forks_repo_name": "MattCruikshank/lambda.js", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 15.6829268293, "max_line_length": 54, "alphanum_fraction": 0.5552099533}
'use strict';

class Lobby {
  constructor() {
    this.name = "Lobby";
    this.description = "A pleasant room.";
    this.verbs = [
      [this.look],
    ];
  }

  look(term) {
    term.print("You are in the Lobby of a building.");
  }
}

class Player {
  constructor() {
    this.name = "Player";
    this._quit = false;
    this.verbs = [
      [this.quit],
    ];
  }

  quit(term) {
    term.print("I see you're quitting!");
    this._quit = true;
  }
}

class MyWorld {
  constructor() {
    this.lobby = new Lobby();

    // Leave the variables Lambda is looking for:
    this.room = this.lobby;
    this.player = new Player();
  }
}
