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

Re: [pbmserv-dev] suggested game: Sid Sackson's Haggle



--- mballinger@fibres.net wrote:
> > 3) The point values are determined by a large set
> of
> > rules (one per player): examples might include:
> > 
> > The catch is that every player is shown only two
> > (different) rules and every rule is shown to two
> > players
> 
> It would be interesting to see the possible
> different rules.
> 

Well the book just gives a set of exmaples but makes
it clear that it is up to the implementor's
imagination!  You can, for example, have a rule that
says that two blue cards double to value of any red
cards in ones hand.  This is where I get to try to use
my math credentials to try to come up with a set of
rule templates that are interesting and yet provably
unambiguous!

> > The only actions in the game are:
> > 3) submit <hand> (submit a hand for final scoring)
> > 
> > turn in a subset of the cards in your possession.
> 
> I don't get this part.  Why bother?
> 

because sometimes cards can be bad as well as good and
so you may want to discrad some cards prior to
submission.  I guess we could have a "rip up card"
option and when the gong goes off you're stuck with
what you have!

> > 5) accept
> > 
> > Accept a trade.  Maybe this should have the same
> form
> > as the proposal so one knows which trade one is
> > accepting.
> 
> Just have the server number the proposals
> sequentially.  Then let the other player "accept" or
> "reject"  The proposer could have a "withdraw"
> command.
>

Works!
 
> > I thought there might be enough overlap with WW
> > functionality that it might be most easily
> implemented
> > in Perl.
> 
> . . . says the c++ coder!  I'm the guy who missed
> one "!" in perl today and screwed up the game!
> 
>

You noticed that part did you :-). There are just so
many handy features that would need to be spliced into
the base game.cpp such as the ability to join a game,
the messaging commands, etc.  The kinds of
functionality needed would represent a brave new world
beyond the sorts of game development I've done to
date!  Not saying I am not up to it, but would need
guidance (especially since the possibility of trashing
the server probably would go way up :-)).

Cheers,

Lyman