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.
sac
use strict
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 <mike@miketaylor.org.uk>
First version Tuesday 17th April 2001.
To install Games::ScottAdams, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Games::ScottAdams
CPAN shell
perl -MCPAN -e shell install Games::ScottAdams
For more information on module installation, please visit the detailed CPAN module installation guide.