[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [haggis] 20040704 changelog



On Wed, Jul 07, 2004 at 05:52:17PM -0600, John Williams wrote:
> I'm going to be gone for a few days (just in time for Mark to return).
> 
> So I have uploaded the refactoring effort to the server.  The files are
> not hooked up to the real commands yet, but Mark and other interested
> coders can review the code and try them out on their own servers if they
> want.
> 
> The files are:
> 
>    perlgame.pm            (the shared stuff)
>    haggis-refactor.pl     (refactored haggis)
>    werewolf-refactor.pl   (refactored werewolf)
> 
> I also made all the haggis rules into objects. :)

Damn that Sharkey!  I was pining to do this, but a job that would take me weeks he probably knocked out in 15 minutes.

I've done a few game tests on the refactor code, so I'm inclined to start coding against it rather than the monolithic haggis.pl.  I'm hoping two things: a good code base in the refactor.pl file, and 
my ability to comprehend adding to it.  We'll see what happens!

-mark