This repository will include the files of an interactive multiplayer video game as a term project. The game that is a simple two-dimensional shooter game. Player controls an auto-shooting spaceship by moving it freely (with mouse) in two dimensions to shoot aliens. There will be at least two types of aliens with different attacking capabilities and at least one type of aliens will require to be hit at least two times to be destroyed.
- Our game is written to be run with Java 11. You must use Java 11 to run any java executables that is explained in this document, otherwise you will face with problems.
- You can use space key for passing the levels, but keep in mind that it will not work on the last level. Cheating in a multiplayer game is a really disrespectfull thing
Game Server provides functionalities that is required for multiplayer gaming experience.
https://docs.google.com/document/d/1tYyyYIOC2_8sbwv5sWxir12NWoXRUdOZrRJEqWeQ-dg/edit?usp=sharing
- Game Server can be opened before or after REST Server, they do not depend on each other.
- Game Server .jar file can be found at executables/Server.jar
- You need to open this jar file using command
java -jar {path to downloaded server jar}
Game client, written in Java 11 with FX, serves the end user with the whole semi-multiplayer game functionalities.
- Before the Client, both REST and Game Server should have been opened.
- Game Client .jar file can be found at executables/amazingGame.jar
- You need to open this jar file using :
java --module-path {JavaFX 11 lib folder path} --add-modules=javafx.controls,javafx.fxml,javafx.media -jar {path to downloaded .jar file}
- We have
java 11.0.1 2018-10-16 LTS
,Java(TM) SE Runtime Environment 18.9 (build 11.0.1+13-LTS)
andJavaFX SDK 11.0.1
in our environment.
- We have
- JavaFX lib for MAC systems is located under http://144.122.71.144:8083/mert.tunc/ceng453_term_project/src/master/Frontend/lib. For other operating systems, you can visit https://gluonhq.com/products/javafx/ to download.
https://docs.google.com/document/d/1lbez5QFCndMBGf3pxmxmC3l9Er7d0J8kT7CP-xUXoBA/edit
- REST Server does not depend on Game Server, order of execution is not important.
- REST Server .war file can be found at executables/Server.war
- Use Tomcat deploy interface to deploy the war file to your system. Endpoints should be reachable from <BASE_ADDRES>/Server/ path.
https://docs.google.com/document/d/1OROqx9ZCg_Jc37M5iAIwq-vv1r0wfyAZO2GgxwUMIB8/edit?usp=sharing
- Can be found on DBDesign.pdf
- Create table statements can be found on create_table_statements.sql
https://docs.google.com/document/d/1Yzq4HwFckbgsnHESoSFBUl5fOv8kAMfpTr2_BZCD3cg/edit?usp=sharing