News for hackers. Stuff that matters.
Re:Show HN: Sokyokuban, a puzzle game in a non-Euclidian world by xvedejas on Sunday January 24, 2021 @03:33PM (#25895653)
How does one define a coordinate system on such a grid? I considered making a game with the same kind of grid (five squares meet at each corner) but I just couldn't figure out how to individually address each cell in a way which allows easily finding which other cell IDs must be neighbors.
Re:Show HN: Sokyokuban, a puzzle game in a non-Euclidian world by zenorogue on Sunday January 24, 2021 @03:42PM (#25895757)
I have written a quite detailed explanation of this here: http://roguetemple.com/z/hyper/dev.php
Re:Show HN: Sokyokuban, a puzzle game in a non-Euclidian world by jaspervdj on Sunday January 24, 2021 @04:22PM (#25896203)
I second this as a great resource! Your game HyperRogue was also a big inspiration for this game.
Re:Show HN: Sokyokuban, a puzzle game in a non-Euclidian world by 2mol on Sunday January 24, 2021 @03:35PM (#25895676)
There is a teensy explanation on the about page: https://sokyokuban.com/#about

I'm sure the authors would also be more than happy to answer that question.

Re:Show HN: Sokyokuban, a puzzle game in a non-Euclidian world by elitepleb on Sunday January 24, 2021 @03:52PM (#25895889)
https://www.redblobgames.com/grids/hexagons/ is the goto resource for this, at least for hexagons
Re:Show HN: Sokyokuban, a puzzle game in a non-Euclidian world by zenorogue on Sunday January 24, 2021 @04:03PM (#25896008)
It is a great resource for Euclidean hexagons, but non-Euclidean tilings are a different thing. (He does a bit of spherical geometry in his other articles.)