Please sign in to access this page
GB114
Check their projects out: N-gram Models, Gerber Viewer, LuminanceMeter, Bouncing DVD logo, BinaryCounter, Particle Simulator
Once you ship this you can't edit the description of the project, but you'll be able to add more devlogs and re-ship it as you add new features!
Good news, bad news :D
Good first: no need to code a Sudoku Generator because I'm using a library (Sudoku-core: https://github.com/komeilmehranfar/sudoku-core).
Bad news: the library is little bit slow when generating a hard Sudoku. It takes around 7s - 15s. Now I have to delete all my JS and write it all over again ; v ; (which feels like killing your kid hehehe)
Here (down) is a photo of the Sudoku (hard) puzzle generated with the Sudoku-core library:
So I have good news, and bad news :)
good first: I added the buttons so you can change the difficulty (I'll commit the changes later hehe) + the logic works pretty good (one solution only yay)
bad news: the game crushes after generating 6 or 5 puzzles (now I have to fix that and maybe change a lot ; v ;)
Added a function to choose the difficulty of the Sudoku (but no buttons yet so you can't hehe) and a function to count the solutions (which shouldn't be more than one with the new logic >v< )
Created the Sudoku generator, and styled it a little bit + played and found out the Sudoku has 2 solutions, and that means my logic has a mistake ; v ;