This plays the game properly, and defines a framework for adding statagy ("player") modules.
I'd love to hear feedback about the overall design and the extension mechanism. The idea emplyed here is to return a meta-object structure (hash) as the return from require, that contains items for doing things rather than member function in the usual way, so you don't need two different classes (one for the meta object, one for the real player) or obfuscating things by putting all the members in one class. I figure the usual meta-object will be a copy/paste from the sample with filling in the NAME etc.
Based on any feedback (and sleeping on it), I'll finalize the interfaces and write some proper documentation.
—John
In reply to Skunk Game - first cut by John M. Dlugosz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |