Files
SirRoboGarage/.gitignore
T
SirStone fe8b1eddff Add curated legacy Robocode roster (28 bots) and Tank Royale booter
Curated roster: 34 classic-Robocode archives were downloaded, measured in real
Tank Royale battles and curated to 28 usable bots, now in legacy_bots/<Name>/
(<Name>.jar + <Name>.json + <Name>.sh) with checksums in MANIFEST.sha256.
Six were dropped as NOT_USEFUL and deleted from tr_bots/_salvage/legacy_bots/
and tr_bots/_salvage/tr_wrappers/, with the rationale recorded in
legacy_bots/README.md and tools/robocode_shim/LEGACY_BOTS.md:

  - Nene, Seraphim  - Azuma-framework melee bots, completely inert (0 scans,
                      0 shots); getRobotRunnable() returns null so the shim has
                      no driver path for them.
  - Aurora          - fires 6 shots and crawls.
  - FloodMini, LightningBug, Aristocles - near-stationary turrets: they scan and
                      fire but land 0 hits and take 10+ hits every round.

DrussGT is the reference bot and is deliberately NOT in legacy_bots/: it lives in
tr_bots/DrussGT and is now vendored with its sources under
tools/robocode_shim/vendor/drussgt/.

Repo-relative paths replace /tmp: every <Name>.sh resolves the shim and the
vendor jars via $REPO (../..), and none hardcodes a server URL, a /tmp data
path, or anything under ~/Downloads. SERVER_URL/SERVER_SECRET come from the
environment, which the booter populates from its own -Dserver.url /
-Dsystem.secret system properties.

Booter: tools/booter/robocode-tankroyale-booter-0.35.5-all.jar, copied from a
local tank-royale build, plus a README covering the real CLI. Note the command
is `boot`; the upstream README's `run` is stale. Verified it discovers all 28
kept bots via both `dir` and `info`.

Licensing: every third-party jar here reads "not stated in jar", and DrussGT is
GPL. The repo owner has explicitly waived this - the repository is PRIVATE and
lives on their own LAN. Do not mirror or redistribute without revisiting that.

.gitignore flipped back to tracking legacy_bots/**/*.jar; an over-broad *.jar
rule already cost us the only copy of DrussGT.jar once.
2026-10-04 22:18:28 +02:00

102 lines
2.8 KiB
Plaintext

# Compiled output
*.out
# Python cache
__pycache__/
*.pyc
*.pyo
# Log files
*.log
# Training logs
*.jsonl
# Test binaries (but keep .nim source files)
**/tests/test_*
!**/tests/test_*.nim
!**/tests/test_*.nims
# User-specific dev environment
.envrc
devbox.json
devbox.lock
# Local settings file (explicit path only - never a wildcard pattern)
ModularBot_garage/.env
# Compiled bot binaries — all builds go to *_garage/out/
*_garage/out/
# Java compiled classes
*.class
# Log and snapshot directories
**/logs/
**/snapshots/
# Git worktrees
worktrees/
# Nimble puts the bot binary at the garage root (out/ is ignored, this was not)
*_garage/ModularBot
# Test fixtures are data, not logs - the *.jsonl rule above was written for
# training logs and silently excluded the entire gun-range fixture set.
!tools/fixtures/**/*.jsonl
# Compiled test harnesses have no extension; the test_* rule misses them
common_libs/tests/tm_measure
common_libs/tests/run_range
common_libs/tests/gen_synthetic_fixtures
common_libs/tests/acceptance_offline_vs_online
common_libs/tests/measure_power_policy
common_libs/tests/test_tsetlin_gun
common_libs/tests/test_tsetlin_live
common_libs/tests/test_tm_pattern_learning
# measurement tool binaries (no extension); sources are measure_*.nim
tr_bots/*
# Measurement-tool binaries (extensionless; their .nim/.py/.txt sources stay tracked)
common_libs/tests/measure_tm_readapt
common_libs/tests/measure_tm_pattern_cost
common_libs/tests/measure_cornering_guns
common_libs/tests/measure_vbullet_admit_gate
common_libs/tests/measure_tm_miss_shrink
common_libs/tests/audit_wave_pairing
common_libs/tests/compare_pairing
common_libs/tests/diag_synthetic
common_libs/tests/diag_automata_validation
common_libs/tests/diag_tm_pattern_offline
# Primary source archive kept locally, NOT tracked (12 MB)
docs/BitBrain_C_code.zip
# raw_recorder build output
tools/raw_recorder/out/
tools/raw_recorder/shadow-classes/
# _salvage (rescued from /tmp): re-include, but keep the multi-MB legacy bot jars off git.
# tr_bots/ is otherwise ignored (generated wrappers / build output).
!tr_bots/_salvage/
tr_bots/_salvage/*
!tr_bots/_salvage/README.md
!tr_bots/_salvage/legacy_bots/
tr_bots/_salvage/legacy_bots/*
!tr_bots/_salvage/legacy_bots/MANIFEST.sha256
!tr_bots/_salvage/tr_wrappers/
!tr_bots/_salvage/portaudit/
!tr_bots/_salvage/shim/
# Legacy champion bot jars ARE committed: their license reads "not stated in
# jar" for every bot (see tools/robocode_shim/robots.json), but the repo owner
# has explicitly waived that concern — it is a PRIVATE repo on their own LAN.
# The jars are not reproducible from here, and an over-broad *.jar rule already
# cost us the only copy of DrussGT.jar once.
!legacy_bots/**/*.jar
legacy_bots/**/*.jar.*
# DrussGT raw recorded corpora (large, regenerable via tools/raw_recorder)
data/drussgt_raw/