multi-life

command module
v0.0.0-...-6e2f2a3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 3, 2023 License: MIT Imports: 10 Imported by: 0

README

multi-life

Conway's Game of Life implemented as a chaotic multiplayer game. Clients share and edit an ever-evolving grid.

See it live

Installation

multi-life is available as a Docker image for linux/amd64.

  1. Install Docker Engine. If installing on Windows, use the WSL 2 backend.

  2. Pull and run the image.

docker run -it --rm -p 8080:80 alexnicoll/multi-life

The application should now be running at http://localhost:8080.

  1. Update the image with docker pull alexnicoll/multi-life as needed.

Development

To develop multi-life, you will need Docker Engine and a POSIX shell. Use run.sh to build and run the application image. You may specify a name and optional tag for the image (the default is multi-life:latest). I.e.,

./run.sh <name:tag>

run.sh also bind-mounts the host's assets directory into the container's assets directory. This enables you to update the files being served without having to rebuild and restart the image, so you can rapidly iterate on the frontend code.

Documentation

Overview

Command multi-life runs a multiplayer Conway's Game of Life server. See README.md for installation and usage instructions.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL