powered by
Retrieve the Original from a Solved Game
originalGame(x)
a sudoku object
The original sudoku game corresponding to the solution, or object itself if the game is unsolved
Convenience function for accessing an original from a solved game. If the game is unsolved, the object itself is returned.
# NOT RUN { set.seed(666) seedGame() %>% solve %>% plot -> sg ## %>% imported from magrittr originalGame(sg) # }
Run the code above in your browser using DataLab