Skip to content

Latest commit

 

History

24 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Game of Life

Chunk-based, multi-threaded, unbounded Conway's Game of Life

Options

  • --width|-w, --height|-h — restrict the field to a fixed size (default: unbounded)
  • --wrap — wrap around the field edges (torus), requires a bounded field
  • --svg=out.svg — record the simulation until it loops, then export an animated SVG (plays the lead-in once, then repeats the detected loop; --svg= records without writing a file)
  • --max-iterations=n — stop recording after n iterations if no loop is found (default: 1000)
  • --threads=n — number of worker threads (default: all cores)
  • --paused — start paused
  • --tps=n — maximum ticks per second, 0 = unlimited (default: 15)

Controls

  • Drag left mouse button to draw (hold shift to erase)
  • Drag right mouse button to pan
  • Scrollwheel to change zoom
  • space to pause/continue
  • s to iterate once
  • 0-9 to set the speed: unlimited, 1, 2, 5, 15, 30, 60, 120, 240, 480 tps
  • r to reset
  • q to quit
  • F3 to toggle debug overlay

How to run

Install the D toolchain and run the command dub

About

Chunk based Game Of Life simulator with infinite playfield

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages