tn1ck / super-sudoku Goto Github PK
View Code? Open in Web Editor NEWFull featured open source sudoku with a very nice web interface.
Home Page: https://sudoku.tn1ck.com
License: MIT License
Full featured open source sudoku with a very nice web interface.
Home Page: https://sudoku.tn1ck.com
License: MIT License
I'm hoping for some way to edit the notes generated by the "Show auto-generated notes" toggle. For example, in the following image I can't remove 2 and 9 candidates from the other cells (the"other cells" are the cells which have 1,4,2,9 in them) in the center 3x3 even though logically I can eliminate the 2&9
On more difficult sudokus when playing with "show generated notes" turned on, sometimes I want to alter the notes that are visible, even though they're generated. Right now, if the "show generated notes" is on, I can't change the notes in the squares. Usually I just deal with not being able to change the notes, but sometimes I will get desperate. In those times, I'll have to manually copy all the generated notes to the "normal notes"/"user notes" and then make my changes to the notes. But then I lose the ability for future correct guesses to be automatically tracked in the notes.
I'd like some way to be able to turn on auto-generated notes while also being able to change those auto-generated notes somehow. I realize though that might be quite annoying to implement.
If I were to speculate about implementing this feature (I've not looked at the code) the most complete solution seems like you'd have to track both the auto-generated notes and the users changes to those notes and reconcile them somehow; maybe via a kind of "layer" system.
A potentially easier but less comprehensive implementation would be a button labeled something like "copy auto-generated notes into user notes" which does a one-time copy of the auto-notes to the notes which are editable by the user when the the button is clicked. This approach would cut out the step I described where I manually copy the auto-notes, but that'd still leave me to manually manage the notes going forward. Though I suppose manually managing the notes would be much easier now that I've got a buttong that does a one-way sync from auto-notes to user notes...
Anyway, thank you again for such a snappy, polished, accessible, and fun sudoku implementation!
using debian-live-11.6 VM as a "clean room" build (I don't use/trust yarn
so needed somewhere to try it)
download your code zip file, extract, cd into it
yarn install
fails, the first solution in following URL gets past that problem ( https://stackoverflow.com/questions/46013544/yarn-install-command-error-no-such-file-or-directory-install ), this is what that solution was:
sudo apt remove cmdtest
sudo apt remove yarn
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update
sudo apt-get install yarn -y
Then this occurred:
user@debian:~/Downloads/super-sudoku-master$ yarn install
yarn install v1.22.19
[1/4] Resolving packages...
[2/4] Fetching packages...
error @vitejs/[email protected]: The engine "node" is incompatible with this module. Expected version "^14.18.0 || >=16.0.0". Got "12.22.5"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
I realise this is likely not your issue but it's quite common for developers to have an environment where building stuff is 2nd nature. This may show up something of interest.
I have no issues, this is merely the easiest place for me to record a thank you. Please close this issue if need be.
This sudoku implementation is so good that it literally got me interested in playing sudoku for the first time ever. The killer feature for me is the "show auto generated notes" toggle. I could never understand the appeal of Sudoku before playing with that; sudoku always seemed like a tedious bookkeeping game where you spent most-to-all of your time just finding the basic candidates with no actually interesting logical inference. Little did I know that was because I was only ever playing on "easy", where pretty much all puzzles are solvable without ever using more advanced techniques.
I tried playing on hard on a whim, got impatient and turned on "show auto-generated notes", and was SHOCKED when I found that the auto-generated notes where insufficient to solve the whole board. I was intrigued! "How else do you solve a sudoku? What more is there to learn?" With that, I've become totally hooked.
By now I've beaten all the hard sudokus and am working my way through the experts. I'm having so much fun! Since it's just a website, I've recommend it to everyone I know, and they love it. It's fast to load, it works great on mobile, it's snappy, tracks your progress with no problems; just the best I've ever used.
Thank you so much for this gift to the world!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.