07 / Learning game
Laser Battle 2
Play a small arena and inspect its self-play training curves.
Playable browser sketch · scripted opponent
Playable sketch / scripted opponent
A small duel
Move with arrow keys or WASD, aim with the pointer, and fire with Space or a tap. On a phone, drag on the arena to move and tap Fire.
Browser sketch with a scripted opponent. Saved DQN training plots appear below.
Recorded plots
Training record

Reading the arena
Controls
You move and fire in the browser sketch against a scripted opponent.
Training
The saved reward and win-rate plots come from the separate DQN self-play training run.
Comparison
The sketch exposes movement, aiming, and firing. The plotted DQN was evaluated in the original local game.
The local game has movement, firing, reloading, and connected obstacle layouts. A DQN challenger trains against a champion; promotion depends on evaluation.
The browser sketch gives you the arena controls against a scripted opponent. The saved plots show episode reward and win rate from the separate training run.