Skip to content

erufan/snake_game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake Game

Welcome to the Snake Game repository! This project is a classic implementation of the Snake game using JavaScript.

Table of Contents

  • Introduction
  • Features
  • play
  • Usage
  • Contributing

Introduction

The Snake game is a simple yet addictive game where the player controls a snake to eat food and grow longer. The goal is to avoid colliding with the walls or the snake's own body.

Features

  • Classic Snake game mechanics
  • Responsive design and playable on smartphones
  • Easy to understand and modify code
  • High score tracking

play

click the link below

https://snake-game-khaki-eta.vercel.app/

Usage

pc

  • Use the arrow keys to control the direction of the snake.
  • Try to eat the food to grow longer.
  • Avoid colliding with the walls or your own body. smartphons
  • Use controllers implemented by me ( playing with touch screen was very difficult so i removed this feature)
  • Try to eat the food to grow longer.
  • Avoid colliding with the walls or your own body.

Contributing

Contributions are welcome! If you have any ideas or improvements, feel free to open an issue or submit a pull request.