Skip to content
Erika Redmark edited this page Jan 24, 2015 · 27 revisions

Running the Game

Preconditions

You must have Java 7 or higher installed.

Getting Started: Windows

Download the latest version of Monkey Shines (1.0.0). It contains executables for both the game and the level editor. Simply double click what you want and have fun.

Getting Started: The immediate way (Mac/Linux/Any OS with a JVM)

  1. Ensure you have downloaded the release (https://github.com/ErikaRedmark/monkey-shines-java-port/releases) and navigated to the location where the .jar is stored.

  2. If you want to just play the game (no level editor) you can just double click the .jar file and open it up, and move on to [Gameplay](Playing the Game). Otherwise, continue to step 3.

  3. Open a terminal/command window and navigate to the directory that you downloaded the .jar file to.

  4. For the game, run java -cp "<name of monkey shines.jar>" org.erikaredmark.monkeyshines.MonkeyShines, replacing the <> contents with whatever the name of the .jar is (depends on release. Do not include the actual '<' '>' symbols). As stated by step 2, you can also just double click to do this.

  5. For the level editor, run java -cp "<name of monkey shines.jar>" org.erikaredmark.monkeyshines.editor.LevelEditor

Getting Started: The fairly quick way

You can compile the code and create the .jar yourself. You will need to download and set up Maven to do so

  1. Checkout the master branch
  2. Navigate to the folder containing the pom.xml (this should be in the "Monkey Shines" folder)
  3. run mvn install.
  4. Check for a generated folder called target in that directory. In it should contain two jar files. Choose the one that says 'with-dependencies'
  5. Perform steps 2 - 5 from 'Getting Started: The immediate way' to run the program.

Getting Started: The easy way

  1. Contact someone close to you and ask them to follow steps outlined in either "Getting Started: The immediate way" or "Getting Started: The fairly quick way"
  2. Get an ice-cream or something and relax for a bit.

Playing the Game

[See the relevant wiki page for more information on actual gameplay](Playing the Game)

Clone this wiki locally