[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pbmserv-dev] constraining the game launcher
On Thu, Sep 26, 2002 at 05:46:20AM +0200, Claude Chaunier wrote:
> Hi Richard. What code do you use to launch the LoA tournament
> with the list of players Dave Dyers provides? I'm thinking
> of adding a few lines to reject choices of colors that were
> already made last year - we would provide the list of
> unwanted color combinations.
The code is pretty simple, it takes the list of players for the pool,
and flip flops them into the matches...
e.g. if I were to start a pool with players a b c d e
it would create games....
a-b c-a a-d e-a
b-c d-b b-e
c-d e-c
d-e
b l a c k
a b c d e
w a - X . X .
h b . - X . X
i c X . - X .
t d . X . - X
e e X . X . -
--
/ \__ | Richard Rognlie / Sendmail Ninja / Gamerz.NET Lackey
\__/ \ | http://www.gamerz.net/rrognlie/ <rrognlie@gamerz.net>
/ \__/ | No trees were killed in the sending of this message.
\__/ | However, a great many instructions were executed.