Skip to content

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

Notifications You must be signed in to change notification settings

gabrielmissio/snake-bash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Topics

Resources

License

Stars

Watchers

Forks