grid_gen_lv: grid_gen_lv()

View source: R/grid_gen_lv.R

grid_gen_lvR Documentation

grid_gen_lv()

Description

This function generates a sudoku grid for four levels of playing "Easy", "Difficult","Hard" and "Legend" based on the number of backtraking does the finction bt_solver did to solve the grid.

Usage

grid_gen_lv(lv)

Arguments

lv

A string argument level for the grid and must be "Easy", "Difficult","Hard" or "Legend"

Value

A sudoku grid associate to the level in lv

Examples

grid_gen_lv("Easy")
grid_gen_lv("Legend")

RSDK documentation built on March 18, 2022, 5:08 p.m.