Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wick3dr0se/snake

:snake: A super minimal TUI snake game written in pure BASH v5.1+
https://github.com/wick3dr0se/snake

ansi bash game shell snake snake-game terminal terminal-game tui vim-configurations

Last synced: about 2 months ago
JSON representation

:snake: A super minimal TUI snake game written in pure BASH v5.1+

Awesome Lists containing this project

README

        


snake


A super minimal TUI, classic snake implementation written in pure BASH v5.1+







## Install
stream `snake` without downloading/installing
```bash
bash <(curl -s https://raw.githubusercontent.com/wick3dr0se/snake/main/snake)
```

otherwise, download
```bash
git clone https://github.com/wick3dr0se/snake; cd snake
```

install to $PATH (optional)
```bash
cp snake /usr/local/bin
```

## Usage
if installed to $PATH `snake`, otherwise `./snake` or `bash snake`

## Interface Controls
arrow keys, or:
`H`, `A` - move left
`J`, `S` - move down
`K`, `W` - move up
`L`, `D` - move right

`Q` - quit
any other key pauses