3.5 KiB
3.5 KiB
GameOfLife
The program I have created is a clone I made from the ground up of the popular
Conway's Game of Life game.
Please Note The Following:
- This is just a little side project to work on my optimization skills and mess
around with different patterns in Conway's Game of Life. - IMPORTANT: Requires Java 8 and Windows
- You can download Java 8 here: JAVA 8 JRE
A little bit about the game
If you have never heard of the "Game of Life", developed by John Conway in the
early 70's, I suggest that you check out the wikepedia page listed here:
Game of Life. It is a fun little game
that replicates cell automation. Below I will list some fun patterns to get you
started.
Patterns
Still Patterns
Oscillating Patterns
Spaceship Patterns (AKA - Patterns that move on their own)
These are not all the possible patterns but a few ones that are used alot
To Run
QuickStart
- Download Repository
- Open Repository folder
- Run the first-start.bat file (This step only necessary once.)
- Run the run.bat file (This is how you will access the game from now on. Steps
1-3 no longer needed)
Manually Start
- Download Repository
- Open command prompt and navigate to repository folder
- Enter the following commands:
cd gameoflife
javac GameOfLife.java
javac Main.java
jar cmvf manifest.mf ../GameOfLife.jar ./*.java ./*.class
cd ..
java -jar /GameOfLife.jar
- After doing steps 1-3 the game should have already ran once. The next times
that you wish to run the game just follow steps 1-2 and enter the following command:
java -jar /GameOfLife.jar
Using the Application
What can you do in the application?
- Click the start button to start time
- Clicking the stop button will stop time (I suggest editing cells in this mode, then starting to see what your pattern does!)
- You can click on a square to make it "alive cells" or "dead cells"
- black squares are "alive cells" and white squares are "dead cells"





