Remix.run Logo
frisia 17 hours ago

Looks nice but feels severely underbaked. Did a medium soduku puzzle. Made a mistake, so I tried erasing it to get rid of the noise. 0? no. backspace? also no apparently. then I just mashed other number keys to see if the square was responive at all and I failed the puzzle. Why does sodoku need a fail counter in the first place?

HaxleRose 14 hours ago | parent | next [-]

Fair criticism. I appreciate the feedback! I thought I made the backspace key work on Sudoku. I'll look into that. I know "E" works for erase. Just checked it and if the incorrect answer is selected, you can press "E" or "delete"/"backspace" and that should clear the incorrect answer. As for the fail counter, it's so that the leaderboards are fair. If someone can just faceroll the keyboard to solve the puzzle quickly, it's not really fair for the leaderboards. But I get it. Sudoku isn't typically really a competitive puzzle and when doing them on paper, you often will erase wrong answers and keep going.

cwmoore 12 hours ago | parent [-]

I am used to 0 and backspace, not too difficult to allow 0 key to clear a cell.

Curious if you could let me know what code or images provide the backgrounds on your Kakuro, is it a CSS diagonal line, or a tile? What comes up if you run a quick:

    find . -name diag.png -type f
Reminds me of mine!
HaxleRose 10 hours ago | parent [-]

Good to know. Yeah, it's pretty easy to add 0, so I'll do that soon. For the kakuro backgrounds, it's pure CSS, no images. The diagonal split in the clue cells is a single linear-gradient hairline, not a tile or PNG:

.kakuro-clue { background-image: linear-gradient(to top right, transparent calc(50% - 0.5px), rgb(148 163 184) calc(50% - 0.5px), rgb(148 163 184) calc(50% + 0.5px), transparent calc(50% + 0.5px)); }

The site uses Tailwind CSS for the styling generally.

ralferoo 16 hours ago | parent | prev | next [-]

Yeah, I didn't like the mistake feature because it flags it as soon as you make the error. In my case, it was actually a miss-click, so whilst I was confident with the answer I wanted to put, knowing that it had effectively just confirmed that for me made it feel like I was cheating. I'd rather make the mistake with no feedback, find the duplicate and go through the process of working out what was wrong, just as I would with paper.

EDIT: just played a hard game, and genuinely made a mistake. Having it tell me immediately definitely was cheating as there was then only one other answer that square could have been.

sevenzero 17 hours ago | parent | prev [-]

This is why I've built my own Sudoku. Offline, no timer, no fail count, just pick up and play... Will come in handy on flights later this year x)