
SirStoneandClaude Sonnet 4.6
766b9e03ee
feat(PPO_Bot): enemy-centered action space + reward shaping for 100% vs Target
- actions.nim: goto/aimTo coordinates now offset from enemy position
(enemyX + tanh(raw) * scale) instead of absolute arena coords
(sigmoid(raw) * arenaSize). Initial random policy defaults to
approaching and aiming at enemy.
- training.nim: added dense reward shaping (distance closeness +
gun bearing) to computeTickReward, doubled round reward scaling.
- PPO_Bot.nim: passes enemy position to mapActions, computes
gun-to-enemy bearing for reward shaping.
Result: 100/100 win rate vs Target with frozen weights.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-08-18 17:40:59 +02:00
..
2026-08-18 15:40:54 +02:00
2026-08-17 19:20:40 +02:00
2026-08-16 15:27:15 +02:00
2026-08-18 17:40:59 +02:00
2026-08-17 11:52:36 +02:00
2026-08-17 19:20:40 +02:00
2026-08-17 11:52:36 +02:00
2026-08-18 17:40:59 +02:00
2026-08-17 19:20:40 +02:00
2026-08-16 15:27:15 +02:00
2026-08-18 17:40:59 +02:00
2026-08-16 15:27:15 +02:00
2026-08-16 15:27:15 +02:00
2026-08-16 15:27:15 +02:00
2026-08-17 19:20:40 +02:00
2026-08-16 16:34:37 +02:00
2026-08-18 17:40:59 +02:00
2026-08-18 15:40:54 +02:00