So, this is how it is for now: If a player starts the game without anything (no unit), they lose. If all units of a player die, the player is defeated. If a player leaves the game and the number of players in a team is equal to 0, all remaining units will become neutral towards the remaining players. Though I need to test the latter one yet.