startUnoGame {gamesNws} | R Documentation |
The Admin creates a workspace, starts an UNO-Game and dicides what game-conditions apply.
startUnoGame( wsName, cardsStart = 7, minPlayers = 2, maxPlayers = 10, log = 0, logfile = NULL, debug = FALSE, config = NULL, graphics = TRUE, ...)
wsName |
workspacename |
cardsStart |
the number of cards, each player gets at the beginning |
minPlayers |
the number of players, that are necessary to start a game |
maxPlayers |
the number of players, that maximal can join a game |
log |
number of log mode : 0 = no logging, !0=logging |
logfile |
the file, where the log should be saved to(not yet implemented) |
debug |
a logical, if TRUE, there are several debuginformation shown during the game |
config |
vector of four logicals, if not set, the program asks for the rules later |
graphics |
a logical, if TRUE, a grapic device is shown to the players |
... |
Usual parameters to initialize a netWorkSpace(). See http://nws-r.sourceforge.net/doc/nwsR-1.5.0.pdf (Page 25) for further information |
After starting the game, with this function, the players could log in with playUno(). This function only creates and starts the game. It does not play.
Markus Schmidberger <schmidb@ibe.med.uni-muenchen.de>, Fabian Grandke
http://gamesnws.r-forge.r-project.org/
## Not run: startUnoGame("test",serverHost="localhost",config=c(T,T,T,T)) ## End(Not run) ## Not run: startUnoGame("test",serverHost="localhost", cardsStart=13, minPlayers=4) ## End(Not run)