75 lines
4.0 KiB
Markdown
75 lines
4.0 KiB
Markdown
# 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](https://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html)
|
|
|
|
## 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](https://en.wikipedia.org/wiki/Conway%27s_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
|
|
1. **Download Repository**
|
|
2. **Open Repository folder**
|
|
3. **Run the first-start.bat file (This step only necessary once.)**
|
|
4. **Run the run.bat file (This is how you will access the game from now on. Steps
|
|
1-3 no longer needed)**
|
|
|
|
### Manually Start
|
|
1. **Download Repository**
|
|
2. **Open command prompt and navigate to repository folder**
|
|
3. **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**
|
|
4. **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
|
|
<<<<<<< HEAD
|
|
**What can you to in the application?**
|
|
* Click the start button to start time
|
|

|
|
 or "dead cells"(White squares)
|
|

|
|
* 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"
|
|
>>>>>>> 8c9bec336eef851a3506c99e1828468ffd17d11f
|
|
|