gabrielmissio / snake-bash

The Snake Bash Game is a classic arcade-style game that you can play directly from your terminal. It's a fun and addictive game where you play as a snake and try to eat food to grow while avoiding obstacles and your own tail.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

The Snake Bash Game is a classic arcade-style game that you can play directly from your terminal. It's a fun and addictive game where you play as a snake and try to eat food to grow while avoiding obstacles and your own tail.

License:MIT License


Languages

Language:JavaScript 100.0%