JosePedroDias / sudoku

sudoku browser game in recent js, drawn in canvas. hopefully mobile friendly

Home Page:https://josepedrodias.github.io/sudoku/#500420800403070010010060000020734006000205000100698040000080020060040905008057001

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sudoku

Motivation

A sudoku browser game in recent JS, drawn in canvas. Hopefully mobile friendly. The UX is somewhat inspired in Sudoku, the Clean One.

References

Vocabulary in source code

  • hint ~ candidate

Local HTTPS Dev

brew install mkcert
mkcert -install
mkcert localhost
npm i -g --only=prod https-localhost

npx https-localhost (prefix with sudo if in linux)
visit: https://localhost/ https://localhost/generate.html

Remote HTTPS Dev

npm i -g --only=prod localtunnel
npm i -g --only=prod http-server

http-server &
lt --port 8080 --subdomain sdku

TODO (eventually)

  • playing game
    • ask for suggestion as a toast
  • solving
    • implement solving algorithms
    • classify difficulty based on histogram and number/frequency of moves to solve
  • generating boards
    • generate full sudoku
    • apply template checking unique solution

About

sudoku browser game in recent js, drawn in canvas. hopefully mobile friendly

https://josepedrodias.github.io/sudoku/#500420800403070010010060000020734006000205000100698040000080020060040905008057001


Languages

Language:JavaScript 88.0%Language:CSS 7.3%Language:HTML 4.6%