fetchSudokuUK             package:sudoku             R Documentation

_F_e_t_c_h _t_h_e _d_a_i_l_y _s_u_d_o_k_u _p_u_z_z_l_e _f_r_o_m _h_t_t_p://_w_w_w._s_u_d_o_k_u._o_r_g._u_k/

_D_e_s_c_r_i_p_t_i_o_n:

     Fetches the daily sudoku puzzle from http://www.sudoku.org.uk/ or
     one of their archive from the previous 31 days.

_U_s_a_g_e:

       fetchSudokuUK(day)

_A_r_g_u_m_e_n_t_s:

     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.

_V_a_l_u_e:

     A 9x9 matrix representing a sudoku puzzle (blank squares have
     value 0).

_N_o_t_e:

     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.

_A_u_t_h_o_r(_s):

     Greg Snow greg.snow@intermountainmail.org

_R_e_f_e_r_e_n_c_e_s:

     <URL: http://www.sudoku.org.uk/>

_S_e_e _A_l_s_o:

     'solveSudoku', 'playSudoku', 'generateSudoku'

_E_x_a_m_p_l_e_s:

     ## Not run: 

     #todays puzzle
     puz <- fetchSudokuUK()

     # puzzle from 25 Jan 2006 (if still available)
     puza <- fetchSudokuUK('25/01/2006')

     playSudoku(puza)
     ## End(Not run)

