Skip to content

A classic SnakešŸ game implemented in JavaScript

Notifications You must be signed in to change notification settings

nix1707/snake-game-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Ā 

History

4 Commits
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 

Repository files navigation

snake-game-js

preview image

This is a basic Snake game implemented in js. It's a classic arcade game where the player controls a snake that moves around the screen, eating food and growing in length. The game is built as a fun and educational project to help me in learning basics of js,html and css.

Features

Snake Control: Control the snake's movement using arrow keys (or other input methods if applicable).
Food: Randomly generated food items appear on the screen for the snake to eat.
Scoring: Keep track of the player's score based on the number of food items eaten.
Collision Detection: Implement collision detection to end the game when the snake hits the wall or itself.
Growth: The snake grows longer each time it eats food.

Installation

Clone this repository to your local machine using git clone https://github.com/nix1707/snake-game-js.git.

About

A classic SnakešŸ game implemented in JavaScript

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published