Software component which is responsible for the logic in the game.
Team 04 Seher, Betül, Mona, Ella, Orhan, Jens
https://gitlab.uni-ulm.de/softwaregrundprojekt/2023-2024/gruppenprojekt/group-04/server/-/boards/893
- IntelliJ IDEA or other IDE (documentation only for IntelliJ)
- Java
- Docker
- IntelliJ IDEA
/mkc_server/src/main/java
/mkc_server/src/test/java
/mkc_server/src/main/resources
/mkc_server/Dockerfile
/mkc_server/src/test/testgui
/mkc_server/src/test/test-configs
/server/run-local
Copy the URL for Clone with HTTPS on the gitlab repository.
Create new Project from Version Control. Paste the URL for the gitlab repository.
Right click the pom.xml file and select Add as Maven Project.
Go to File > Project Structure and select temurin-17 as SDK (download it if not showing).
Ensure the language level is set to 17 in the Project Settings and in the module specific settings.
Go to the main class located in /mkc_server/src/main/java/de/sopra/Main.
Click on the green arrow next to the main method and select Modify Run Configuration.
Find the program arguments line and expand it.
Paste the arguments from /server/run-local into the program arguments section.
Run the main method.
The Test GUI is a static website located in mkc_server/src/test/test-gui.
Run by opening the index.html file in a browser or by hosting a local webserver with tools like nodejs or python.
See mkc_server/run-gui.sh for more information.
The Dockerfile in mkc_server/Dockerfile compiles and packages the code.
No default mount is available for adding configs to the container.
See mkc_server/build.sh and mkc_server/run.sh for more information.







