Tuesday, July 26, 2022
Show HN: Pipes puzzle (a.k.a. Net) on a hexagonal grid https://ift.tt/VN2OgIR
Show HN: Pipes puzzle (a.k.a. Net) on a hexagonal grid 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 =). https://ift.tt/lPaTGLw July 24, 2022 at 09:50PM
Subscribe to:
Post Comments (Atom)
Cybersecurity Career Week October 16-21, 2023
Join us in Observing Cybersecurity Career Week October 16-21, 2023 nist.gov/nice/ccw What is it? Cybersecurity Career Awareness Week is a ca...
-
CHIPS for America is a suite of federal programs to strengthen and revitalize the U.S. position in semiconductor manufacturing and research ...
-
The shift to remote work pushed businesses to reimagine the fabric of apps and cloud services they needed to support their workforces. sou...
-
Analysis of threat activity in mission-critical environments prompts CISA advisory urging SAP customers to apply necessary security patches ...
No comments:
Post a Comment