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

Show all comments

Showing thread 8 of 65

tromp#
After playing for a bit, I started to wish for a way to mark cells as done. Then I soon realized it was already implemented, as a right click. Unfortunately, right clicking on my Apple Magic Mouse is notoriously unreliable, so instead I developed an interesting new approach to solving.

I force myself to fix each cell as I scan the board from top to bottom, left to right. I thus have to visualize how my choices unfold downward, in search of clues, or ideally proofs, for how best to proceed. This manner of play reminds me a bit of the "reading" one does in the game of Go to explore variations before placing one's stone.
I hope other people find this more constrained version of interest as well...