[HN Gopher] Show HN: I Made a Sudoku Game
___________________________________________________________________
Show HN: I Made a Sudoku Game
Source:
https://github.com/alabhyajindal/sudoku/blob/main/index.html
Author : alabhyajindal
Score : 26 points
Date : 2024-01-08 15:23 UTC (7 hours ago)
(HTM) web link (sudoku-aj.netlify.app)
(TXT) w3m dump (sudoku-aj.netlify.app)
| Breadmaker wrote:
| Love it! 07:43 :-)
| alabhyajindal wrote:
| Thanks for playing!
| beardyw wrote:
| That's fun. Creating the puzzles must be quite complex.
| pupileater wrote:
| Really enjoyed it! 6:20 oo
| jsnell wrote:
| Unfortunately this doesn't feel good enough to even justify
| playing a full game.
|
| - The puzzles it's serving don't look very interesting or well-
| constructed. Are they randomly generated or from some existing
| puzzle DB?
|
| - I'd really like to navigate the grid with arrow keys, not just
| by pointing and clicking.
|
| - The app doesn't allow changing an already entered number, only
| undoing it.
|
| - There's no support for pencilmarks that I can see. That's an
| absolute requirement for a digital Sudoku implementation.
|
| - The app doesn't allow selecting multiple squares (for modifying
| all of them at once, or just for visualization).
|
| Sorry if this sounds harsh, but the problem is that by making a
| Sudoku app you're setting up a comparison to all the existing
| ones. Apps like SudokuPad have amazing ergonomics, a ton of
| features, and a seemingly endless number of expertly crafted
| puzzles. It's not a comparison you can do well at. Picking a
| different type of puzzle with less competition might work out
| better.
| mbb70 wrote:
| The sudoku logic is very simple:
| https://github.com/alabhyajindal/sudoku/blob/main/index.html...
|
| An empty grid is randomly filled in till it's solved, then a
| fixed number of cells are randomly cleared. Thus it's very
| possible to create an ambiguous solution.
|
| However I don't grade it against every sudoku app in history, I
| grade it against other handcrafted index.html sites. And on
| that metric I think it's pretty good.
|
| Lots of room to extend functionality of course, but it seems
| like a project whose value was in the making, not the having.
| imglorp wrote:
| My first game had an ambiguous solution not resolvable with
| logic. It was one of these deals: a.b
| ... b.a
|
| On the plus side, I like that it highlights the current
| number. For a mature exploration of this idea with many more
| features, look at https://www.sudokuslam.com/ for ideas. I've
| been playing that one for many years.
| Masterjun wrote:
| It seems I got an ambiguous sudoku puzzle.
| https://i.imgur.com/AUiLP7J.png
|
| I read somewhere that sudoku puzzles should always only have one
| solution or they don't count as "real" sudoku puzzles.
| notnaut wrote:
| I had one with at least two solutions as well and one of them
| was classified as invalid, though it should have worked.
| j-rom wrote:
| Nice! 5:28
| srcnkcl wrote:
| super cool, 5:51
| dave333 wrote:
| I entered an incorrect number and it won't let me change it??
| mjrpes wrote:
| Press undo button at top
| pyrolistical wrote:
| I hate it when it tell you a mistake was made. Part of the
| challenge is figure out where you made the mistake or start over
| codegeek wrote:
| Nice. Always like a game of Sudoku. Did it in 6:10.
___________________________________________________________________
(page generated 2024-01-08 23:01 UTC)