Skip to content

al-ce/javaGameofLife

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

An app to play Conway's Game of Life written in Java

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published