Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Okay. (Not sure what DRY is.) I put it in a subroutine because it's used in two places - your very first move (somewhat like Scott Adams/Brian Howarth games) and when you type VERSION (somewhat like Infocom/Inform games). I've just got to remember to update the version number twice - once in the game_information{} block and once in the subroutine.

Incidentally, where is the game_information{} block ever used?

The game information block is used by the saved game handler (it uses short name, game version, and uuid). It's also meant to be used by indexers eventually. It also is used for the *credits command, and some of the text (such as the author license information) is placed at the top of the compiled HTML file.

DRY = Do not Repeat Yourself.