snake-bash
v1.1.1
Published
The Snake Bash is a classic arcade-style game that you can play directly from your terminal.
Downloads
14
Readme
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 left6
: move right8
: move up2
: move down
Interact with the game:
q
: quit the gamer
: 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.