Sign inSign up

donaldsebleung/csnaketerm

By donaldsebleung

•Updated over 5 years ago

The classic Snake game, right in your terminal

Image
0

107

donaldsebleung/csnaketerm repository overview

⁠Classic Snake Terminal

The classic Snake game, right in your terminal. Best played in an 80x24 terminal screen, though larger terminal dimensions are also acceptable.

To download and run the game (run with sudo if required):

$ docker image pull donaldsebleung/csnaketerm:0.2.0
$ docker container run -it --name mycsnaketerm donaldsebleung/csnaketerm:0.2.0

Then, to play the game again (run with sudo if required): docker container start -i mycsnaketerm

Once you're done with the game, just remove the container and image to save disk space (run with sudo if required):

$ docker container rm mycsnaketerm
$ docker image rm donaldsebleung/csnaketerm:0.2.0

⁠Dockerfile

This image was built from the following Dockerfile:

FROM ubuntu
RUN apt-get update
RUN apt-get install -y software-properties-common
RUN add-apt-repository ppa:donaldsebleung/games
RUN apt-get update
RUN apt-get install -y csnaketerm
CMD ["csnaketerm"]

Tag summary

Content type

Image

Digest

Size

100.9 MB

Last updated

over 5 years ago

docker pull donaldsebleung/csnaketerm:0.2.0