Show HN: I made a puzzle game in HTML5
eightcolors.net
eightcolors.net
I wonder if it might be a nicer UX if you could choose for the Shift key to be needed to slide circles around rather than to move the selection. In my mind, conceptually, arrow keys are for moving the selection, and tessellating objects "requires more work" so I'd expect Shift to be needed for that - not vice-versa.
I do think you develop muscle memory for it pretty quick. Additionally, you can also use mouse, which can be convenient based on your preference.
Seems like a single toggle checkbox would be enough to satisfy everyone ;)
- arrow keys move the cursor
- the cursor is easier to see. Just a circle is probably better for me than the overlapping shadows
- shift + arrow does the move
- the cursor follows the moved element
Totally swapped in my mind too! I guess it's one of those "look up/down" thing in FPSs, you can learn the other way but it still does not feel as natural.
What's even more annoying is that the way this is currently implemented, I can't even use local overrides to change the behaviour since the site uses query strings for everything.
I am irritated and annoyed beyond measure.
Little off-topic, though, I love how Wordle kinda opened our eyes to the possibility of doing this kind of games in the web instead off a one-off native app. I recently made a word puzzle myself[1] which some of my friends enjoy playing and there's no way I would go through the soul-crushing cross-platorm native development ordeal for such a niche little app. But it can live in the web! (and pretty much for free thanks to Netlify). I'm now thinking of dusting and old Objective-C game that I wrote 10 years ago and never released, and rewrite it on web.
Idk, suddenly I feel excited about the web, again.
[1] https://palabrije.com/en (Sorry for the self-promotion)
Like I said, a pretty niche game :)
It's a good example that highlights the importance of both user experience and developer experience. It doesn't matter that the native implementation would be "better" if it's impractical to actually do.
Had quite a good time with Flutter even if it was just a week of tinkering.
I ended up in a situation with MMNNA all colored on the same row. AFAIK there is no word for that
Eight Colors is the result. The rules are simply, but puzzles do get challenging after few levels.
Hope HN likes it! Happy to hear any feedback!
1. Select arbitrary row and column. Use this row & column to arrange all other rows and columns.
2. Arrange the last row & column. This is always possible and should take <= 20 steps, left as an exercise to the reader :)
Other than that it seems nice and responsive. The popups for level complete are immersion breaking, perhaps a little more subtlety there.
I might see if you can fix that at some point in the future. You probably have other things to fix first. Great idea though.
[1]: https://developer.mozilla.org/en-US/docs/Web/API/History/rep...
I'd love it if it could be installed on the homescreen on mobile, with proper icon, splash screen and opening in standalone mode (i.e. not in the browser). I also sometimes trigger text selection on the grid or buttons, would be good to prevent it with `user-select: none`.
Fyi, on mobile Firefox/ Android, the address bar obscures part of the legend.
When replaying a level, the timer doesn't seem to properly reset. It will initially display "00m 00s", but then pick up where the previous attempt left off.
1. How do you move the shaded lines without clicking?
2. I had to figure out the arrow keys myself. A tooltip would be helpful
3. Your solve time accumulates after retries
Super fun to speedrun, has level 8 down to 3 seconds - would be nice if the counter also reset when you press reset.
edit: oh and miliseconds on the counter ;)
I quickly solved 7 levels and then tried doing lvl 23 and have been stuck on it for 10 minutes, always ending up with 2 circles next to each other that I cannot swap.
Cool game!
If you're stuck, try restarting the level? Or try swapping identical letters, f.e. two "G", it might unlock you.
To swap two horizontally adjacent elements and leave the other cells unchanged, place the cursor on the left element and enter 'dsdwdsddw'.
This is a neat way to implement it, too.
a) didn't work
b) seemed to hijack my browser history in such a way that after I returned to HN, every link on HN pointed to Eight Colours