IFDB Spelunking 2 — 8 of 18

Sam Kabo Ashwell

Release 0

Part 5 - Endgame

Every turn when the player is in startroom:

if there are exactly 0 games in startroom begin;

say "And that was the last one. Time to leave.";

carry out the endgame;

end if;

To carry out the endgame:

end the story finally.