Skip to content

djmarcin/conway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A Game of Life implementation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published