7e1f1483a4
- Document exception handling, zero-value BotResult trap, shared adversary bots - Add offline parsing example using parseServerOutput - Skip tests gracefully when JARs missing (guard before suite blocks) - Fix blocking readLine in runner_process.nim: poll with 50ms sleep + atEnd check (was preventing timeout enforcement, now blocks correctly during battle) - Add test task to QBot.nimble and config.nims setup docs to AGENTS.md - Add debug logging to TestBattleRunner for bot identity tracking Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
16 lines
548 B
Nim
16 lines
548 B
Nim
# Package
|
|
version = "0.1.0"
|
|
author = "Davide Cappellini"
|
|
description = "Tabular Q-learning Tank Royale bot — chained action decomposition prototype"
|
|
license = "MIT"
|
|
srcDir = "src"
|
|
bin = @["QBot"]
|
|
|
|
# Dependencies
|
|
requires "nim >= 2.0.0"
|
|
# tankroyale_botapi and radar_lock are vendored in-tree (common_libs/) and wired via
|
|
# config.nims --path; no nimble dependency so builds never touch ~/.nimble/pkgs2.
|
|
|
|
task test, "Run integration tests":
|
|
exec "nim c -r --path:../common_libs tests/test_basic_battle.nim"
|