This is going to be a tron clone with a UDP Client/Server supporting multiple sessions and using JavaFX for the client GUI.
This Repo uses Gradle.
-
Fork this repo
-
Clone your fork on your local machine
-
Craete a new branch
-
(Optional; only if you do not have gradle already) First setup
Gradle
withGradleWrapper
: On Linux./gradlew
; on Windows./gradlew.bat
-
Make your changes to
client/src/
and/orserver/src/
and orgame/src/
(the main folder contains the prgr src; the test folde containts the JUnit tests) -
Write unit tests for your changes in the same class/file with
Test
added to the name in the test folder for the subproject -
Compile your src changes : for client
gradle :client:build
; for servergradle :server:build
; for gamegradle :game:build
-
Run the Junit Tests for your src : for client
gradle :client:test
; for servergradle :server:test
; for gamegradle :game:build
-
Execute your compiled program : for client
gradle :client:run
; for servergradle :server:run --args="-l trace -t 604800"
; game connot be executed since its a java lib -
Commit your changes with a PR
Comming soon