Skip to content

error2507/snake-in-commandline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake Logo

How to install:

  1. Install NodeJS to your computer.
  2. Download this repo on / Clone this repo to your computer and put the folder anywhere you want.
  3. Open your terminal.
  4. Navigate to the folder using cd PATH.
  5. Type npm install and press enter.
  6. Now you can type node snake.js and press enter.
  7. When you want to close the game you have to close your whole terminal.

How to play:

You can navigate using the arrow keys on your keyoard. The snake's body is simbolized by #. Food is too. When you touch the food with the front of the snake you will eat it. When your front touches the border or the rest of your body you die.

Credits:

About

A simple snake game you can play in terminal

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published