Merge branch 'master' of https://gitlab.com/jlanders2/GameOfLife
This commit is contained in:
74
README.md
74
README.md
@@ -1,18 +1,64 @@
|
||||
# GameOfLife
|
||||
My Conway's Game of Life project
|
||||
The program I have created is a clone I made from the ground up of the popular
|
||||
Conway's Game of Life game.
|
||||
|
||||
***Not optimized yet***
|
||||
This is just a little side project to work on optimization skills and mess around with different patterns in Conway's Game of Life.
|
||||
***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)
|
||||
|
||||
**To run**
|
||||
Step 1 : Download Repository
|
||||
Step 2 : Open Command Prompt and navigate to the folder you downloaded
|
||||
Step 3 : Enter the following commands:
|
||||
> cd gameoflife
|
||||
> javac GameOfLife.java
|
||||
> javac Main.java
|
||||
> jar cmvf manifest.mf GameOfLife.jar ./\*.java ./\*.class
|
||||
> java -jar GameOfLife.jar
|
||||
Step 4 : *Have fun using my Conway's Game of Life Program!!!*
|
||||
## 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
|
||||
**What can you to 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"
|
||||
|
||||
***Note: Requires Java 8***
|
||||
Reference in New Issue
Block a user