Jump to content

T.M.T Project [6 vs 6][3 VS 3][1 VS 1]


MOoN

Recommended Posts

  • Replies 145
  • Created
  • Last Reply

Top Posters In This Topic

http://codepad.org/AbAj5TFU

Just edit the 10 in line 16 (max = 10;) to the number you want, and it'll give you a randomized list of numbers from 1 to the given max (both included).

For all the codemonkeys on here, I'm sure there are more efficient ways to write this, but didn't feel like going any deeper into this :)

Link to comment
Share on other sites

Not sure why, but from the moment i started to work with names, some names came more then once back in the list O_o

Also happens sometimes in this version (wich only randomizes the numbers) but not that often.. i think xD

Try it out! It'll ask if you want to install it; don't worry it's safe ;)

Team Scrambler.zip

Link to comment
Share on other sites

They're completely random, didn't take a look at the 'fairness' of it all..

Teams could be edited a bit (throwing the more skilled players around so that each time has +/- the same skill); but i think it's not that easy to do..

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...