Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lkwinta/darwinworld
Project for object oriented programming course
https://github.com/lkwinta/darwinworld
animals genetic-simulation java simulation
Last synced: 24 days ago
JSON representation
Project for object oriented programming course
- Host: GitHub
- URL: https://github.com/lkwinta/darwinworld
- Owner: lkwinta
- Created: 2023-12-15T07:18:05.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-08-06T13:00:57.000Z (5 months ago)
- Last Synced: 2024-08-07T14:58:02.402Z (5 months ago)
- Topics: animals, genetic-simulation, java, simulation
- Language: Java
- Homepage:
- Size: 1.04 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DarwinWorld Project
1. Imię i nazwisko: Łukasz Kwinta
2. Numer grupy: Grupa nr 3 - Piątek 8:00
3. Nazwa zwierzaka: PercivalProject for OOP course. Implementation of simple genetic simulation with animals trying to survive on map.
# Usage
To build project use
```
.\gradlew build
```
To run project use:
```
.\gradlew run
```All commands should be run in main repositories' directory.
# Troubleshooting
Project requires Java in version 17. You can use `java --version` in terminal to verify if you have Java JDK at version 17 installed.
Gradle needs internet connection to download required dependencies:
- `javafx` - for GUI
- `guava` - google library helpers for streams and lists
- `lombok` - library reducing boilerplate
- `javatuples` - adds tuples functionality to java
- `gson` - for json serialization and deserialization
- `junit` - for enhanced testing functionalities, no tests currently implemented
There is a chance that you can encouter issues with configuration saving. Sometimes gradle decides to copy resource files to source again and overwrite
saved configuration. I was not able to solve the issue yet. Also configuration solving doesn't work after packing project into jar archive - jar archives are
read only.# Screenshots
![](configuration.png "Configuration Window")
![](small_map.png "Example of small map")
![](large_map.png "Example of large map")