[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pbmserv-dev] Werewolf/Haggis code
On Wed, Jul 28, 2004 at 09:29:52AM +0100, Geoff Hubbard wrote:
> Questions:
>
> Why is the challenger not automatically joined up to the game?
Not sure other than "challenge" does not include an alias option
> lastmove: This seems to be currently irrelevant in the werewolf code
> except as a measure of inactivity on a board/game level. Does anyone
> object to me simplifying the code by removing it for the players?
Please do not remove last move. It's how nags/etc operate.
> There is a Cleanup commad that does the nags, does it matter that this
> can be called by anyone? (I expect not).
It can not be called by "anyone" it can only be called when ARGV[1]
== 'Cleanup' but all player arguments in pbmserv.pl converts all
player submitted moves to lowercase 'cleanup' which would be an unknown
request.
./werewolf Cleanup is a pbmserv commandline option.
> Can anyone see any problem with using the much simpler Data::Dumper to
> dump and load game data structures out to file rather than the current
> rather 'clever' save game implementation?
How would that affect hand tweaking of data files when necessary?
--
/ \__ | Richard Rognlie / Sendmail Ninja / Gamerz.NET Lackey
\__/ \ | http://www.gamerz.net/~rrognlie <rrognlie at gamerz.net>
/ \__/ | I didn't say it was your fault,
\__/ | I only said I was going to blame you for it