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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

52a2ffa · Mar 26, 2024

History

61 Commits
Mar 18, 2024
Feb 28, 2024
Mar 26, 2024
Aug 21, 2023
Aug 21, 2023
Aug 19, 2023
Aug 22, 2023
Aug 18, 2023
Nov 3, 2023
Jul 14, 2023
Feb 28, 2024
Aug 22, 2023
Aug 22, 2023
Aug 22, 2023
Aug 16, 2023
Jul 20, 2023

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