fetchAUGame {sudokuAlt} | R Documentation |
Retrieve a Sudoku from the AU Site
Description
Retrieve a Sudoku Game
Usage
fetchAUGame(day = 0, difficulty = c("tough", "hard", "medium", "easy"))
Arguments
day |
non-negative integer, how many days ago? zero for today's game. |
difficulty |
character string, how hard would you like it? |
Details
Connects to http://www.sudoku.com.au and retrieves
the sudoku game from day
days ago. Based on a function from a
related sudoku package, sudoku::fetchSudokuUK
with minor changes.
Value
The published sudoku game as a sudoku object.
Author(s)
Bill Venables
Examples
## Not run:
fetchAUGame() %>% solve %>% plot -> gau ## The 'tough' game for today
fetchAUGame(3, "easy") %>% solve %>% plot -> eau ## 'easy' game from 3 days ago
## End(Not run)
[Package sudokuAlt version 0.2-1 Index]