Games::ScottAdams - Perl extension for representing Scott Adams games
use Games::ScottAdams; $game = new Games::ScottAdams::Game(); $game->parse('/usr/local/lib/sac/foo.sac'); $game->compile();
This module allows adventure games in the textual SAC format to be compiled into a form that can be understood by Scott Adams adventure interpreters such as ScottFree and GnomeScott.
I don't propose to discuss the API because frankly, no-one will ever call it. They'll just use the trivial front-end program
sac which is essentially identical to the code in the SYNOPSIS, but with a few more
use stricts and suchlike.
You'd do much better to read the Tutorial and Reference Manual.
The Scott Adams Adventure Compiler Tutorial (Games::ScottAdams::Tutorial)
The Scott Adams Adventure Compiler Reference Manual (Games::ScottAdams::Manual)
sac, the Scott Adams Compiler that uses this module.
Mike Taylor <email@example.com>
First version Tuesday 17th April 2001.