Skip to content

Multiverse Game of Life implementation using Go and JS

Notifications You must be signed in to change notification settings

ride90/game-of-life

Repository files navigation

Multiverse Game of Life

  • Create multiple universes.

  • Static & empty universes are deleted automatically.

  • Merge all universes into one.

  • Configurable fps.

  • Full reset.

  • Stream updates to clients via websockets.

  • Render updates in the browser as canvas.

  • Concurrent evolution of each universe (spawn a virtual thread per universe).

    Demo video

Installation

go mod tidy

Run

go run cmd/main.go

TODO

  • Rendering in the browser is inefficient -> generate a video on the server side and stream it to the browser.

About

Multiverse Game of Life implementation using Go and JS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published