Visit out website at http://www.lihq.me, or read the documentation at http://docs3.lihq.me
MIRCH - Murder In Ron Cooke is a top down 2D dynamically generated point and click RPG murder mystery game. An evening swarve has been taking place at the Ron Cooke Hub, and a guest is dead. You have been brought in to determine exactly what has occurred.
To play the game, download the executable .jar file from the assessment 3 part of the webpage - http://www.lihq.me . Remember that the .jar file AND the database db.db file need to be in the same directory.
Before you can start working on the game you need to ensure you have Java installed and the latest JDK, you can get java here:
and the JDK here:
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
You also need the Intellij IDEA IDE, you can get this from here:
https://www.jetbrains.com/idea/#chooseYourEdition
The free version is good enough although the paid version is obtainable for free for students.
The game has been written in Java using the libGdx 1.9.6 library for graphics drawing.
To import the project:
It will then import the game, this may take some time.
One common problem is to do with a missing JDK, This is a solution : Configure -> Project Defaults -> Project Structure then add your JDK in Platform Settings -> SDKs. Some other problems have solutions here.
You can now edit the game, we recommend making a new branch, then make changes on that branch. You can use GitHub desktop or equivalent to commit the changes to your branch and then use sync to upload those changes. When you are ready submit a pull request and have someone check it.
You can run by first building as described below and then simply clicking run.
To build the game use the built in run configuration Desktop in the same way that you run tests.
This project is tested using JUnit. Tests are located within the /game/src/tests
directory. For test documentation, please see https://github.com/junit-team/junit4/wiki
For every commit CircleCI runs all the included tests, however we recomend that you run test locally too before committing.
/game/src/tests
When naming the class end the name with _Test
for consistency e.g. Player_Test
GameTester
this initialises the backend of the game so that test run correctly.org.junit.Test
@Test
decorator above itAfter tests have run the results are displayed in the "Test Summary" tab on CircleCI.
If the tests have failed and no test summary is provided, this normally means that the code doesn't compile, or there is a problem with the test code. To gather more information, scroll down to read the console output from when the tests were run.
The game is mostly constructed from a database (SQLite). To open and edit the database, simply download a SQLite db editor such as DB Browser for SQLite
This table is used to link each character to a set of clues.
This contains the basis of all of the characters.
A killer and victim is randomly selected upon the generation of the game.
A means clue is randomly selected upon the generation of the game.
A motive randomly selected and is broken up by the game and used to generate 3 motive clues.
Description This is the complete motive clue
filename