DEV website instance!

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. A-code Program Structure
  3. Player Vocabulary
  4. Objects
  5. Places (a.k.a. Locations or Rooms)
  6. Game Initialisation
  7. The Main Loop – House-Keeping
  8. Declaring Named Procedures
  9. The Main Loop – Player Input
  10. The Main Loop — Game's Response
  11. General Error Handling
  12. Location-Specific Code
  13. Verb-Specific Code
  14. Remaining Actions
  15. Finishing It Off
  16. 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 (06 May 2025)