Evenly Matched Opponents

I made this as a quick doodle because I saw a social media post doing something like this! Multiple opponents represented as balls bounce around a grid. Each time they hit a differently colored wall, they color it in, making it their own. In the course of the simulation, this will mostly fall into a kind of equilibrium, each opponent having roughly the same amount of fields. I find this to be very relaxing to look at!

Sadly, your browser does not support a canvas
Speed:
Restart:

Scoreboard: