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

Re: [haggis] 20040704 changelog



On Tue, 13 Jul 2004 mballinger@ballinger.cx wrote:
> On Wed, Jul 07, 2004 at 05:52:17PM -0600, John Williams wrote:
> >
> > 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.

Well, a few hours a least, including testing.

> I've done a few game tests on the refactor code,

Oh good! I was hoping you would do that.

> 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!

Just let me know if you have any questions about it.  TMTOWTDI in perl and
sometimes I do it in more than one way...

Why don't we start using the new code on the next game of haggis.  One of
us can copy the files over before starting the new game.  (It might need a
extra line at the top of the file if it can't find the perlgame.pm file.
Something like: use lib "$ENV{PBHOME}/bin"; )

~ John Williams