Class Game

java.lang.Object
  extended by Game

public class Game
extends Object

This class is the main class of the "World of Zuul" application. "World of Zuul" is a very simple, text based adventure game. Users can walk around some scenery. That's all. It should really be extended to make it more interesting! To play this game, create an instance of this class and call the "play" method. This main class creates and initialises all the others: it creates all rooms, creates the parser and starts the game. It also evaluates and executes the commands that the parser returns.

Version:
2006.03.30
Author:
Michael Kolling and David J. Barnes

Constructor Summary
Game()
          Create the game and initialise its internal map.
 
Method Summary
 void play()
          Main play routine.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Game

public Game()
Create the game and initialise its internal map.

Method Detail

play

public void play()
Main play routine. Loops until end of play.