fetchSudokuUK {sudoku} | R Documentation |
Fetch the daily sudoku puzzle from https://www.sudoku.org.uk/
Description
Fetches the daily sudoku puzzle from https://www.sudoku.org.uk/ or one of their archive from the previous 31 days.
Usage
fetchSudokuUK(day)
Arguments
day |
Optional character string specifying the day of the puzzle to download. This is in European date format 'dd/mm/yyyy' and needs to represent a date within the last 31 days. |
Value
A 9x9 matrix representing a sudoku puzzle (blank squares have value 0).
Note
See the website for copyright information. Don't submit your
solution for the prize contest if you used solveSudoku
or
playSudoku
with solve=TRUE
. This function requires a
working internet connection.
Author(s)
Greg Snow greg.snow@intermountainmail.org
References
See Also
solveSudoku
, playSudoku
,
generateSudoku
Examples
## Not run:
#todays puzzle
puz <- fetchSudokuUK()
# puzzle from 25 Jan 2006 (if still available)
puza <- fetchSudokuUK('25/01/2006')
playSudoku(puza)
## End(Not run)
[Package sudoku version 2.8 Index]