0.20.0 #71
flemming-n-larsen
announced in
Announcements
0.20.0
#71
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
📦 0.20.0 - Added support for teams and droids - 23-Aug-2023
🚀 Improvements
TeamMessageEvent
which is received when another team member has sent a message.getTeammateIds()
to get the ids of all teammates in a team.isTeammate(botId)
to check if a bot with a specific id is a teammate or opponent.broadcastTeamMessage(message)
broadcasts a message to all team members.sendMessage(botId, message)
sends a message to a specific team member.onMessageReceived(TeamMessageEvent)
is an event handler to take action when a team message is received.Droid
interface (no scanner, but 120 initial energy points).run
command intoboot
.-T
into-g
for filtering game rules (-t
is now used for the team-only option).--botsOnly
and corresponding-b
option flag for filtering on bots only (excluding teams).--teamsOnly
and corresponding-t
option flag for filtering on teams only (excluding bots).Directory Filter
dropdown to filter on bots and teams.bot-results-for-bot
andbot-results-for-observer
intoresults-for-bot
andresults-for-observer
as participants now include teams and not just bots.🪲 Bug Fixes
📄 Documentation
You can read the Robocode Tank Royale documentation here.
🔨 Try it out
Please head over to My First Bot tutorial to learn how to set up your first bot for Robocode Tank Royale.
▶ Running Robocode
You need Java 11 as a minimum or newer, e.g. the newest version of Java available.
You can read the installation guide to get more details about installing both Java and Robocode.
The main application is the GUI Application, which is a Java application.
You can read more about how to use the GUI Application here.
The Robocode GUI application is run from the command line (shell or command prompt) in order to start and view
battles:
If you are new to Robocode, you need to download some bots and extract those to directories on your system.
These bot directories can be added from the menu of the GUI:
Config → Bot Root Directories
🤖 Sample bots
These sample bots are currently available:
All bots are put in zip archives, which should be installed in independent directories.
Each zip archive contains a ReadMe.md file with more information for the specific platform.
📦 Bot API
In order to start developing bots for Robocode, the following APIs are available.
📦 Java:
Available as:
📦 .Net:
Available as:
This discussion was created from the release 0.20.0.
Beta Was this translation helpful? Give feedback.
All reactions