snake-cli

0.1.1 • Public • Published

snake-cli NPM version NPM downloads Linux Build Status Windows Build Status

Experiment / demo using readline-utils to create a simple snake game in the terminal.

Install

Install globally with npm

$ npm install --global snake-cli

CLI

When installed globally, this module adds a snake command that will start the demo:

$ snake

API

This module also exports a function that may be called manually to start the demo:

var snake = require('snake-cli');
snake();

There are currently no options or configuration. This is just an demo to play around with some readline-utils features.

About

Related projects

  • enquirer: Intuitive, plugin-based prompt system for node.js. Much faster and lighter alternative to Inquirer, with all… more | homepage
  • readline-ui: Create readline interface to use in prompts. | homepage
  • readline-utils: Readline utils, for moving the cursor, clearing lines, creating a readline interface, and more. | homepage
  • repeat-string: Repeat the given string n times. Fastest implementation for repeating a string. | homepage
  • window-size: Reliable way to to get the height and width of the terminal/console in a node.js… more | homepage

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

Please read the contributing guide for avice on opening issues, pull requests, and coding standards.

Building docs

(This document was generated by verb-generate-readme (a verb generator), please don't edit the readme directly. Any changes to the readme must be made in .verb.md.)

To generate the readme and API documentation with verb:

$ npm install -g verb verb-generate-readme && verb

Running tests

Install dev dependencies:

$ npm install -d && npm test

Author

Brian Woodward

License

Copyright © 2016, Brian Woodward. Released under the MIT license.


This file was generated by verb-generate-readme, v0.2.0, on October 21, 2016.

Readme

Keywords

Package Sidebar

Install

npm i snake-cli

Weekly Downloads

3

Version

0.1.1

License

Released under the MIT license.

Last publish

Collaborators

  • doowb