Skip to content

jatesapi/distributed-gorilla

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Assignment

This README contains only general instructions on how to run the game. The development setup, assignment, program structure and hints for completing the assignment can be found in doc/index.md (in Finnish).

Project description

A game where a bunch of gorillas try to kill each other by throwing bananas on time-limited turns. Last survivor is the winner.

Requires Java 11 or later. Compatible with Eclipse, IntelliJ IDEA and VS Code with Java Extension Pack. Minor issues with Netbeans.

Installation

Maven:

$ git clone https://gitlab.utu.fi/tech/education/distributed-systems/distributed-gorilla

$ cd distributed-gorilla

$ mvn compile package exec:java

SBT:

$ git clone https://gitlab.utu.fi/tech/education/distributed-systems/distributed-gorilla

$ cd distributed-gorilla

$ sbt compile run

JavaFX bugs

JavaFX has serious memory leaks that might lead to a crash in just seconds. Use the following JVM parameter to switch to software rendering pipeline that does not have the leaks

-Dprism.order=sw

E.g.

$ java -Dprism.order=sw -jar target/distributed-gorilla-1.0.jar

The game will allocate significant amounts of memory. Use the following switch to restrict the heap size to avoid wasting RAM:

-Xmx2000m

References:

Further instructions

Course related

Screenshots

Game

About

Uni course project: multiplayer game using threads and TCP-connections

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •