[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pbmserv-dev] tournaments
All,
On second thought should the tournament stuff go in game.cpp?
Wouldn't it be better to have one tournament command (taking the game
as an argument) instead of a tournament argument for every game
command. That way game.cpp doesn't get even bigger. The tournament
"start" command needs to issue challenges and record the corresponding
game numbers. This is easy to do (I think!) from within game.cpp but I
don't quite see how to do it elegantly from a "tournament" command.
Maybe it would be better to modify Richard's tournament code? The main
problem with it is the game numbering. For two tournaments you will
probably have two games called a12 and this makes a mess of archiving
(which I really want). Also, what happens if later we have multiple
tournaments in a single game at the same time? Where is Richard's
tournament script?
Paul