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
-
JS
-
sudoku
-
tap
-
fonts
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