fetchSudokuUK {sudoku} | R Documentation |
Fetches the daily sudoku puzzle from https://www.sudoku.org.uk/ or one of their archive from the previous 31 days.
fetchSudokuUK(day)
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. |
A 9x9 matrix representing a sudoku puzzle (blank squares have value 0).
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.
Greg Snow greg.snow@intermountainmail.org
solveSudoku
, playSudoku
,
generateSudoku
## Not run:
#todays puzzle
puz <- fetchSudokuUK()
# puzzle from 25 Jan 2006 (if still available)
puza <- fetchSudokuUK('25/01/2006')
playSudoku(puza)
## End(Not run)