mercredi 24 juin 2020

Swift, Random Choice depending on number of users (other techs welcome) [closed]

So, here is the thing... I play Age of Empires 3 with a group of friends everyday... So each night we have to randomly choose a civilization for each player and also if they are going on team 1 or team 2. Sometimes we are 4, others 6, but mostly we are 8 players (and not always the same players) So i had the idea to develop an app where you just type the number of players, their names, and automatically get each player a Civilization and a team (can only be team 1 or 2)

I reached the point where i can do this, but only if we are 8. Any ideas on how to do this?




Aucun commentaire:

Enregistrer un commentaire