A GUI app to play Conway's Game of Life using the Swing toolkit. Written as an exercise to learn Java.
This is being developed while reading Conway's Game of Life by Nathaniel Johnston and Dave Greene. Patterns in the demo, colors for the heatmap, and more features in this program were sourced from the online version of that book.
-
Interactive cells: clicking toggles state
-
Generation tracking: track generations in the display bar
-
"Afterlife" heatmap: dead cells change color based on the most recent living cell
-
Play controls: autoplay (p), step (space), clear (escape), tick speed controls (1-5)
-
RLE pattern integration: set an RLE pattern directly onto the grid
-
Zoom and pan: zoom in(page up), out (page down), pan up, down, left, right (h, j, k, l)