watchUnoGame {gamesNws} | R Documentation |
writes a logfile of the game and returns the winner
.watchUnoGame( ws, ..., logfile = NULL)
ws |
Name of the workspace |
... |
no function yet, but in future some logging-specific attributes are available |
logfile |
the directory, where the log should be saved to(not yet implemented) |
This function will be called in a playUnoMaster()-function. The logfile-argument is not yet implemented, so actually the logfile is written in your workingdirectory. Different logging-modes will be possible.
winner |
player that has won the UNO-Game |
Markus Schmidberger <schmidb@ibe.med.uni-muenchen.de>, Fabian Grandke
## Not run: if(log!=0){ winner <- .watchUnoGame(ws, logfile=logfile) } ## End(Not run)