Skip to content

๐ŸŽฎ๐Ÿ๐ŸŽWeb-based JavaScript implementation of the popular game - Snake.

License

Notifications You must be signed in to change notification settings

mirokrastanov/snakeJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

29 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Snake JS

๐ŸŽฎ๐Ÿ๐ŸŽWeb-based JavaScript implementation of the popular game - Snake.

game-image

Live Demo

run-button

The Demo is now part of my app library

Description

  • The game Snake involves a player controlling a constantly moving snake in an attempt to help the snake eat as many apples as possible, without biting its tail or hitting the wall.
  • The game is played on a 20x20 board (15x15 for the React implementation in my App Library).
  • The snake's length increases each time it eats an apple.
  • Once an apple has been eaten a new one spawns at a random location.

How to play

  • To control the snake use the arrow keys to change its direction. Enjoy the game!
  • โฌ†๏ธ
  • โฌ…๏ธโฌ‡๏ธโžก๏ธ

How to win

  • Do not hit the wall
  • Do not bite your tail

Game Screenshots

image

image

image

image

Live Demo

run-button

About

๐ŸŽฎ๐Ÿ๐ŸŽWeb-based JavaScript implementation of the popular game - Snake.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages