The classic Snake game, right in your terminal
107
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
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"]
Content type
Image
Digest
Size
100.9 MB
Last updated
over 5 years ago
docker pull donaldsebleung/csnaketerm:0.2.0