Lurker News
Hello, HN - I wanted to share this puzzle game I made during my vacation.

I'm rather fond of the pipes puzzle where your goal is to restore a scrambled network of connections by rotating tiles. It's usually played on a grid of squares and this all started when I decided to make a programmatic solver for that kind of puzzle. Then I realized that with some minor changes the solver could generate new puzzle instances. I thought about what kind of puzzle to make and someone suggested a hexagonal grid. Adapting the generator wasn't too hard but then I had to create a way to play this variant. So I did just that =).
I find hexagonal pipes a bit more difficult than the square variant because there's a larger variety of possible tile shapes. For an extra challenge I implemented wrap mode where the board can connect to itself (right to left and top to bottom), so there are no convenient outer walls to start from.
The site is made with Svelte Kit, its code is available on github at <https://github.com/gereleth/hexapipes>.
Hope you enjoy playing =).

Comments (161) 65 threads

Earlier comments
hutch120#
Fun game! Can I suggest adding a licence file to Github so people know what they can do with the repo.
pyrolistical1 reply#
Its annoying having to tap so many times, especially when certain pieces have few valid orientations.
gereleth1 reply#
You can check out "Orient / Lock" control mode in the settings. It lets you orient a tile in one tap but needs precision about where you tap. I mostly use this mode but it takes some getting used to, so I didn't make it the default.
kps#
I think my ideal controls for this would be key presses (configurable) while hovering.

Current bests are 5×5: 00:22.056, 7×7: 01:01.394.
Edit: also, a control to randomize the orientation of all unlocked tiles would be nice.

Pakdef#
Nice.. it could be helpful if you could right click to turn the pieces in the other direction.
brent_noorda1 reply#
Some of the tiles become darker and then cannot be turned. What's that about?
POiNTx#
Probably to lock a tile if you're sure it's in the correct orientation.

Load more comments