logoalt Hacker News

kevinAlbslast Tuesday at 11:56 PM7 repliesview on HN

I was pleasantly surprised when a friend texted me after work to say this game was on Hacker News. I hope it brought some small joy to your day. Some comments helped identify some minor tweaks. I do not expect to have time or motivation to make bigger changes soon. Feel free to make GitHub issues.


Replies

bryantwolflast Wednesday at 2:33 AM

You might find this fun. There this sonic the hedgehog special stage from sonic three that takes place on a sphere. Recently I made a remake of it and they project a 2d grid onto a sphere, but the projection adjusts as you move, so no matter where you go, you never end up at a pole. The poles always stay on your sides.

The other interesting bit is that you can have an arbitrary map size and just repeat it. The game is 32x32 but it could be whatever.

https://blue-sphere.fly.dev/play?map=s3-01

Anyway, great stuff you have here!

show 1 reply
hirsinlast Wednesday at 1:15 AM

I was unsure of the licensing, so happy to take it down if it's not open - but I forked this to test some agent features on GitHub mobile and was happy with it. https://hpsin.github.io/SphericalSnake/ and the PR I single shotted for testing https://github.com/hpsin/SphericalSnake/pull/1

Thanks for a fun mobile friendly test run!

show 1 reply
antirezlast Wednesday at 12:15 AM

Absolutely great. Seems easy at first then you start realize you need very different strategies when the snake is very long. Thanks :)

JumpCrisscrosslast Wednesday at 2:27 AM

Hypersnake! We need hypersnake! Snake on the surface of a hypersphere [1]! (Cubes can come too.)

[1] https://mathworld.wolfram.com/Hypersphere.html

show 2 replies
subsetlast Wednesday at 1:00 AM

Thanks for writing this game! I came across it after seeing your Checkers written in Rust for WASM game[0], and thought it deserved an HN submission of its own.

[0] https://github.com/kevinAlbs/Checkers

ImJasonHlast Wednesday at 2:50 AM

I just want to say I love this idea and execution. Great work, please make more :)