Update README.md

This commit is contained in:
John Landers
2018-10-24 23:45:15 +00:00
parent 39100d7006
commit a29d3a8b03

View File

@@ -6,11 +6,12 @@ Conway's Game of Life game.
* This is just a little side project to work on my optimization skills and mess * 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. around with different patterns in Conway's Game of Life.
* ***IMPORTANT: Requires Java 8 and Windows*** * ***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 ## A little bit about the game
If you have never heard of the "Game of Life", developed by John Conway in the 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: early 70's, I suggest that you check out the wikepedia page listed here:
https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life. It is a fun little game [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 that replicates cell automation. Below I will list some fun patterns to get you
started. started.
@@ -42,13 +43,15 @@ started.
### Manually Start ### Manually Start
1. **Download Repository** 1. **Download Repository**
2. **Open Repository folder** 2. **Open command prompt and navigate to repository folder**
3. **Enter the following commands:** 3. **Enter the following commands:**
> **cd gameoflife** > **cd gameoflife**
> **javac GameOfLife.java** > **javac GameOfLife.java**
> **javac Main.java** > **javac Main.java**
> **jar cmvf manifest.mf ../GameOfLife.jar ./\*.java ./\*.class** > **jar cmvf manifest.mf ../GameOfLife.jar ./\*.java ./\*.class**
> **java -jar ../GameOfLife.jar** > **cd ..**
> **java -jar /GameOfLife.jar**
4. **After doing steps 1-3 the game should have already ran once. The next times 4. **After doing steps 1-3 the game should have already ran once. The next times
that you wish to run the game just run the GameOfLife.jar that has now been that you wish to run the game just follow steps 1-2 and enter the following command:**
created in the base directory.** > **java -jar /GameOfLife.jar**