Skip to content

This is a browser-based snake game made in JS.

Notifications You must be signed in to change notification settings

Bukii/snake-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

snake-game 🐍

created by Lukas W.

This is a web-based snake game fully created in JavaScript.

Step-by-step guide

Get the code

In order to get the entire code you have to clone the git repository.

Open your command line tool and go to your project directory.

Clone the repository by typing:

git clone https://github.com/Bukii/snake-game.git

There is now a new folder called "snake-game" with all files and folders in it.

Start playing

Open your explorer and move into the snake-game directory. Double-click on the index.html file and it should open it in your default browser. If not, a window will open saying with which app you want to open the file. Simply choose your prefered browser. And go.

By clicking one of the arrow keys the snake is going to start moving in the direction you just entered.

Control:

  • ⬅️ : move left

  • ⬆️ : move upwards

  • ➡️ : move right

  • ⬇️ : move downwards

  • 󠀠Space Bar : pause screen

About

This is a browser-based snake game made in JS.

Topics

Resources

Stars

Watchers

Forks