Skip to content

This project is a Java implementation of Conway's Game of Life with a graphical user interface built using Swing. Users can control the simulation, adjust speed, and toggle colorful cells. The project allows real-time interaction through mouse input and customizable generation progression.

License

Notifications You must be signed in to change notification settings

StephenPearsonDev/ConwaysGameOfLife

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Conway's Game of Life

A Java Swing implementation of Conway's Game of Life. This application allows users to simulate the cellular automaton with features like starting, pausing, resetting the simulation, stepping forward one generation, and colorizing the cells.

Gameplay Demo

Gameplay GIF

Features

  • Start/Pause Simulation: Begin or pause the automatic progression of generations.
  • Stop Simulation: Completely stop the simulation and reset the generation count.
  • Step Forward: Advance the simulation by one generation manually.
  • Reset Board: Clear the entire board and reset the generation count.
  • Colorize Cells: Assign random pastel colors to alive cells for better visualization.
  • Adjust Speed: Increase or decrease the simulation speed.
  • Main Menu: Navigate back to the main menu.

Requirements

  • Java Version: Java 17 or higher
  • Build Tool: Maven

Installation

  1. Clone the Repository:

    git clone https://github.com/dev.stephenpearson/ConwaysGameOfLife.git
    cd ConwaysGameOfLife
    
  2. Build the project with Maven:

    mvn clean package
    
  3. Run the application

    java -jar target/ConwaysGameOfLife-1.0-SNAPSHOT.jar
    
    
     
     
    

About

This project is a Java implementation of Conway's Game of Life with a graphical user interface built using Swing. Users can control the simulation, adjust speed, and toggle colorful cells. The project allows real-time interaction through mouse input and customizable generation progression.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages