HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
kevinAlbs
SphericalSnake
JavaScript2026–2026
kevinAlbs / SphericalSnake

SphericalSnake

Snake game on a sphere

2Distinct people
2Mentions
0Explicit recommenders
105GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Snake game on a sphere

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:56:07 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by hour2 dated mentions

Observed mentions: 2026-01-06 21:58:39 UTC to 2026-01-06 22:53:17 UTC.

012026-01-06 21:00:00 UTC to 2026-01-06 22:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsJan 6, 21:002026-01-06 22:00:00 UTC to 2026-01-06 23:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsJan 6, 22:00

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Jan 6, 21:002026-01-06 21:00:00 UTC2026-01-06 22:00:00 UTC101
Jan 6, 22:002026-01-06 22:00:00 UTC2026-01-06 23:00:00 UTC101

What Hacker News says

2 sources
I wish there is a mode where the snake go toward where my mouse cursor is (similar to agar.io), as opposed to having the controls turn the snake. So in update function where we have the "direction-=.08" and "direction+=.08" bits, "direction" would be assigned a value either due to the pressed state of the 4 arrow keys, or some arctangent of mouse coordinates: https://github.com/kevinAlbs/SphericalSnake/blob/b907738476d... Alternatively, keep the current controls, but rotate the whole world to match the snake's direction of movement. Current mix of non-rotating world with rotating controls makes the game more difficult, most snake variants I have played opted for non-rotating world with non-rotating controls (e.g. press right to go right, independent of current snake heading, as opposed to turning clockwise).
In Spherical Snake

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.