Skip to content

deiphiz/game-of-life

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Conway's Game of Life

This is a simple implementation of Conway's Game of Life.

Features

  • Pause simulation
  • Edit grid while simulation is running
  • Control length of intervals between generations
  • Generate random grids
  • Show populations/neighbors of each cell
  • Grid wrapping

I have features planned for the future such as:

  • Resizable window
  • Grid that resizes with the window
  • Generate popular patterns (Acorn, Glider Gun, etc.)
  • Infinite grid with zooming
  • Support for other cellular automata (That might be just a whole 'nother program by then)

Controls

  • L-click/R-click = create/erase cells
  • Mouse Scroll or Arrow Keys = adjust interval length
  • Space = Pause
  • S = Step
  • H = Toggle Help/Info
  • C = Clear Grid*
  • R = Generate Random Grid*
  • P = Toggle Population**
  • G = Toggle Gridlines**
  • W = Toggle Wrapping

*resets counter

**affects performance

Building

This program was written with LÖVE. You can download LÖVE at their website.

Information on building LÖVE executables for Windows, OSX, and Linux can be found here.

TL;DR for lazy Windows users like me:

> copy /b love.exe+gameoflife.love gameoflife.exe

Downloads

Completed builds can be downloaded from here. Note at this time, only Windows builds are available.

The current version is 0.3.0.

License

Copyright (c) 2015 Jeremias A. Dulaca II

This program is licensed under the Apache License, Version 2.0.

Creative Commons License
The icon included is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License.

About

A simple implementation of Conway's Game of Life

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages