Skip to content

Welcome to my debut game project! 🎮 The classic Snake Game was a great way for me to start exploring and experimenting with CSS. I also added a pretty neat animated gradient border :)

Notifications You must be signed in to change notification settings

CestratusAmicus/First_Snake_Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake Game 🐍

Chill out and play a classic game of Snake! This is a single-player arcade game where you control a snake that grows longer as it eats food.

How to Play

  1. Press the Spacebar to start the game.
  2. Use the Arrow keys to move the snake around the game board.
  3. The snake will grow longer each time it eats a piece of food.
  4. Don't let the snake hit the walls or itself, or it's game over!

Scoring

Your score is displayed in the top left corner and increases as the snake grows longer. The high score is shown on the right. Try to beat your high score each time you play!

Getting Started

  1. Clone or download the repository.
  2. Open the index.html file in your web browser.
  3. Press Spacebar to start playing!

Built With

  • HTML
  • CSS
  • JavaScript

Inspired by

This project is based on the "Beginner JavaScript Project – Snake Game Tutorial" by freeCodeCamp.org on YouTube here. While the core gameplay is similar, I've created my own design including an animated gradient border.


Hope you enjoy :)

About

Welcome to my debut game project! 🎮 The classic Snake Game was a great way for me to start exploring and experimenting with CSS. I also added a pretty neat animated gradient border :)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published