snake-bash

1.1.0 • Public • Published

Snake Bash

The Snake Bash Game is a classic arcade-style game that you can play directly from your terminal.

How to play

To start the game, run the following command in your terminal:

npx snake-bash

If you install it as global dependency you can use the shortcut snake-bash

Control the snake:

Use the arrow keys to move the snake, optional use:

  • 4: move left
  • 6: move right
  • 8: move up
  • 2: move down

Interact with the game:

  • q: quit the game
  • r: restart the game

How to customize

To customize this game, you can clone the repository and install the dependencies (only linters):

git clone https://github.com/gabrielmissio/snake-bash.git
cd snake-bash
npm install

You can then make changes to the code and run the game using:

npm start

License

This project is licensed under the MIT License. See the LICENSE file for details.

Readme

Keywords

none

Package Sidebar

Install

npm i snake-bash

Weekly Downloads

0

Version

1.1.0

License

MIT License

Unpacked Size

14.2 kB

Total Files

24

Last publish

Collaborators

  • gabrielmissio
  • missio