I’m probably going to write my bot in C++ again this year (also possibly considering Rust to force myself to learn it!). So I thought I might as well write a sample bot to get C++ support added ASAP. But, I have some questions:
What is going on with the bot.json file? The first rule in the Starter Bots README says that bots must have a bot.json file, but none of the existing starter bots have a bot.json file! Some of the information that would belong in bot.json, like the path to the bot executable and the name of the executable, look like they come from the config.json file, which is all fine for local testing, but bot creators can’t submit their own config.json files - the config.json file is specific to a match, not a bot.
When I wrote last year’s C++ sample bot, I polluted the repository by including the entire rapidjson library in my commit! Better not to do that again, plus now there is an up-to-date version of rapidjson on Nuget. Is there some way for bots to pull in dependencies when compiled on the server? This won’t just be needed for C++/Nuget - Java doesn’t seem to have JSON parsing built in either, so there will need to be a step where maven or something is used. I think this was in bot.json last year too?