Table of Contents

This tutorial will guide you through a basic A-code implementation of Roger Firth's nano-adventure "Cloak of Darkness".

  1. Cloak of Darkness specification
  2. Style and terminology
  3. A-code Program Structure
  4. Player Vocabulary
  5. Objects
  6. Places (a.k.a. Locations or Rooms)
  7. Game Initialisation
  8. The Main Loop – House-Keeping
  9. Declaring Named Procedures
  10. The Main Loop – Player Input
  11. The Main Loop — Game's Response
  12. General Error Handling
  13. Location-Specific Code
  14. Verb-Specific Code
  15. Remaining Actions
  16. Finishing It Off
  17. Game's Complete A-Code Source

Proceed to the tutorial


Back to the A-code page
To the Mipmip home page
Feel free to leave a comment!
Mike Arnautov (02 July 2025)