Java implementation of Conway's Game of Life, the classic cellular automaton.
GUI implemented using Java Swing
- Visual grid representation with customizable dimensions.
- Start, stop, pause, and step controls for simulation flow.
- Adjustable simulation speed using a slider.
- Ability to draw initial patterns on the grid.
- Reset button to revert to the initial grid state.
Prerequisites
- Java Development Kit (JDK) version 11 or later
makeutility (optional)- Git
Steps
- Clone the Repository:
git clone https://github.com/henok-9/game0fLife.git- Navigate to the project directory:
cd gameOfLife- Build the Project:
make compile- Run the Simulation:
make run- Set the initial grid size.
- Optionally, click cells to create a starting pattern.
- Press "Start" to begin the simulation.
- Use "Pause", "Step", and the speed slider to control execution.
- Press "Reset" to clear the grid and start over
- Use an actual Java build tool ... (Gradle)
- implement a way to visualize the age of cells with color gradients.
- Enable saving interesting patterns to files and reloading them.
- port project to JavaFx
