[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?
Like Richard said, because of the alias. Also, I don't want to assume that the challenger actually wants to play. My intention was that a player could be a kind of games-master.
That being said, the challenger should be automatically subscribed, and the join command should unsubscribe too.
> 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?
In addition to nagging, this may be useful for the day when we track players' responsiveness to games, something I've dreamed of.
> There is a Cleanup commad that does the nags, does it matter that this
> can be called by anyone? (I expect not).
>
> 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?
Like I mentioned before, Human-readable game files are necessary.