Skip to main content
← projects

June 1, 2023

Conway's Game of Life

Conway's Game of Life in Java

JavaAlgorithm

Objective

Implement Conway's Game of Life in Java, demonstrating the power and elegance of simple rules in creating complex systems.

Tools & Technologies

Swing

Share This

Details

In this project, I implemented Conway's Game of Life, a cellular automaton devised by the British mathematician John Horton Conway. The game is a zero-player game, meaning that its evolution is determined by its initial state, requiring no further input.

The game was implemented using Java and I created a simple GUI using Swing to visualize the state of the game in real time.

The most important aspect of this project was the implementation of the game's rules in Java and the efficient handling of the game grid.

Throughout this project, I further improved my Java programming skills and gained experience with Swing for creating graphical user interfaces.

Source Code


Take a closer look at the source code here: GitHub

Gallery

Initial grid state

Initial grid state

Grid after several iterations

Grid after several iterations