Skip to content

jasminwu/neara-hackathon

Repository files navigation

The Rizzler Bot

This repository contains our bot for the Tank Royale competition. The bot is written in Java and uses the state pattern to switch between different attack and defence techniques at runtime.

It also has everything necessary to run as a host for a Robocode Tank Royale competition. So other bots can be packaged and dropped into the bots folder and it'll be picked up.

Default competition rules

  • Game type: Classic
  • Arena size: 800x600
  • Gun cooling rate: 0.1
  • Number of rounds: 10
  • Ready timeout (μs): 1,000,000
  • Turn timeout (μs): 30,000

Running as host

Unzip the included compiled sample bots

unzip sample-bots-java-0.19.2.zip -d $YourFolder

Run the host application

java -jar robocode-tankroyale-gui-0.19.2.jar
  1. Go to Config->Bot root directories and add the $YourFolder
  2. Start the server
  3. Start game and set the mode to "classic", load all the bots you want to run and click start

Building a bot and submitting to host

  • Ensure that you set compatibility mode to JDK 11. You'll need to produce a jar file in the final deliverable
  • Ensure that your bot includes a .json file with the same name as the jar. Example here.
  • Ensure that you have a .sh file with the command that would execute the jar file. See example here

Full instructions for the JVM is available in the official docs: https://robocode-dev.github.io/tank-royale/tutorial/jvm/my-first-bot-for-jvm.html

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages