Live data from Hacker News

Spherical Snake

kevinalbs.com

91–100 of 141 posts

Re: Spherical Snake

#91

People are having fun submitting their fake scores to the leaderboard: https://kevinalbs.com/spherical_snake/leaderboard/ I see a person or two I know in there haha

Hah. I am unsurprised. I disabled posting to the leaderboard and removed scores that seemed fake or profane.

Re: Spherical Snake

#93
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.

Re: Spherical Snake

#94

Earlier quoted context omitted.

Why wrap in a lambda?

Could be to allow use of local variables that do not leak into the scope this code is executed in. That's what I use this pattern for.

pro tip: no longer necessary

    { let count = 50; const interval = setInterval(() => { addSnakeNode(); if (--count 

Re: Spherical Snake

#95

Is there a place I can read about taking unique creative approaches to original topics/games/concepts like this? "Thinking Different with Basics". I like this so much but its because it gets at an essence of creativity applied to the obvious I don't know how to learn or search for:(

Sadly i dont know if this can be learned persay as it wobbles along the “creativity” line. Id say that youd need to have a genuine curiosity along with a “what if” mindset that is hard to teach. The path to these ideas is often a train of what ifs, what if snake was 3d? Then what if it was 3d on a planet? What about a cube? You can take the same thought to other games. What if pong was 3d or on a sphere? What if pong…

Definitely. This is a pretty common approach: take an existing game, break it down into its constituent mechanics, then swap one of them out for a mechanic from an unrelated game. Rinse and repeat.

Case in point:

I built a twin-stick version of Snake that requires you to control two snakes simultaneously, called Twins of Caduceus. I even have a custom arcade box with two four-way joysticks so you can control one snake with each hand though you can play it with a regular keyboard. It’s a lot of fun, but you practically need the kind of hands that come built-in with localized neural ganglia to get a high score.

https://mordenstar.itch.io/the-twins-of-caduceus

Re: Spherical Snake

#96

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.

[deleted]

Re: Spherical Snake

#98
post #23

Earlier quoted context omitted.

Here's a console command you can run to increase the snake length immediately, and thus the difficulty: (() => { let count = 50; const delay = 100; const interval = setInterval(() => { addSnakeNode(); if (--count

Why wrap in a lambda?

Because I learned JS before ECMAScript 6 was widely supported by browsers and haven't written a ton of it targeting modern browsers. You're right that it's unnecessary.

Re: Spherical Snake

#99

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.

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

Re: Spherical Snake

#100

This reminds me of an idea I had a few days ago. Imagine a world where speed of light: - is small compared to human level speeds (say 2km/h / 1.25mph) - things could move faster than the speed of light. I really wonder how it would feel to explore this world visually. For example: - an object in front of me accelerates from 0 to above the speed of light - I'm in a car, looking backwards, going from 0 to above the spe…

[deleted]
Post reply on HN