emptyGame {sudokuAlt}R Documentation

Construct an empty game

Description

Construct a Vacant Game Structure

Usage

emptyGame(n = 3)

Arguments

n

an integer value between 2 and 5 inclusive.

Details

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

Value

An empty sudoku game structure

Author(s)

Bill Venables

Examples

g <- emptyGame(4)
diag(g) <- LETTERS[1:16]
plot(g)
g %>% solve %>% plot -> sg ## %>% imported from magrittr 

[Package sudokuAlt version 0.2-1 Index]