Skip to content

fdezar/project-snake-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Snake Game

Snake is a classic arcade game where the player controls a snake that moves around the game board, eating food to grow longer while avoiding collisions with itself and the game board edges. This project implements the Snake game using HTML, CSS, and JavaScript. Done in collaboration with MarcelCostaFerre, as our first Ironhack project.

Features ✨

  • Start and control the snake using arrow keys.
  • Eat food to grow longer.
  • Avoid collisions with the walls and the snake's body.
  • Score points for each food eaten.
  • Game over when the snake collides with itself or the walls.
  • Restart the game with a single click.

How to Play 🎮

  1. Open the index.html file in your web browser.
  2. Use the arrow keys to start the game and control the direction of the snake.
  3. Eat food to grow longer and score points.
  4. Avoid colliding with the walls and the snake's body.
  5. Click the "RESTART" button to start a new game.

Installation 🔧

  1. Clone this repository:

git clone https://github.com/your-username/snake-game.git

  1. Open the index.html file in your web browser to play the game.

License 📄

This project is licensed under the MIT License.

Authors 👨‍💻

Deploy Link 💻

https://fdezar.github.io/project-snake-game/

About

Snake co-op project Ironhack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors