[HN Gopher] GitHub Snakes SVG
___________________________________________________________________
GitHub Snakes SVG
Author : keepamovin
Score : 192 points
Date : 2023-12-21 13:10 UTC (1 days ago)
(HTM) web link (github.com)
(TXT) w3m dump (github.com)
| dang wrote:
| Url changed from
| https://raw.githubusercontent.com/itning/itning/output/githu...
| by user suggestion.
| ecuaflo wrote:
| The snake doesn't get longer as it eats like in the game
| micw wrote:
| Also the snake uses the area outside the grey raster.
| Unfortunately the "issues" feature is deactivated.
| rob74 wrote:
| I guess that's not a bug but a feature, it has to do that to
| be able to handle some situations (e.g. a week where all days
| have more contributions than the "level" it's currently
| eating would block it from getting to the other side of the
| "playfield"). Still, there probably are some situations where
| it can't reach all the dots?
| yoz-y wrote:
| It looks like it prefers to eat cells in order but it can
| eat them out of order if going in order is impossible. I
| assume the timeline under the game is there to show how
| well it's doing.
| platane wrote:
| Those are the rules indeed.
| darkwater wrote:
| Also sometimes it eats darker spots before all the lighter
| are gone. Not sure if this is something permitted by the
| solving algorithm description [1]
|
| Anyway, fun experiment.
|
| [1] https://github.com/Platane/snk/blob/main/packages/solver/
| REA...
| fmbb wrote:
| Fork it.
| platane wrote:
| It was the plan at some point. But it was a bit too hard to
| solve. (author here)
| mynameisnoone wrote:
| _It ate my commit!_
| quickthrower2 wrote:
| Only likes Python commits
| Hamuko wrote:
| Isn't that cannibalism?
| spand wrote:
| Python is not named after the snake
| (https://en.wikipedia.org/wiki/History_of_Python)
| areynolds8787 wrote:
| But it has two snakes on its logo ;)
| rob74 wrote:
| Ok, it's named after a show named after an (imaginary)
| person named after the snake.
| tipiirai wrote:
| Love this!
| geordee wrote:
| You could rewind it too.
| panki27 wrote:
| Could be worked into a Santa delivering presents to houses :)
| low_tech_love wrote:
| Is it a coincidence that the username is an anagram of "at
| plane"...?
| 1231232131231 wrote:
| CORS Error:
|
| Access to fetch at 'https://snk-one.vercel.app/api/github-user-
| contribution/gith...' from origin 'https://platane.github.io' has
| been blocked by CORS policy: No 'Access-Control-Allow-Origin'
| header is present on the requested resource. If an opaque
| response serves your needs, set the request's mode to 'no-cors'
| to fetch the resource with CORS disabled.
| platane wrote:
| yep it uses my github token to retrieve the calendar from the
| github api.
|
| It seems like the traffic from HN eats my quota pretty fast!
| platane wrote:
| Hi, I am the author. Thanks for submitting!
| dr_kiszonka wrote:
| Very creative project, easy to use, and a great read me. Please
| don't get discouraged by others' negative comments.
| webprofusion wrote:
| Needs a share button and the animation doesn't play on it's own
| (I have to drag the scroll bar). Pretty cool though!
| awill88 wrote:
| Great job!
___________________________________________________________________
(page generated 2023-12-22 23:02 UTC)