Generates a snake game from a github user contributions grid
Pull a github user's contribution grid. Make it a snake Game, generate a snake path where the cells get eaten in an orderly fashion.
Available as github action. Automatically generate a new image at the end of the day. Which make for great github profile readme
github action
- uses: Platane/snk@master
with:
github_user_name: platane
gif_out_path: dist/github-contribution-grid-snake.gif
svg_out_path: dist/github-contribution-grid-snake.svg
interactive demo
local
npm install
npm run dev:demo