Skip to content

Instantly share code, notes, and snippets.

@ryan-lingle
ryan-lingle / sudoku.js
Last active September 21, 2018 14:59
add to your browsers developer console on https://www.websudoku.com/?level=1 and it will solve the puzzle
function sudokuSolver(n, t) {
let start = t;
let count = n;
const tableIndex = buildTableIndexes();
let table = [];
document.querySelectorAll("#puzzle_grid tr").forEach((row) => {
let cells = [];
for (var i = 0; i < row.cells.length; i++) {
cells.push(row.cells[i])
Verifying my Blockstack ID is secured with the address 1FqbAJ334qaewEubUaFdEEQoxZih1Nx6TV https://explorer.blockstack.org/address/1FqbAJ334qaewEubUaFdEEQoxZih1Nx6TV