|
|
|
|
|
| Description |
| Contains the user interaction loop.
|
|
| Synopsis |
|
|
|
| Documentation |
|
| initWorld :: World |
| The initial state of the world.
|
|
| banner :: String |
| This banner is displayed when the program starts up.
|
|
| main :: IO () |
| Program entry point.
|
|
| getPlayerInput :: World -> IO World |
| Get commands from the user and use them to change the world.
|
|
| handleInput :: World -> String -> IO World |
| Handles a player command.
The player may not perform any actions whilst dead.
All commands have the form: <verb> [args..]
|
|
| command :: Verb -> [String] -> World -> IO World |
| Use the verb to decide what function to call to handle the command.
|
|
| Produced by Haddock version 0.7 |