Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mrpaulblack/tron
A tron clone in Java with a JavaFX client and multi session UPD server.
https://github.com/mrpaulblack/tron
gradle java javafx json udp-server
Last synced: 3 months ago
JSON representation
A tron clone in Java with a JavaFX client and multi session UPD server.
- Host: GitHub
- URL: https://github.com/mrpaulblack/tron
- Owner: mrpaulblack
- License: mit
- Created: 2021-11-20T09:26:41.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-01-27T09:02:41.000Z (almost 3 years ago)
- Last Synced: 2023-07-13T17:26:06.304Z (over 1 year ago)
- Topics: gradle, java, javafx, json, udp-server
- Language: Java
- Homepage: https://docs.google.com/document/d/14IiaGlrtbYFSROCJZmySBQRgLhQSPI_w6yFxXaxNM-I/edit?usp=sharing
- Size: 244 KB
- Stars: 1
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Java CI with Gradle](https://github.com/mrpaulblack/tron/actions/workflows/gradle.yml/badge.svg)](https://github.com/mrpaulblack/tron/actions/workflows/gradle.yml)
# Tron
This is going to be a tron clone with a UDP Client/Server supporting multiple sessions and using JavaFX for the client GUI.### Development
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` with `GradleWrapper` : On Linux `./gradlew`; on Windows `./gradlew.bat`
* Make your changes to `client/src/` and/or `server/src/` and or `game/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 server `gradle :server:build`; for game `gradle :game:build`
* Run the Junit Tests for your src : for client `gradle :client:test`; for server `gradle :server:test`; for game `gradle :game:build`
* Execute your compiled program : for client `gradle :client:run`; for server `gradle :server:run --args="-l trace -t 604800"`; game connot be executed since its a java lib
* Commit your changes with a PR
### Client/Server Usage
*Comming soon*