24 votes

Infinite Sudoku - a little timewaster I made

15 comments

  1. [5]
    unkz
    (edited )
    Link
    So like the title says, it's infinite sudokus. Which is more or less accurate, duplicates will occur approximately every 1.8 million sudokus in a given direction. The idea is you solve a puzzle,...

    So like the title says, it's infinite sudokus. Which is more or less accurate, duplicates will occur approximately every 1.8 million sudokus in a given direction. The idea is you solve a puzzle, and it reveals part of a map which is populated by amusing sprites selected by me and my kids. The outside corners of every solved sudoku are like a seed for the neighbouring sudokus. And of course you can solve one-off regular sudokus, and there's a sudoku of the day at each difficulty level.

    Fun features:

    • solver for sudokus
    • actually helpful looking hints (you can ask for a hint and it'll tell you the name of the technique but not where it is, and if you want more it'll show you exactly where the technique can be applied with illustration)
    • pretty good lessons that teach some of the medium and difficult techniques, but not the crazy stuff that requires multiple sheets of graph paper and a box of crayons
    • annotating tools beyond the regular pencil marks
      • simple colouring that displays locked pairs and lets you do alternating colours on the resulting graph
      • pair and triplet identifiers
      • multiple digit highlight
      • candidate trials so you can guess and check down a chain until you see a contradiction and revert at any time

    Any feedback is welcome!

    13 votes
    1. [4]
      moonwalker
      Link Parent
      I don't suppose you could add a dark mode? I got a bit flashbanged by it

      I don't suppose you could add a dark mode? I got a bit flashbanged by it

      5 votes
      1. [2]
        unkz
        Link Parent
        There’s dark mode now! It’s in settings, down where you can select the board colour and custom digits (handwriting, emojis, Roman numerals, letters).

        There’s dark mode now! It’s in settings, down where you can select the board colour and custom digits (handwriting, emojis, Roman numerals, letters).

        3 votes
        1. updawg
          Link Parent
          Thank you for defaulting to auto.

          Thank you for defaulting to auto.

          7 votes
      2. unkz
        Link Parent
        I absolutely will.

        I absolutely will.

        2 votes
  2. [8]
    hobbes64
    Link
    This is nice, thanks for posting it. I'm a little spoiled by the way Good Sudoku works. It looks like you have some of the same features but maybe using different methods to enable them. One...

    This is nice, thanks for posting it.
    I'm a little spoiled by the way Good Sudoku works. It looks like you have some of the same features but maybe using different methods to enable them. One example: In Good Sudoku, if you highlight multiple squares, when you type a number it automatically assumes you mean to use pencil so you rarely have to explicitly switch between pencil and pen mode.
    The adventure part of your game, in which you uncover pictures, is slightly similar to Proverbs which I also like.

    3 votes
    1. unkz
      Link Parent
      They’ve got some interesting interface options that I kinda like. Probably coming soon to a sudoku near you ;)

      They’ve got some interesting interface options that I kinda like. Probably coming soon to a sudoku near you ;)

      2 votes
    2. unkz
      Link Parent
      There’s a big keypad option now, and writing a number deselects the cell so you can use the keypad to choose a new number to highlight. Some of the messages were hard to read in dark mode too so I...

      There’s a big keypad option now, and writing a number deselects the cell so you can use the keypad to choose a new number to highlight. Some of the messages were hard to read in dark mode too so I fixed that. Also a lock option to zoom in the puzzle and disable panning which is a bit nicer to work on. I’m not really sure how the cell selection works in goodsudoku — it seemed super finicky, like I could only hold and drag so it was impossible for me to pick what I exactly wanted.

      1 vote
    3. [5]
      unkz
      Link Parent
      I couldn’t figure out how selecting squares works on goodsudoku but I implemented what in my humble-ish opinion is way better with an explicit lasso mode, that I actually use exclusively now. You...

      I couldn’t figure out how selecting squares works on goodsudoku but I implemented what in my humble-ish opinion is way better with an explicit lasso mode, that I actually use exclusively now. You can select multiple cells and write them all at once in either pencil or pen mode, and in pen mode it automatically deselects so you can use the keypad to highlight a different number. I flew through today’s easy puzzle in 2:01 with this mode.

      1. [4]
        hobbes64
        Link Parent
        That isn't working for me. I just selected 2 squares and then typed 2, and the the "pen" 2 was populated in both squares, and of course one of them was red because they can't both be right. If...

        That isn't working for me. I just selected 2 squares and then typed 2, and the the "pen" 2 was populated in both squares, and of course one of them was red because they can't both be right.

        If it's supposed to work differently then maybe it's a browser cache issue but I did reload the page after I saw your comment about the lasso

        1. [3]
          unkz
          Link Parent
          Well that’s my intended behaviour, so eg. if I see multiple cells where I know the answer is 2 I can quickly select all of them and then write them in with a single press of the 2 button. How were...

          Well that’s my intended behaviour, so eg. if I see multiple cells where I know the answer is 2 I can quickly select all of them and then write them in with a single press of the 2 button.

          How were you expecting it to work?

          2 votes
          1. [2]
            hobbes64
            Link Parent
            I've never intended to make a permanent mark for the same number in more than one cell at a time. I almost always fill more than one cell at a time with a pencil value. For me, pencil means "I...

            I've never intended to make a permanent mark for the same number in more than one cell at a time.

            I almost always fill more than one cell at a time with a pencil value. For me, pencil means "I don't know which of these two or three cells should be 2, so I'm going to mark them all. The most common way I use pencil values is to make a pointing pair. The secondary reason is to just show that I've got an ambiguous choice here of 2 or 3 values, usually in a row. Then in harder puzzles I often have two cells with two values, so I know that no other cells on the same row (or column, if appropriate) can be those two values.

            1. unkz
              Link Parent
              Aha. Well, perhaps not quite as optimal for your use case but close, you can use the lasso tool and select cells using the pencil and fill multiple pencil marks at once. This seems pretty useful...

              Aha. Well, perhaps not quite as optimal for your use case but close, you can use the lasso tool and select cells using the pencil and fill multiple pencil marks at once. This seems pretty useful to me, like if I’m eliminating a naked pair/triple from the rest of the house/row/col I can quickly select them, then remove all three with three button presses while staying in pencil mode.

              For me, I’ve found that i often quickly go through a sequence of permanent marks as I use the selected cells as a sort of visual cue to eliminate candidate cells as if I were entering the numbers directly. But I usually do this with all the pencil marks filled, so it’s easy to see. Sounds like you do only some pencil marks as you fill permanent numbers?

              1 vote
  3. [2]
    Grayscail
    Link
    I like it! Unlocking parts of the image makes completing a square feel more rewarding, even though I would have had fun with the puzzle regardless. Did you make the artwork in the background, or...

    I like it! Unlocking parts of the image makes completing a square feel more rewarding, even though I would have had fun with the puzzle regardless.

    Did you make the artwork in the background, or is that coming from somewhere else? Its really nice pixel art.

    2 votes
    1. unkz
      Link Parent
      My first attempts at this were using pixel art packs off itch.io but I couldn't find any way to make it work that didn't look awful, so these are done using various local models (qwen, sdxl...

      My first attempts at this were using pixel art packs off itch.io but I couldn't find any way to make it work that didn't look awful, so these are done using various local models (qwen, sdxl mostly), with a bunch of post-processing to clean up backgrounds, pixelating, fixing transparencies, etc. We probably spent 50+ hours combined making the images, they were the most time consuming part of the whole thing. There are like two thousand rejected images.

      2 votes