Description Usage Arguments Details Author(s) References Examples
The Admin creates a workspace, starts an UNO-Game and dicides what game-conditions apply.
1 2 3 4 5 6 7 8 9 10 |
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/
1 2 3 4 5 6 7 8 | ## 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.