Raised This Month: $ Target: $400
 0% 

automatic assignment of the teams


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
alvedro
Member
Join Date: Feb 2012
Old 05-07-2012 , 11:26   automatic assignment of the teams
Reply With Quote #1

Hey, let's say for example I have 10 players on SPECT. How are randomly assigned them to teams? So, to maintain a balance between the amount of ct = t, unless we are not pairwise.
alvedro is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 05-07-2012 , 11:33   Re: automatic assignment of the teams
Reply With Quote #2

1. Get all players.
2. Randomize the array of players.
3. Loop through first half and assign to T.
4. Loop through second half and assign to CT.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:30.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode