Reward function design #6
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Question
What reward signal drives learning? Per-tick, per-round, or both?
Available signals:
Shaping options:
What balance produces a bot that learns both offense and defense?
Resolution
Per-tick reward:
reward_tick = my_energy_delta - enemy_energy_deltaPer-round reward:
reward_round = round_score / 100.0Discount: gamma = 0.99, GAE lambda = 0.95 (standard PPO defaults)
Design philosophy: Minimal shaping. Energy delta is the dense bootstrapping signal; round score keeps the bot honest about what wins battles. Emergent tactics (ramming as a finisher, leading targets) over hand-coded incentives.