A "simple" Snake, done as my final JS class project
Go to file
Nathan DECHER 5bf5f49f03 added a cancel option to popups (closes #28) 2020-04-08 15:12:50 +02:00
assets added flammable tiles (closes #1) 2020-04-07 14:37:15 +02:00
build added fire and a stub for level 5 2020-03-26 19:26:47 +01:00
levels added flammable tiles (closes #1) 2020-04-07 14:37:15 +02:00
public added help page (closes #15) 2020-04-06 22:03:20 +02:00
src added a cancel option to popups (closes #28) 2020-04-08 15:12:50 +02:00
.gitignore added fire and a stub for level 5 2020-03-26 19:26:47 +01:00
Dockerfile added Dockerfile (closes #27) 2020-04-07 20:09:02 +02:00
LICENSE Initial commit 2020-03-22 21:54:26 +00:00
Makefile added flammable tiles (closes #1) 2020-04-07 14:37:15 +02:00
README.md added Dockerfile (closes #27) 2020-04-07 20:09:02 +02:00
index.js added core Snake code 2020-03-23 20:11:39 +01:00
mergejs.js fixed engine and added level2 2020-03-25 18:29:28 +01:00
package-lock.json added less as a dependency and updated docs 2020-03-27 18:16:48 +01:00
package.json added less as a dependency and updated docs 2020-03-27 18:16:48 +01:00

README.md

Snek

Snek icon, Miia from Mon Musu

A "simple" Snake, done as my final JS class project

Original subject

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
  • 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

Running the game

  • Get the Dockerfile
  • docker build it
  • docker run -p80:3000 <whatever you called the container>
  • ideally, put it behind a reverse proxy