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

https://github.com/simonwhitaker/shellsnake

Play Snake on the command line! 😄🐛🐛🐛
https://github.com/simonwhitaker/shellsnake

bubbletea cli game golang snake

Last synced: 4 months ago
JSON representation

Play Snake on the command line! 😄🐛🐛🐛

Awesome Lists containing this project

README

          

# shellsnake

Play snake in your shell!

A GIF showing a game of shellsnake in progress

# To play

## Install with Homebrew

```sh
brew install simonwhitaker/tap/shellsnake
```

## Install the binary using the Go toolchain

If you have the Go toolchain installed, you can:

```sh
go install github.com/simonwhitaker/shellsnake@latest
```

## Download a release

Check the [releases page](https://github.com/simonwhitaker/shellsnake/releases). Download, open the gz/zip file, and run `shellsnake`.

## Run from source

Clone this repo, then:

```sh
go run .
```

Then (assuming `$(go env GOPATH)/bin` is in your path):

```sh
shellsnake
```

# Running with Docker

```sh
docker build -t shellsnake .
docker run --rm -it shellsnake:latest
```