johnmerchant / multilife

Multiplayer Game of Life cellular automata simulation
MIT License
3 stars 0 forks source link

MultiLife.live

An experiment in realtime cellular automata.

See my DEV Community post for the story behind this.

Basically, an interactive multiplayer digital lava lamp.

MultiLife RGB

MutliLife can rendered to an RGB LED matrix panel using a Raspberry Pi with multilife-rgb.

Dependencies

Design

The frontend is implemented in React, using Redux to manage the client-side state.

The game itself is rendered using a <canvas>.

Game state is managed server side, and events are pushed live between clients and the server using a websocket

The protocol, models and utility functions are all isomorphic. That is to say, it is code able to be executed on both the server and client side.

Running