seedGame {sudokuAlt} | R Documentation |
Starting Point to Make a Random Sudoku Game
Description
Generate a random sudoku game starting point
Usage
seedGame(n = 3)
Arguments
n |
Size of the game, n^2 x n^2 |
Details
Generates a game with one instance of each symbol in random positions.
Value
A sparse unsolved sudoku game
Author(s)
Bill Venables
Examples
set.seed(2345)
g <- seedGame(3)
sg <- solve(g) ## a completed random game
plot(sg)
[Package sudokuAlt version 0.2-1 Index]