The version of Nim supported is
Each turn your source code will be compiled within a new sandbox, by default no information is shared or persisted between turns, if you wish to persist data then you should use the User Data field within the API.
Input - Standard Input (STDIN)
Within Nim you can use
readLine(stdin) to capture the STDIN input
var inputCommands: string = readLine(stdin) # Bot Logic
Ouput - Standard Outout (STDOUT)
Within Nim you can simply use
echo to return your CSV based instructions to BotWars.
# Read input var inputCommands: string = readLine(stdin) # perform logic... var outputCommands: string = "5:5-D,12:12-D" # Return commands echo outputCommands