sudokuAlt (version 0.2-0)

emptyGame: Construct an empty game

Description

Construct a Vacant Game Structure

Usage

emptyGame(n = 3)

Arguments

n

an integer value between 2 and 5 inclusive.

Value

An empty sudoku game structure

Details

Returns a vacant game structure to allow special patterns to be constructed, as shown in the example.

Examples

Run this code
# NOT RUN {
g <- emptyGame(4)
diag(g) <- LETTERS[1:16]
plot(g)
g %>% solve %>% plot -> sg ## %>% imported from magrittr 
# }

Run the code above in your browser using DataLab