alexlitty / conways-game-of-life

A Java implementation of Conway's Game of Life.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Litty's Game of Life

A Java implementation of Conway's Game of Life. Made with Slick2D, a game engine wrapper for LWJGL.

The repository is nested into directories to match the main Java package: com.alexlitty.asynchrony.littylife

Build Instructions

Before compiling, add the following .jar files (found in /lib) to the classpath:

lwjgl.jar
slick.jar
jinput.jar
lwjgl_util.jar

Change the Java library path to:

(X)/com/alexlitty/asynchrony/littylife/lib/natives/(Y)

Where (X) is the absolute path to the repository, and (Y) is either windows, mac, or linux.

If you're not using an IDE, a compile command would look like this:

javac -cp .:com/alexlitty/asynchrony/littylife/lib/* com/alexlitty/asynchrony/littylife/LittyLife.java

Play the game!

java -cp .:com/alexlitty/asynchrony/littylife/lib/* -Djava.library.path=x/com/alexlitty/asynchrony/littylife/lib/natives/y com/alexlitty/asynchrony/littylife/LittyLife

About

A Java implementation of Conway's Game of Life.


Languages

Language:Java 100.0%