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

Re: [werewolf] hacking werewolf code



On Tue, Aug 17, 2004 at 07:55:23AM -0500, Ted Rathkopf wrote:
> 
> What's the state of werewolf code?  Which file to I edit if I want to
> hack it?

Right now we're stilling running "werewolf.pl", the all-in-one perl script.  sharkey created "werewolf-refactor.pl" (and what is now haggis.pl) both of which are dependent on "perlgame.pm".

Geoff (kryten) has made big changes to perlgame.pm and is also working on making werewolf.pl work with his changes.  He also started reworking werewolf itself to use an internal database of village roles.  Not sure where he is on that.

If you wanted to hack something into werewolf.pl, that's probably the thing to do.  Either that, or take sharkey's perlgame.pm and werewolf-refactor.pl and make your changes there, run some test games and we can switch to the modularized version.