Simple-Tank-Game (a.k.a. Ex8) was an open-ended assignment from our Games Programming class using Java and OpenGL.
Simple-Tank-Game | Abstract | Screenshot | Team | Build Requirements | System Requirements | Executables | Folder Structure | Configuration | Building the program | Running the Program | Contact | Licenses | TODO
This game was a project for a CS390A - Game Programming @ MSU Denver, taught by Professor Jerry Shultz. We were to follow loose guidelines, and create a game using only Java and OpenGL. This program is built, and deployed using Gradle. It is written in Java using Java OpenGL bindings provided by Light Weight Java Gaming Library (LWJGL).
- Joshua Michael Waggoner
- Dylan Otto Krider
- Any Java JDK vers 1.7+
- Gradle vers 2.0+ (for installation help go to Gradle's home page)
- Any Java vers 1.7+
- Linux, MacOSX, or Windows Operating System - 32-bit or 64-bit
Included in the folder
executables are the following files that do not require assembly, only a working Java runtime environment:
- Simple-Tank-Game-Linux.sh will run on all linux platforms by doing the following:
1) Make it execuatable using
chmod +x Simple-Tank-Game-Linux.sh
2) Run it using
- Simple-Tank-Game-Runnable.jar will run on any platform with Java installed by typing
java -jar Simple-Tank-Game-Runnable.jar.
- Simple-Tank-Game-Windows.exe is for Windows folks and should open with a double-click.
All executables should work for both 32-bit and 64-bit machines.
This program requires LWJGL vers 2.9.3 (Light Weight Java Gaming Library) library as well as natives for Windows, Linux, and OSX that come with it. As per our Gradle build program, these files must be in the correct folders in the project structure or the program will fail. Fortunately, all you need to do is clone this repository to get the project in the proper form.
. ├── build.gradle ├── libs │ ├── jar │ │ └── lwjgl.jar │ └── natives │ ├── linux │ │ ├── libjinput-linux64.so │ │ ├── libjinput-linux.so │ │ ├── liblwjgl64.so │ │ ├── liblwjgl.so │ │ ├── libopenal64.so │ │ └── libopenal.so │ ├── macosx │ │ ├── libjinput-osx.dylib │ │ ├── liblwjgl.dylib │ │ └── openal.dylib │ └── windows │ ├── jinput-dx8_64.dll │ ├── jinput-dx8.dll │ ├── jinput-raw_64.dll │ ├── jinput-raw.dll │ ├── lwjgl64.dll │ ├── lwjgl.dll │ ├── OpenAL32.dll │ └── OpenAL64.dll ├── README.md └── src └── main └── java └── net └── rabbitfighter └── game ├── Basic.java ├── Box.java ├── Ex8.java └── Triple.java 12 directories, 24 files
The folder structure should look like this before building.
Building the Program
- Navigate into the project directory. From the project directory, run
Running the Program
- Run the program by typing
gradle runJarin the root project directory
|Joshua Michael Waggoner||rabbitfighter@cryptolab||@rabbitfighter81|
|Dylan Otto Kriderfirstname.lastname@example.org||@dokrider|
- LWJGL sources and binaries: Copyright (c) 2002-2007 Lightweight Java Game Library Project
- All other: CCO Licence (See LICENCE-CCO)
This game is a work in progress. We hope you have fun, learn something, or at least kill some time. We will add updates, and clean up code as time allows. For now it is working though. :)