Skip to content

wick3dr0se/snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 

Repository files navigation

snake

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

Install

stream snake without downloading/installing

bash <(curl -s https://raw.githubusercontent.com/wick3dr0se/snake/main/snake)

otherwise, download

git clone https://github.com/wick3dr0se/snake; cd snake

install to $PATH (optional)

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