Platane / snk

🟩⬜ Generates a snake game from a github user contributions graph and output a screen capture as animated svg or gif
https://platane.github.io/snk
4.39k stars 1.11k forks source link

my feedback #96

Closed Andrew-devcoder closed 1 year ago

Andrew-devcoder commented 1 year ago

Hello,

I would like to express my gratitude for your work on Snk. As a user, I wanted to share my feedback. I found it challenging to understand how to create my own commit history with Snk. To address this, I added additional lines of code to the YML file, specifically:

- name: Clone repo
  uses: actions/checkout@v3

I also correctly integrated the following code into my README file:

<picture>
  <source
    media="(prefers-color-scheme: dark)"
    srcset="https://raw.githubusercontent.com/Andrew-devcoder/Andrew-devcoder/output/github-contribution-grid-snake-dark.svg"
  />
  <source
    media="(prefers-color-scheme: light)"
    srcset="https://raw.githubusercontent.com/Andrew-devcoder/Andrew-devcoder/output/github-contribution-grid-snake.svg"
  />
  <img
    alt="github contribution grid snake animation"
    src="https://raw.githubusercontent.com/Andrew-devcoder/Andrew-devcoder/output/github-contribution-grid-snake.svg"
  />
</picture>

PS I'm a beginner, so please forgive me if I state the obvious.

Platane commented 1 year ago

Hi, thanks for the feedback !

I don't think the checkout step is necessary (?)

I have noticed that you are using the version on master ( snk@master ) which is deprecated. You can update to the v3 ( the api changed a bit, it's all documented in the readme )