originalGame: Retrieve the Original from a Solved Game

Description Usage Arguments Details Value Author(s) Examples

View source: R/sudokuAlt.R

Description

Retrieve the Original from a Solved Game

Usage

1

Arguments

x

a sudoku object

Details

Convenience function for accessing an original from a solved game. If the game is unsolved, the object itself is returned.

Value

The original sudoku game corresponding to the solution, or object itself if the game is unsolved

Author(s)

Bill Venables

Examples

1
2
3
set.seed(666)
seedGame() %>% solve %>% plot -> sg ## %>% imported from magrittr
originalGame(sg)

sudokuAlt documentation built on Dec. 16, 2019, 1:23 a.m.