8 ms·
GitHub Snakes SVG
- dang 3y agoUrl changed from https://raw.githubusercontent.com/itning/itning/output/github-snake.svg https://raw.githubusercontent.com/itning/itning/output/githu... by user suggestion.
- ecuaflo 3y agoThe snake doesn’t get longer as it eats like in the game
- deleted 3y ago[deleted]
- micw 3y agoAlso the snake uses the area outside the grey raster. Unfortunately the "issues" feature is deactivated.
- rob74 3y agoI 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?
- darkwater 3y agoAlso 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/README.md https://github.com/Platane/snk/blob/main/packages/solver/REA...
- fmbb 3y agoFork it.
- platane 3y agoIt was the plan at some point. But it was a bit too hard to solve. (author here)
- mynameisnoone 3y agoIt ate my commit!
- quickthrower2 3y agoOnly likes Python commits
- Hamuko 3y agoIsn't that cannibalism?
- spand 3y agoPython is not named after the snake (https://en.wikipedia.org/wiki/History_of_Python https://en.wikipedia.org/wiki/History_of_Python)
- areynolds8787 3y agoBut it has two snakes on its logo ;)
- solardev 3y agoWhoa, I never realized that's what those were. I thought it was just a blue and yellow knot.
- rob74 3y agoOk, it's named after a show named after an (imaginary) person named after the snake.
- deleted 3y ago[deleted]
- tipiirai 3y agoLove this!
- deleted 3y ago[deleted]
- geordee 3y agoYou could rewind it too.
- panki27 3y agoCould be worked into a Santa delivering presents to houses :)
- low_tech_love 3y agoIs it a coincidence that the username is an anagram of "at plane"...?
- webprofusion 3y agoNeeds a share button and the animation doesn't play on it's own (I have to drag the scroll bar). Pretty cool though!
- 1231232131231 3y agoCORS Error: Access to fetch at 'https://snk-one.vercel.app/api/github-user-contribution/github https://snk-one.vercel.app/api/github-user-contribution/gith...' from origin 'https://platane.github.io 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 3y agoyep 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!
- helpfulContrib 3y ago[dead]
- platane 3y agoHi, I am the author. Thanks for submitting!
- dr_kiszonka 3y agoVery creative project, easy to use, and a great read me. Please don't get discouraged by others' negative comments.
- awill88 3y agoGreat job!