Prev: EB02 Up: Map Next: EB23
EB10: 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 EB10 CALL Handler_TurnBasedEvents Call Handler_TurnBasedEvents.
Run the room's scenic event.
EB13 CALL Handler_ScenicEvents Call Handler_ScenicEvents.
Read a command and match it against the vocabulary.
EB16 CALL Handler_UserInput Call Handler_UserInput to read a command.
Match the command against the vocabulary.
EB19 CALL Parser_MatchVocabulary Call Parser_MatchVocabulary.
EB1C JR C,GameLoop Jump back to GameLoop when the command was not understood.
EB1E CALL Handler_MatchVerb Call Handler_MatchVerb to carry out the verb.
EB21 JR GameLoop Jump back to GameLoop for the next turn.
View the equivalent code in;
Prev: EB02 Up: Map Next: EB23