1.0.3 • Published 3 years ago

nodesnake v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Snake In C

Exported as a NodeJS Module!

To install globally

sudo npm install -g nodesnake

Open your terminal and type:

playSnake

If you don't want to install it globally, create a folder and

npm install nodesnake

After that, create a js file in the working directory:

const snake = require('nodesnake');
snake()

Then call the js file in the terminal

node JSFILE

Gameplay

Gameplay in terminal

You use the keyarrows on the computer to choose the direction to go. Purple carrots are the food and score and the rest are different powerups/downgrades. Try them out!

This is also counting highscore so play it to the end and the highscore will be saved for next time.

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago