RobocodeBot 2.0.0
dotnet new install RobocodeBot@2.0.0
RobocodeBot
A dotnet new template for creating Robocode Tank Royale bots in C#.
This template creates:
- A custom-named bot class
- A matching
.csproj - Proper namespaces
- Preconfigured Robocode Tank Royale dependencies
Installation
Install the template from NuGet:
Open command line and paste in:
dotnet new install RobocodeBot::2.0.0
Once you have the package installed, use file explorer to navigate to the folder that will house your bot.
Click on the file path at the top, type cmd, then press enter to open the command line in your desired folder.
Once you have opened your command line in the correct folder paste in the following command:
dotnet new robocodebot -n YourBotName
A new folder with the name of your bot should have been created.
inside you see all the files you will need to program your bot (however the .cs file is probably the most important to you).
Make sure to run you bot in robocode after creating the folder before editing any of the files
Running in Robocode
Step 1: Open Robocode and click Start Battle in the top left.
Step 2: Look for your newly created bot in the top left box and double click on it to boot the bot.
Step 3: Boot another random bot.
Step 4: Click Add All to Battle.
Step 5: Click Start Battle.
Step 6: Close Robocode.
Once you have done this, follow this link to view the official documentation for programming your bot:
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|