[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pbmserv-dev] tournament scripts
There are three options (not parameters) that may be set for timing
a game that anyone may set. They are nagtimelimit, totaltimelimit,
and forfeittimelimit. To use them simply use double dashes (hyphens)
instead of single dashes. Single dashes are for parameters and double
dashes are for options.
example:
nackgammon chall dzander rrognlie --totaltime=365 --nagtime=7 --forfeittime=21
This will challenge Richard to a game of nackgammon where we will get nagged
after 7 days of inactivity, we will forfeit the game after 21 days of not
making a move, and we must finish the game in 365 days. Note that I used
default limits for nagging and forfeitting. There is no default value for
totaltime; the default value is unlimited.
If you want to know more then please use the fetch command and get the
file game.cpp and look through it. I am sure that even if you do not
know C programming, you will still be able to figure out some things.
For example, you can use the word chall for shorthand instead of the
longer version. Also, you can spell the word "move" as "mvoe" or even
as "board" and it will still work when you send in your move. Please
do not be afraid of looking at the source code even if you are not a
programmer; I truely believe you will understand a lot.
Subject: fetch game.cpp
Good luck and have fun.
--
Douglas Zander |
|