GPRG is based off of a game traditionally played on grid paper. A track is drawn on a grid. A starting line is determined, and a number of 'vehicles' are drawn at this line. Vehicles move in turn. Each turn, a vehicle may accelerate or decelerate by -1, 0 or 1 M/s (Manhattan-units per second), on each axis independently. The goal is to be the first to the finish line (which may also be the starting line in a circuit).
This game will initially be implemented in Groovy using Slick2D 1.0.1. Official IRC is EsperNet#gprg (because why not).
/** */
) everything.
@author
to any method or class you have contributed to.
@author
to any abstract or empty methods.It's gonna be this way, because Gradle prefers it like this. Also, it makes a fair bit of sense (everything has its place).
src/main/groovy
: all Groovy sourcessrc/main/java
: all Java sourcessrc/main/resources
: any extras that end up in the jarsrc/test/groovy
: all tests written in Groovysrc/test/java
: you can guesssrc/test/resources
: extras that end up in the jar, only visible to test
sources.build/
: Anything that Gradle has createdbulid/docs/groovydoc
: OF NOTE - HTML form of documentation ends up here
(after running gradle groovydoc
).build.gradle
.io.github.nelsoncrosby.gprg.GPRGame
gradle windowsNatives
gradle osxNatives
gradle linuxNatives
-Dorg.lwjgl.librarypath=lib/natives-<platform>
junk
in the project root (it's already in gitignore)junk/input.properties
src/main/resources/io/github/nelsoncrosby/gprg/input.properties
for a list of bindings you can use-Dio.github.nelsoncrosby.gprg.inputBindings=junk/input.properties
gradle fatJar
build/libs
If you want to contribute, check the issue tracker. Use the fork/pull-request contribution method.