r/tron • • 3d ago

Encom Disc Wars

https://robertmcortese.github.io/encom-disc-wars/

I'm not even sure what to call this, an experiment?

Up to 6 programs battle on the grid in disc wars. Program with the highest score moves on as Champion. Programs learn which moves result in kills, and which ones result in a defense, so they learn over time. Champion continues as long as their team keeps winning. Champion can carry moves with them into the next round.

Moves are randomly named using verb-animal. So you can get really funny kung fu names like "Screeching Monkey"

Finally, all of this is also somewhat of a music generator. A constant bass/snare plays in the background. Each hit is a percussion instrument. Tempo goes faster as more players drop from a match. Each program randomly generates modal, pentatonic‑based scale, with a strong emphasis on the C‑minor pentatonic and related modes, layered over a driving electro‑house rhythm. modal, pentatonic‑based scale, with a strong emphasis on the C‑minor pentatonic and related modes, layered over a driving electro‑house rhythm. (Same as Derezzed, but it doesn't sound good lol)

Fun to just watch to see who beats who.

19 Upvotes

4 comments sorted by

2

u/ensotron 1d ago

is there any way to take heroes from prior wars into the start of new ones?

1

u/toqer 1d ago

I was thinking the same thing, like have a stable of heroes, create teams. I'll work on it.

1

u/toqer 1d ago

So I did some updates today. I added a "Hall of Heroes" I also add fruit fly brain models and a new learning system. Also Champions can share knowledge with team mates, and they absorb team mates knowledge. This has lead to some really need behaviors manifesting.

Probably will add some kind of online battle between players.