0.1.1 • Published 6 years ago
dangernoodle v0.1.1
DangerNoodle
DangerNoodleJS is the classic game of Snake written for the command line in Javascript.
Getting Started
These instructions will get you a copy of DangerNoodleJS running on your local machine.
Prerequisites
Installing
Use the package manager npm to install.
npm install dangernoodleUsage
var dangerNoodle = require("dangernoodle"); // include in your own projectdangernoodle # run in bash terminalIn the terminal, use the arrow keys to control the snake. Eating a dot makes the snake grow longer. Touching the wall or the snake's body ends the game. Press Escape, q or Ctrl-C anytime to exit the game.