assign_value | Action to assign value in selected cell |
check_cols | Check each column agains predefined criteria |
check_if_win | Function to check if user wins |
check_matrix | Main function to check if sudoku matrix is correct |
check_range | Check condition of values being within 1-9 range |
check_rows | Check each row agains predefined criteria |
check_squares | Check each mini-square agains predefined criteria |
check_unique | Check condition of values being unique |
fill_NA | Randomly fill empty values in matrix depending on difficulty |
flip | Flip matrix horizontally or vertically |
generate_matrix | Main function to generate final sudoku matrix |
generate_raw_matrix | Generate correct sudoku matrix to be modified |
get_small_index | Converts big index to range of small indexes |
is.sudoku | Sudoku class utils Function to check if an object is sudoku... |
print_matrix_cell | Print matrix cell with appropriate colour |
print.sudoku | Method for printing sudoku object in predefinied format and... |
randomize_matrix | Modify matrix by various approaches |
replace | Changes two values by each other |
rotate | Rotate matrix by 90 degrees |
shift_index | Move elements from tail to the head of vector |
shuffle | Internal shuffle function |
shuffle_columns | Change columns order randomly |
shuffle_rows | Change rows order randomly |
start_game | Main function to start game |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.