Skip to content

HASANALI117/Snake-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake Game

A simple snake game built with HTML, CSS, and JavaScript.

Features :

  • Control the snake to eat apples and grow longer.
  • Avoid hitting the walls or yourself.
  • Score tracking.

game

Overview

Snake is a classic arcade game where the player controls a snake that is trying to eat as much food as possible. The snake starts out small, but it grows longer every time it eats a piece of food. If the snake hits itself or the edge of the screen, the game is over. The player with the highest score at the end of the game wins.

The snake game is a simple game, but it is very addictive. It is a great game for people of all ages, and it is a great way to pass the time.

Getting Started

To get started with the Snake Game, you will need to have a web browser installed. Once you have a web browser, you can open the index.html file in the repo.

How to Play

The controls for the Snake Game are as follows:

  • W: Move the snake up.
  • A: Move the snake left.
  • S: Move the snake down.
  • D: Move the snake right.

Contributing

Contributions are welcome! If you find any bugs or have any suggestions, please open an issue or submit a pull request.

Here are some of the uncompleted features of the snake game:

  • Multiple levels of difficulty
  • Customizable snake colors and lengths
  • Customizable food colors and pictures
  • High-score leaderboard
  • Time mode

Game Page

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published