nodesnake
v1.0.3
Published
### To install globally ``` sudo npm install -g nodesnake ```
Downloads
3
Readme
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
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.