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

No packages published

Contributors 2

  •  
  •