Conway's game of life
docker pull eozgit/life
docker run --rm --tty --interactive --publish 8080:8080 --name life eozgit/life
Key | Function |
---|---|
h | Display help |
1 - 9 | Set game speed |
r + 1 - 9 | Reset game with selected initial population density |
t + 1 | Select black & white theme |
t + 2 | Select CGA theme* |
t + 3 | Select earth theme |
t + 4 | Select dune theme |
LMB | Resurrect cell |
z + LMB | Resurrect block |
x + LMB | Create glider |
c + LMB | Create light-weight spaceship |
v + LMB | Create middle-weight spaceship |
b + LMB | Create heavy-weight spaceship |
* When CGA theme is selected cells updated on last iteration will be highlighted showing the active areas subject to potential update next turn
https://hub.docker.com/r/eozgit/life
docker build --tag eozgit/life:latest --tag eozgit/life:YYMMDD .
docker image push eozgit/life --all-tags
go run .
wasmserve ./