Permadeath

version 1 by Victor Gijsbers

  • Home page
  • Beginning
  • Previous
  • Next



  • Section - Setting up the table

    [We use an external file to which we write the following table. Here, the first three numbers together make up the ID of the current play-through. Save-ID identifies the current save file. Saving-state is used internally to check whether we are saving or restoring.]

    Table of Adventurers
    ID-1 (a number)  ID-2 (a number)  ID-3 (a number)  Save-ID (a number)  Saving-state (a number)  
    0  0  0  0  0  
    with 1000 blank rows