be4e9549ef
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
16 lines
351 B
Nim
16 lines
351 B
Nim
# SittingDuck — does nothing, used as a test adversary.
|
|
import std/os
|
|
import robocode_tankroyale_botapi
|
|
|
|
const botJsonPath = currentSourcePath().parentDir / "SittingDuck.json"
|
|
|
|
type SittingDuck = ref object of Bot
|
|
|
|
method run*(bot: SittingDuck) =
|
|
while isRunning():
|
|
go()
|
|
|
|
when isMainModule:
|
|
var bot = SittingDuck()
|
|
start(bot, botJsonPath)
|