Live data from Hacker News

Spherical Snake

kevinalbs.com

131–140 of 141 posts

Re: Spherical Snake

#131

Earlier quoted context omitted.

I tried it, but really shouldn't have as I am colorblind and so matches were quite difficult. Some color games have an option for a colorblind-safe palette, maybe consider that?

The iPhone has built-in color filters. Have you tried using one of them?

Sure, I have them turned on for most of my devices.

Colorblindness isn’t exactly fixed by filters, for a few reasons. They help for some colors, but not others. And each person’s experience is different based on their specific deficiencies.

Anyway, this is a color-based game and that’s probably what it needs to be (unless size or shape could vary enough to substitute), so I’m not in the target audience.

Re: Spherical Snake

#132

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.

Hypersnake! We need hypersnake! Snake on the surface of a hypersphere [1]! (Cubes can come too.) [1] https://mathworld.wolfram.com/Hypersphere.html

4d snake. We need 4d snake.

https://store.steampowered.com/app/619210/4D_Toys

Re: Spherical Snake

#133

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.

Hypersnake! We need hypersnake! Snake on the surface of a hypersphere [1]! (Cubes can come too.) [1] https://mathworld.wolfram.com/Hypersphere.html

Came here to say this! I need to see this in a hypersphere

Re: Spherical Snake

#134

Earlier quoted context omitted.

Hypersnake! We need hypersnake! Snake on the surface of a hypersphere [1]! (Cubes can come too.) [1] https://mathworld.wolfram.com/Hypersphere.html

Came here to say this! I need to see this in a hypersphere

The theme song can be "Spiderpig" from The Simpsons Movie, but it's hypersnake.

Re: Spherical Snake

#135
The LB should be clickable to be able to watch the last n-secs of their game.

Would love to be able to start with n-length via url params (should be disqualify from LB if start w/ n-length.

Re: Spherical Snake

#136
post #94

Earlier quoted context omitted.

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

And polluting the global variable namespace hardly matters when using the console.

Re: Spherical Snake

#138

Control by phone sensor ( https://developer.mozilla.org/en-US/docs/Web/API/Orientation... ) would be nuts. tilting the phone as the control... Here's a demo of the control since mdn didn't have one: https://9ol.es/pitch.html Also a more practical thing while we're doing this is a thumb drag control, that'd make this a hit. Like flappy bird level.

I added gyroscope, thumb/pointer drag and full screen buttons too: https://aziaziazi.github.io/SphericalSnake/

Only tested on mobile safari yet.

Re: Spherical Snake

#139

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/b90773847…

I added thumb/cursor drag, gyroscope and full screen buttons: https://aziaziazi.github.io/SphericalSnake/

Only tested on mobile safari yet.

Re: Spherical Snake

#140
post #70

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:(

I watched this GDC talk recently about practical creativity: https://www.youtube.com/watch?v=zyVTxGpEO30 I like his perspective that creativity = using an existing pattern in a new context. You can be more creative by first consuming lots of different patterns in all sorts of contexts (e.g. playing lots of games, and also reading and experiencing lots of topics unrelated to games). Then you try all the different perm…

Thank you for this!
Post reply on HN