Based on the number of tiles connected, color an even amount of each color.
Perhaps let the players select the number of players for this specific game, then automatically divide it by that number.
i.e. during reprogram mode from the Fracture tile, show 1-6 LEDs lit for how many players (light each LED with the color of the team) single click iterates through choosing the number of teams) If it is not possible to color the collection with that number of teams (i.e. 6 teams selected, only 3 tiles attached) flash red to show that this is not a possible configuration.