Skip to content

ride90/game-of-life

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

 
 
 

Contributors