Skip to content

timotheeMM/snake-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🐍 SNAKE GAME 🐍

What is this project ?

This project is a new version of the famous snake game. This version is coded with HTML canvas and JavaScript.

Play the game

To play the game, go to this website: https://timotheemm.github.io/snake-game/

little trick: press the 'a' key to change the color of the apple and the 's' key to change the color of the snake.

You want to contribute ?

If you want to contribute to this project, you are welcome! For this, there are a few steps:

  1. Create a fork of this project in your GitHub account.

  2. Clone this fork on your machine with:

    # make sure that git is installed before doing this
    git clone https://github.com/your-username/snake-game.git
  3. Create a new branch that describes what you want to do by entering:

    git checkout -b my-branch
  4. Make your changes.

Important: add your github username to the CONTRIBUTORS.md file following the syntax of the creator.

  1. Add the files you have modified:

    git add .
  2. Make a commit where you say everything you’ve done:

    git commit -m "change... and add..."
  3. Push your changes to GitHub:

    git push -u origin my-branch
  4. Make a pull request by going to the project fork page and clicking on "Contribute > Open pull request". A window will open, and you will be able to explain in more detail all the changes you have made.

  5. Validate and then wait for validation... 😊

💡 You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star!

License

This project is under a MIT license.