Conway's Game Of Life 2D
Find a file
2025-07-10 03:41:50 +02:00
.idea Initial commit of Game of Life project. Added project configuration files for NetBeans, including genfiles.properties, project.properties, and project.xml. Implemented core classes: Cellula for cell state management and GameOfLifeApplet for the graphical interface and game logic. The applet supports mouse interactions for cell manipulation and includes buttons for random filling and controlling the simulation. 2025-07-10 03:41:50 +02:00
images Initial commit of Game of Life project. Added project configuration files for NetBeans, including genfiles.properties, project.properties, and project.xml. Implemented core classes: Cellula for cell state management and GameOfLifeApplet for the graphical interface and game logic. The applet supports mouse interactions for cell manipulation and includes buttons for random filling and controlling the simulation. 2025-07-10 03:41:50 +02:00
nbproject Initial commit of Game of Life project. Added project configuration files for NetBeans, including genfiles.properties, project.properties, and project.xml. Implemented core classes: Cellula for cell state management and GameOfLifeApplet for the graphical interface and game logic. The applet supports mouse interactions for cell manipulation and includes buttons for random filling and controlling the simulation. 2025-07-10 03:41:50 +02:00
src/gameoflife Initial commit of Game of Life project. Added project configuration files for NetBeans, including genfiles.properties, project.properties, and project.xml. Implemented core classes: Cellula for cell state management and GameOfLifeApplet for the graphical interface and game logic. The applet supports mouse interactions for cell manipulation and includes buttons for random filling and controlling the simulation. 2025-07-10 03:41:50 +02:00
.gitignore Initial commit of Game of Life project. Added project configuration files for NetBeans, including genfiles.properties, project.properties, and project.xml. Implemented core classes: Cellula for cell state management and GameOfLifeApplet for the graphical interface and game logic. The applet supports mouse interactions for cell manipulation and includes buttons for random filling and controlling the simulation. 2025-07-10 03:41:50 +02:00
applet.policy Initial commit of Game of Life project. Added project configuration files for NetBeans, including genfiles.properties, project.properties, and project.xml. Implemented core classes: Cellula for cell state management and GameOfLifeApplet for the graphical interface and game logic. The applet supports mouse interactions for cell manipulation and includes buttons for random filling and controlling the simulation. 2025-07-10 03:41:50 +02:00
build.xml Initial commit of Game of Life project. Added project configuration files for NetBeans, including genfiles.properties, project.properties, and project.xml. Implemented core classes: Cellula for cell state management and GameOfLifeApplet for the graphical interface and game logic. The applet supports mouse interactions for cell manipulation and includes buttons for random filling and controlling the simulation. 2025-07-10 03:41:50 +02:00
GameOfLife2D.iml Initial commit of Game of Life project. Added project configuration files for NetBeans, including genfiles.properties, project.properties, and project.xml. Implemented core classes: Cellula for cell state management and GameOfLifeApplet for the graphical interface and game logic. The applet supports mouse interactions for cell manipulation and includes buttons for random filling and controlling the simulation. 2025-07-10 03:41:50 +02:00
LICENSE Initial commit of Game of Life project. Added project configuration files for NetBeans, including genfiles.properties, project.properties, and project.xml. Implemented core classes: Cellula for cell state management and GameOfLifeApplet for the graphical interface and game logic. The applet supports mouse interactions for cell manipulation and includes buttons for random filling and controlling the simulation. 2025-07-10 03:41:50 +02:00
manifest.mf Initial commit of Game of Life project. Added project configuration files for NetBeans, including genfiles.properties, project.properties, and project.xml. Implemented core classes: Cellula for cell state management and GameOfLifeApplet for the graphical interface and game logic. The applet supports mouse interactions for cell manipulation and includes buttons for random filling and controlling the simulation. 2025-07-10 03:41:50 +02:00
README.md first commit 2025-07-10 03:41:08 +02:00

Conway's Game Of Life 2D

  • Fully working GOL Simulator
  • Randomly and manually fill cell
  • Play/Pause the simulation
  • Color based on future cell state
  • Draw cells with mouse anytime

ezgif-1-39fe231485.gif

Description

You will start in a premade map.

Scheme

Just press play and enjoy.

Scheme

You can fill with random cells

Scheme

Or just draw them: Left mouse click to add cells. Right to remove.

Cell color is based on their future stare. Red = dead, green = alive.

Requirements

  • Java (6 to) 8 (max, recommended)
  • NetBeans (highly recommended)

Java Applets have been dropped with Java 9. So you need an older versione to run this project. Java 8 is the preferred version. Until Java 6 should be ok.

Problems running the project are expected, applets are deprecated and not supported by modern browsers.**

This is a NetBeans Project. Using NetBeans isn't mandatory but recommended for the built-in applet runner. You can run the GrigliaApplet.java class with netbeans.

NetBeans Instructions

Alternatively, you can use IntellijJ IDEA with the Applet runner plugin (not tested).

Installation and run

Clone the repo:

git clone https://gitlab.com/stefanorossiti/GameOfLife2D.git

Run GameOfLifeApplet.java with your preferred IDE (NetBeans is recommended) using java 8.

License

All my work is released under DBAD license.