Primal

OSPP (1DT096) 2018 - Project zeta

Project in the course Operating systems and process oriented programming (1DT096) spring 2018, Uppsala university.

Primal is a simulation of an ecosystem. More specifically it is a simulation of a savana showing the most basic interaction between animals and their surroundings. The simulation is implemented in Java, running on concurrent threads for time optimization.

For a more detailed description of the project here is our project proposal.

Getting started

Dependencies

To run this project you will need:
A Java distribution.
The build tool Gradle.

Running

Compile the project by navigating to the root folder in a terminal and type gradle build.
If the compilation worked as planned, navigate to /build/libs where the file Primal.jar should have appeared. Now to run the program type java -jar Primal.jar.

Testing

To run tests type the command gradle clean test

Structure

src
This folder contains all vital code and all tests.

src
├── main
│   └── java
│       └── org
│           └── primal
│               ├── behaviour
│               ├── entity
│               ├── map
│               ├── tile
│               ├── util
|               ├── GUI.java
│               ├── SimObject.java
│               ├── Simulation.java
│               └── Main.java
│
└── test
    └── java
        └── org
            └── primal
                ├── behaviour
                └── entity
        

guidelines
Guidelines for working on the project.

docs
Contains extracted Javadoc documentation for the project.

meta
Contains group contract and a presentation of the members of the project.