Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Wisecrack998629dI just came here because I saw numbers and to say I'm stumped.
Hows the sudoku generator coming?
Ever think of doing sudoku's with geometric shapes instead of numbers? Dot=1, 2 lines = 2, triangle = 3, etc? -
Grumm181229dIs the UI made by you too ?
Maybe make the 3x3 lines in bold. They all have it and helps by not missing a row. -
retoor1206428d@Wisecrack symbol sudoku. Not a bad idea. Or with emoticons, just the textual once like :) else I don't know how to put them in
-
retoor1206428d@Grumm yes, good point. Yes, made the gui. It's a complete web component that validates and everything. The not very dark numbers are from the puzzle itself. The real black ones are user input. WIll add the 3x3 box stuff to the list. I agree after some playing with it. First i gonna continue on the puzzle generation / resolving algorithm. Those two have a lot to do with each other. I can optimize it a lot. It takes thousands of steps to solve a puzzle. According to ChatGPT a hard puzzle should be solvable in 300 steps with 1000 max or smth. But if i can get to < 100000 i'm already happy. 10000 is nothing for PC
-
retoor1206428d@grumm how component looks when you're using it. Red voor invalid. Fields from puzzle itself don't get marked. The green field is selected field, after you can put in a number. It are not textboxes, they're divs. While using it, it also have the basic pointer. Not some text pointer thingy. It's dark because it's not active when taking the screenshot. This page has multiple sudoku's on screen and only light's up the active one
-
tosensei841128d@Wisecrack > Ever think of doing sudoku's with geometric shapes instead of numbers? Dot=1, 2 lines = 2, triangle = 3, etc?
just use windings as font or something like that.
the choice of symbols to use doesn't change anything about the game at all (except make it frustratingly harder if you decide to use symbols that are hard to distinguish) -
Grumm181228d@retoor Does it give instant feedback when entering a number using the solution or the rules ?
If the first case is true, please don't. I will just brute force the puzzle by putting each number in the space until it is not red :D haha
Still like your project. I like sudoku's so great to see you are doing all the coding behind. (Or part of it :D) -
retoor1206428d@Grumm yes, it gives instant response. As you can see, the 9's are red. Current selection is green. Green means that you can enter a number to change it. If the number is correct, the green dissappears, else it stays there so you can enter a different value. It's actually perfect for manually brute forcing. The input is almost build for it. Brute forcing only works at the beginning but you'll get stuck later. For example. the 9's are very easy in this sudoku. Only one way to put them IIRC. But then it starts. If you can bruteforce from the 8 and next values, RESPECT! :D That's also a serious skill.
Thanks for liking my project :) My love for sudoku started after this project. The algorithm to generate / solve is so bad because I sucked at it. Now i'm quite good at it. Algorithm atm:
- select first field of fields with most neighbors (should be different neighbors)
- look in row, cols, and box what number is possible
- fill in value and try how far you can get with this recur
Related Rants
For the people who can't sleep. It looks easy, but there's smth in it what makes it hard. Sooner or later you'll fail. Not even generated with my advanced sudoku generator. This one is generated by my sudoku js widget what does a bare minimal of complexity in its generated puzzles. Let me know if you're able to solve it
random
sooner
solve
puzzle
complexity
can't sleep
widget
generator
later
sudoku
minimal
js