Snek/README.md

23 lines
720 B
Markdown
Raw Normal View History

2020-03-22 21:54:26 +00:00
# Snek
2020-03-22 23:01:00 +00:00
![Snek icon, Miia from Mon Musu](assets/icon.jpg)
2020-03-22 22:22:00 +00:00
2020-03-26 17:20:48 +00:00
A "simple" Snake, done as my final JS class project
2020-03-22 22:22:00 +00:00
[Original subject](https://perso.liris.cnrs.fr/pierre-antoine.champin/enseignement/intro-js/s6.html)
2020-03-22 21:54:26 +00:00
## Dependencies
- All the POSIX tools, most importantly a POSIX-compliant shell, `echo`, `rm`, `seq` and `sed`
- Busybox is known to work
- GNU Coreutils are known to work
- On Windows, WSL is known to work
2020-03-23 19:11:39 +00:00
- Imagemagick, with the `convert` tool in the PATH
- Make
- Node.js and npm, both in the PATH
- Node.js 10 and 12 are known to work
2020-03-23 19:11:39 +00:00
## Running the game
2020-04-07 18:09:02 +00:00
- Get the Dockerfile
- `docker build` it
- `docker run -p80:3000 <whatever you called the container>`
- ideally, put it behind a reverse proxy