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

Re: [pbmserv-dev] quick question



I ordered 200 oxen, but Douglas Zander <dzander@solaria.sol.net>
sent me this instead:

> Hi, I need to program a game [Gops] where there are non-sequential moves.
> In each round I wish to hide each player's move from the others until
> everyone has made a bid.  How do I do this?  Specifically, what do I
> return as the move when each player makes a bid?  Do I simply return 
> the bid and allow the game.cpp module to hide the information until
> all players have sent in a move for the round? 

As I recall, Yes.   You simply process the move and make sure
SequentialMoves returns 0, and the visibility of the sequential moves
is handled for you.

> Any games on the server
> (other than risque) that I can look at and get help from for non-sequential
> moves? I've looked at Stratego but that game is a little different from
> what I want and I don't think I can use that model. Any help is
> appreciated.  

Tow, Hearts, MHearts.  Tow is straight non-sequential.  Hearts and
MHearts are non-sequential during the passing phase and sequential 
the rest of the time.

Hearts and MHearts have the added complication that one the
non-sequential moves are made, the move history for those moves is
cleared so that it's not revealed what cards were passed.

-- 
Ted Rathkopf