creating factions in games