What exactly goes into the observation vector fed to the actor-critic network?
Known inputs: own bot state (x, y, direction, speed, energy, gunDirection, gunHeat) + tracked enemy state (x, y, direction, speed, energy, age-of-last-scan). Normalize to [-1,1]?
Open sub-questions:
Include wall distances (4 directions)? Arena-relative position?
Include relative bearing/distance to enemy vs absolute positions?
Include own velocity components (vx, vy) vs scalar speed + heading?
Include bullet states (own in-flight bullets)?
Fixed vector size — what dimensions?
## Question
What exactly goes into the observation vector fed to the actor-critic network?
Known inputs: own bot state (x, y, direction, speed, energy, gunDirection, gunHeat) + tracked enemy state (x, y, direction, speed, energy, age-of-last-scan). Normalize to [-1,1]?
Open sub-questions:
- Include wall distances (4 directions)? Arena-relative position?
- Include relative bearing/distance to enemy vs absolute positions?
- Include own velocity components (vx, vy) vs scalar speed + heading?
- Include bullet states (own in-flight bullets)?
- Fixed vector size — what dimensions?
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Question
What exactly goes into the observation vector fed to the actor-critic network?
Known inputs: own bot state (x, y, direction, speed, energy, gunDirection, gunHeat) + tracked enemy state (x, y, direction, speed, energy, age-of-last-scan). Normalize to [-1,1]?
Open sub-questions:
Resolution
State vector: 42 floats, all normalized to ~[-1, 1]
Current tick (14 floats):
Derived (8 floats):
Enemy window — last 5 ticks (20 floats):
Design decisions