emptyGame {sudokuAlt} | R Documentation |
Construct a Vacant Game Structure
emptyGame(n = 3)
n |
an integer value between 2 and 5 inclusive. |
Returns a vacant game structure to allow special patterns to be constructed, as shown in the example.
An empty sudoku game structure
Bill Venables
g <- emptyGame(4)
diag(g) <- LETTERS[1:16]
plot(g)
g %>% solve %>% plot -> sg ## %>% imported from magrittr