Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 840 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 840 Bytes

Conway's Game of Life

Game accepts input on stdin of the form (x, y) one per line followed by EOF prior to beginning the simulation. Alternatively, a filename may be specified on the command line in the Run Length Encoded format.

Controls

  • w,a,s,d: Move viewport
  • -,+: Zoom viewport
  • {, }: Change generation step delay
  • p: Pause simulation
  • n: Step to the next generation (e.g. during pause)
  • l: Print all the currently live points to the console

Notes

  • The board exists in the int64 space and wraps on the edges to form a toroidal surface.
  • Pattern Files in the rle directory are sourced from LifeWiki or generated using tlrobinson/life-gen.