Skip to content

softbaerdev/hackatron

Repository files navigation

Hackatron Client/Bot

TThis is a Kotlin client for the Hackatron multiplayer game server — a 2D lightcycle-style game inspired by Tron. Each player controls a moving entity that leaves a trail behind; colliding with any trail results in elimination. The client connects to the game server, handles incoming messages, and computes moves using pluggable strategies.

Get started

You need at least JDK 17 installed. We suggest using IntelliJ IDEA as an IDE.

How to install JDK 17 on Windows

  1. Download the Adopt OpenJDK installer MSI for Windows x86.
  2. Execute the MSI file
  3. When offered, select "Set JAVA_PATH variable" to be installed
  4. Continue installing until done.

Get the example Code

Download the example code as a ZIP archive or clone it with git:

git@gitlab.fachschaften.org:foss-ag/hackatron-wrapper.git

Compile and run the HackaTRON client

Open a terminal and run:

Linux/MacOS:

./mvnw package

Windows:

.\mvnw.cmd package

Protocol

For your convenience, you can find a description of the protocol in PROTOCOL.md.

Rules

Please respect the rules of the competition:

  • Only one connection to the server per team at any time.
  • You must be able to explain your code and strategy
  • Try to solve the competition with your own code. You might take a look at the internet for inspiration, but it is more fun if you come up with your own ideas ;)

License

GPLv3, so feel free to edit and share your improvements in public (e.g. on gitlab.fachschaften.org / Codeberg.org / GitHub.com) after the competition ended.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •