Skip to content

Latest commit

 

History

History
47 lines (30 loc) · 919 Bytes

README.md

File metadata and controls

47 lines (30 loc) · 919 Bytes

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.