Skeleton bot with radar lock and colors #40

Closed
opened 2026-08-20 23:27:42 +02:00 by SirStone · 1 comment
Owner

Parent

#37

What to build

A minimal SAC_LSTM_Bot that connects to TankRoyale, sets the "Recurrent Royalty" color scheme, and uses the radar_lock module to lock onto the enemy. No RL, no network — just a connectable bot that proves the plumbing works.

Colors (set in onGameStarted or onRoundStarted):

  • Body: Electric Purple #7B2FBE
  • Turret: Deep Gold #FFD700
  • Gun: Dark Purple #4A0E6B
  • Radar: Gold #FFD700
  • Scan arc: Bright Amber #FFB000
  • Bullet: Hot Gold #FFC125
  • Tracks: Dark Gunmetal #2C2C34

The bot activates radar lock via onScannedBot (same-tick reactivity). The run loop can be minimal — sit still or drive in a simple pattern. The point is field-testability: connect, see colors, see radar lock working.

Acceptance criteria

  • Bot connects to TankRoyale server and completes a round without crashing
  • All 7 colors are set and visible in the game
  • Radar locks onto the enemy via radar_lock.doRadar() called from onScannedBot
  • Radar lock activates on the same tick as the scan (not the tick after)
  • Bot can be run against any sample opponent (e.g., Fire, Target)

Blocked by

  • #38 (SAC_LSTM_Bot: project scaffold)
  • #39 (Radar lock: standalone reusable module)
## Parent #37 ## What to build A minimal SAC_LSTM_Bot that connects to TankRoyale, sets the "Recurrent Royalty" color scheme, and uses the `radar_lock` module to lock onto the enemy. No RL, no network — just a connectable bot that proves the plumbing works. Colors (set in `onGameStarted` or `onRoundStarted`): - Body: Electric Purple `#7B2FBE` - Turret: Deep Gold `#FFD700` - Gun: Dark Purple `#4A0E6B` - Radar: Gold `#FFD700` - Scan arc: Bright Amber `#FFB000` - Bullet: Hot Gold `#FFC125` - Tracks: Dark Gunmetal `#2C2C34` The bot activates radar lock via `onScannedBot` (same-tick reactivity). The run loop can be minimal — sit still or drive in a simple pattern. The point is field-testability: connect, see colors, see radar lock working. ## Acceptance criteria - [ ] Bot connects to TankRoyale server and completes a round without crashing - [ ] All 7 colors are set and visible in the game - [ ] Radar locks onto the enemy via `radar_lock.doRadar()` called from `onScannedBot` - [ ] Radar lock activates on the same tick as the scan (not the tick after) - [ ] Bot can be run against any sample opponent (e.g., Fire, Target) ## Blocked by - #38 (SAC_LSTM_Bot: project scaffold) - #39 (Radar lock: standalone reusable module)
SirStone added the ready-for-agent label 2026-08-20 23:27:42 +02:00
Author
Owner

Skeleton bot complete — connects to TankRoyale, Recurrent Royalty colors set, radar lock fires same-tick in onScannedBot. Compiles clean.

Skeleton bot complete — connects to TankRoyale, Recurrent Royalty colors set, radar lock fires same-tick in onScannedBot. Compiles clean.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SirStone/SirRoboGarage#40