Enhance player swapping logic to maintain team diversity by implementing constraints that ensure at least three teams are represented in the lineup, while also considering the current player's team during replacements.
ffe9064
James McCool
commited on