{"by":"gereleth","descendants":161,"id":32216436,"kids":[32232949,32231745,32230813,32232690,32232819,32232099,32233876,32378089,32231009,32231104,32232051,32230851,32231497,32231626,32245662,32231907,32238636,32233085,32235461,32236280,32284285,32231635,32233414,32233129,32234086,32232647,32237120,32232500,32231847,32239190,32230604,32233296,32233080,32232777,32248347,32232622,32232852,32232863,32234983,32233232,32232254,32231590,32232905,32232702,32232353,32235391,32236259,32233717,32230716,32230682,32231734,32233832,32232272,32232783,32234414,32232958,32234473,32234158,32234367,32231010,32244247,32238381,32241357,32233617,32222468],"score":537,"text":"Hello, HN - I wanted to share this puzzle game I made during my vacation.<p>I&#x27;m rather fond of the pipes puzzle where your goal is to restore a scrambled network of connections by rotating tiles. It&#x27;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&#x27;t too hard but then I had to create a way to play this variant. So I did just that =).<p>I find hexagonal pipes a bit more difficult than the square variant because there&#x27;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.<p>The site is made with Svelte Kit, its code is available on github at &lt;<a href=\"https:&#x2F;&#x2F;github.com&#x2F;gereleth&#x2F;hexapipes\" rel=\"nofollow\">https:&#x2F;&#x2F;github.com&#x2F;gereleth&#x2F;hexapipes</a>&gt;.<p>Hope you enjoy playing =).","time":1658688658,"title":"Show HN: Pipes puzzle (a.k.a. Net) on a hexagonal grid","type":"story","url":"https://hexapipes.vercel.app/hexagonal/5/1"}