A Snake game clone developed using Typescript and HTML5.
As in the original you can use WASD keys or directional arrows to move the snake and collect food pieces.
-
Using docker:
- Build:
docker build -t snake-game .
- Start (attached):
docker run -it --rm -d -p 8080:80 --name snake-game-nginx -v `pwd`:/usr/share/nginx/html snake-game
- Build:
-
Using docker-compose:
- Compose Build:
docker-compose up --detach
- Compose Start:
docker-compose start
- Compose Build: