run_2048: run_2048

Description Usage Arguments Examples

Description

The 2048 game

Usage

1
run_2048(nrow, ncol, p = 0.9)

Arguments

nrow

nomber of row

ncol

numver of col

p

probability to obtain a 2 (1-p) is the probability to obtain a 4

Examples

1
2
3
4
## Not run: 
run_2048()

## End(Not run)

ThinkRstat/r2048 documentation built on May 9, 2019, 4:43 p.m.