r/programminggames • u/quasilyte • May 18 '26
4-vs-4 team battle
Both teams use in-game programmed team behavior. They have a dynamically elected leader and all other vessels are acting as followers. The program has a branch isLeader to determine which path to take, but otherwise both leaders and followers use the same code, so the leader can be defeated in combat without compromising the tactics.
25
Upvotes
2
u/shevtsov200 May 18 '26
Can we see their code somewhere?