Versions in this module Expand all Collapse all v0 v0.1.0 Feb 16, 2026 Changes in this version + const RadarRange + const RobotRadius + const ScoutAccel + const ScoutDecel + const ScoutGunCooling + const ScoutMaxEnergy + const ScoutMaxShield + const ScoutMaxVelocity + const ScoutRadarFOV + const SniperAccel + const SniperDecel + const SniperGunCooling + const SniperMaxEnergy + const SniperMaxShield + const SniperMaxVelocity + const SniperRadarFOV + const TankAccel + const TankDecel + const TankGunCooling + const TankMaxEnergy + const TankMaxShield + const TankMaxVelocity + const TankRadarFOV + type GameLoop struct + Broadcast func(*pb.WorldState) + Engine *SimulationEngine + StopChan chan bool + TickRate time.Duration + Ticker *time.Ticker + func NewGameLoop(engine *SimulationEngine, tickRate time.Duration, ...) *GameLoop + func (gl *GameLoop) Run() + func (gl *GameLoop) Start() + func (gl *GameLoop) Stop() + type PhysicsEngine struct + func NewPhysicsEngine() *PhysicsEngine + func (pe *PhysicsEngine) Update(state *pb.WorldState, arenaConfig *pb.ArenaConfig, ...) *pb.WorldState + type SimulationEngine struct + ArenaConfig *pb.ArenaConfig + Bots map[string]*pb.BotState + Bullets []*pb.BulletState + CurrentTick int64 + DB *persistence.Database + Events []*pb.SimulationEvent + Intents map[string]*pb.BotIntent + MatchID string + Physics *PhysicsEngine + Status pb.MatchStatus + Zone *pb.ZoneState + func NewSimulationEngine(width, height float32, db *persistence.Database) *SimulationEngine + func (e *SimulationEngine) GetBotSlice() []*pb.BotState + func (e *SimulationEngine) GetWorldState() *pb.WorldState + func (e *SimulationEngine) SetBot(id string, state *pb.BotState) + func (e *SimulationEngine) SetBotIntent(id string, intent *pb.BotIntent) + func (e *SimulationEngine) Tick() *pb.WorldState