Prev: 60162 Up: Map Next: 60195
60176: Game Loop
Used by the routine at GameStart.
One turn: threats, local events, a command, then the matching verb.
Run any timed threat, then the room's scenic event.
GameLoop 60176 CALL Handler_TurnBasedEvents Call Handler_TurnBasedEvents.
Run the room's scenic event.
60179 CALL Handler_ScenicEvents Call Handler_ScenicEvents.
Read a command and match it against the vocabulary.
60182 CALL Handler_UserInput Call Handler_UserInput to read a command.
Match the command against the vocabulary.
60185 CALL Parser_MatchVocabulary Call Parser_MatchVocabulary.
60188 JR C,GameLoop Jump back to GameLoop when the command was not understood.
60190 CALL Handler_MatchVerb Call Handler_MatchVerb to carry out the verb.
60193 JR GameLoop Jump back to GameLoop for the next turn.
View the equivalent code in;
Prev: 60162 Up: Map Next: 60195