# Teaching Neural Nets to Fight with RL [P] — retained record

> Retained reddit record from reddit:MachineLearning.

Canonical: https://highsignal.app/data/records/a6d8c417e98c8522

[← sources](https://highsignal.app/data)


source: [reddit](https://highsignal.app/data/reddit) (reddit:MachineLearning)  published 2026-09-27 03:10 ingested 2026-09-28 02:38

[original source ↗](https://www.reddit.com/r/MachineLearning/comments/1wr99bn/teaching_neural_nets_to_fight_with_rl_p/)

## retained text



```
In this project I wanted to see if any interesting emergent behaviors would appear if we trained two agents to play a streetfighter-like game using RL.

Maybe obvious in retrospect, but the agents are really good at reward hacking. I had to shape the rewards a bit to get them to even approach each other.

I eventually used league play to improve the agent further. Without it, the agents don’t really learn general strategies, they just learn to exploit a particular opponent.

You can read the article and try fighting the main bot yourself here: [https://blog.lukesalamone.com/posts/fighting-game-rl](https://blog.lukesalamone.com/posts/fighting-game-rl)
```



document fetched 2026-09-28 00:28 · canonical https://reddit.com/r/MachineLearning/comments/1wr99bn/teaching_neural_nets_to_fight_with_rl_p
