Skip to content

layne74/SnakeGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Description

Just a simple snake Game. Always wanted to make a Snake game with Vanilla JS. Works using CSS grid for positioning and interval for the games frame ticking.

Installation

Download/clone the zip file and open the index.html in a browser of your choice.

If you feel that is too much effort, fair enough, you can play it here on Vercel.

Alternatively, you can pull the docker image with docker pull laynehutch/snakegame.

How to play

You can use the arrow keys on your keyboard to direct the snake. Collect food and dont collide with yourself. Both the top and bottom walls can be used to reach the opposite side.

Author