Description Usage Arguments Examples
Function to play FourScores
1 2 3 4 |
rows |
integer: how many rows shall the playing field have? |
columns |
integer: how many columns shall the playing field have? |
AI |
boolean: play against AI? |
AIstrength |
integer: strength of the AI - number of moves the AI will simulate? |
AIplayernumber |
integer: 0 or 1: should the AI be player 1 or player 2? |
MACuser |
boolean: on some non-mac computers this can be set to |
PlayerNames |
array of characters: the players' names. |
getnewnames |
boolean: should new names be asked for? |
PlayerColors |
vector of characters: the players' colors. |
getnewcolors |
boolean: should new colors be asked for? |
1 2 3 4 | ## Not run:
FourScores(AI = T, AIstrength = 10, MACuser = T, getnewnames = F, getnewcolors = F)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.