Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 1.18 KB

README.md

File metadata and controls

25 lines (16 loc) · 1.18 KB

javaGameOfLife

A GUI app to play Conway's Game of Life using the Swing toolkit. Written as an exercise to learn Java.

screengrab-2025-07-21_10:05:27

Credits

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.

Features

  • 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)

    Demo

goldemo.mp4