+ Reply to Thread
Showing results 1 to 12 of 12

Thread: Random Race Test

  1. #1
    Confused Senior Member
    Retired Staff Member

    Blessed
    Titan is a jewel in the rough Titan's Avatar
    Join Date
    May 2004
    Posts
    2,179
    Downloads
    5
    Uploads
    0

    Random Race Test

    So I've been running the Starcraft random algorithm for choosing a race (when a user selects "Random" in the game lobby). After about 1 1/2 hours I have some interesting results.

    Code:
    Race            Times Picked        Probability
    --------        ------------        -----------
    Zerg:           10,941,256          0.333217035
    Terran:         10,941,658          0.333229278
    Protoss:        10,952,310          0.333553686
    --------        ------------        -----------
    Total:          32,835,224
    It looks like Protoss is in the lead right now. I'm going to run the test all night and see what happens. No, there is no grand purpose to this. I was just looking for something interesting to do. It will probably just continue to converge to 1/3 each, but we'll see.

    After 331,975,848 tests, Protoss lost a lot of ground, but the probabilities are still converging to 1/3.
    Code:
    Race            Times Picked        Probability
    --------        ------------        -----------
    Zerg:           110,668,607         0.333363429
    Terran:         110,669,002         0.333364619
    Protoss:        110,638,239         0.333271952
    --------        ------------        -----------
    Total:          331,975,848
    Last edited by Titan : 01-26-2008 at 05:53 PM

  2. #2

    Deviant
    hure will become famous soon enough
    Join Date
    Jul 2007
    Posts
    159
    Downloads
    1
    Uploads
    0

    its more interessting if you have more randoms.

    if you play racewar with 6 players, it will never have more than 3 players of the same type.


    did you also analyze streak lengths?

  3. #3
    Confused Senior Member
    Retired Staff Member

    Blessed
    Titan is a jewel in the rough Titan's Avatar
    Join Date
    May 2004
    Posts
    2,179
    Downloads
    5
    Uploads
    0

    Quote Originally Posted by hure View Post
    its more interessting if you have more randoms.

    if you play racewar with 6 players, it will never have more than 3 players of the same type.


    did you also analyze streak lengths?
    This is just testing a scenario where one player goes random. I haven't done any deep analysis... I was just bored last night.

  4. #4

    Disciple
    John is an unknown quantity at this point John's Avatar
    Join Date
    Mar 2006
    Location
    USA
    Posts
    535
    Downloads
    0
    Uploads
    0

    I would be bored to doing that. What's the point?
    Being gay is your own choice. Just don't bother me with your gay sh*t and I won't punch you in the face.

  5. #5

    I'm in ur user profile changing ur name back
    Senior Member
    Gold Member

    Messiah
    Otaku has a reputation beyond repute Otaku has a reputation beyond repute Otaku has a reputation beyond repute Otaku has a reputation beyond repute Otaku has a reputation beyond repute Otaku has a reputation beyond repute Otaku has a reputation beyond repute Otaku has a reputation beyond repute Otaku has a reputation beyond repute Otaku has a reputation beyond repute Otaku has a reputation beyond repute Otaku's Avatar
    Join Date
    Mar 2005
    Location
    Gensokyo
    Posts
    9,197
    Downloads
    6
    Uploads
    0

    Curiosity?

  6. #6

    Disciple
    John is an unknown quantity at this point John's Avatar
    Join Date
    Mar 2006
    Location
    USA
    Posts
    535
    Downloads
    0
    Uploads
    0

    Hell yes!
    Being gay is your own choice. Just don't bother me with your gay sh*t and I won't punch you in the face.

  7. #7
    The Future Senior Member

    High Priest
    Polie13 is a glorious beacon of light Polie13 is a glorious beacon of light Polie13 is a glorious beacon of light Polie13's Avatar
    Join Date
    Jan 2005
    Posts
    1,874
    Downloads
    27
    Uploads
    0

    That's pretty neat, any chance of running it against multiple race selections?
    Quote Originally Posted by DSG on AIM
    dsg (12:34:34 AM): i gave my ups driver
    dsg (12:34:37 AM): a popsicle
    dsg (12:34:39 AM): when it was hot out
    dsg (12:34:43 AM): and i had pissed in it
    dsg (12:34:47 AM): the popsicle fluid
    dsg (12:34:50 AM): that i used to make
    dsg (12:34:51 AM): em
    dsg (12:34:53 AM): i planned it out
    dsg (12:34:54 AM): LOL
    dsg (12:34:59 AM): ordered a package
    dsg (12:35:01 AM): stayed home all day
    dsg (12:35:09 AM): and gave him a popsicle i had prepared
    polie13 (12:35:15 AM): ..thats pretty ****ed up

  8. #8
    Confused Senior Member
    Retired Staff Member

    Blessed
    Titan is a jewel in the rough Titan's Avatar
    Join Date
    May 2004
    Posts
    2,179
    Downloads
    5
    Uploads
    0

    Here is something interesting if you weren't amazed by those results. It seems that...

    If you play a game with 8 people, 7 of them choose Protoss as their race, and you go random... you will still have a 1/3 chance of getting Protoss.

    Multiple randoms is a different story though.

  9. #9

    Disciple
    John is an unknown quantity at this point John's Avatar
    Join Date
    Mar 2006
    Location
    USA
    Posts
    535
    Downloads
    0
    Uploads
    0

    Dude that owns!
    Being gay is your own choice. Just don't bother me with your gay sh*t and I won't punch you in the face.

  10. #10

    Blessed
    BD-ICY is just really nice BD-ICY is just really nice BD-ICY's Avatar
    Join Date
    Dec 2005
    Location
    Detroit, Michigan USA
    Posts
    1,977
    Downloads
    0
    Uploads
    0

    I've played a game where all 8 of us went random, and 4 of us were terran, 3 were toss and only 1 zerg(he got pwned by the toss lol)
    BD-ICY
    Seems that way.
    > Successfully injected Heroin.dll <
    Found my old account.

    ston3rpimp69: my mother told me id have my own personal ball-washer some day. im glad all that hard work paid off.

  11. #11
    Senior Member

    Crusader
    MiCrOz is a name known to all MiCrOz is a name known to all MiCrOz is a name known to all MiCrOz is a name known to all MiCrOz's Avatar
    Join Date
    Aug 2005
    Location
    Cherry Hill, NJ
    Posts
    3,762
    Blog Entries
    1
    Downloads
    13
    Uploads
    0

    Quote Originally Posted by John View Post
    I would be bored to doing that. What's the point?
    He's not doing it physically.

    The results are interesting, but expected.
    Quote Originally Posted by DSG View Post
    Your opinion DOES NOT count for anything on these forums. This isn't a democracy on these forums its a 'dt'ocracy/dictatorship and us staff are his officers.
    Quote Originally Posted by ScAreCroW View Post
    Who needs eharmony.com when you have gamethreat.net


  12. #12
    dt
    dt 15 0|\|11|\|3 |\|0\/\/
    Administrator

    Inquisitor
    dt has a reputation beyond repute dt has a reputation beyond repute dt has a reputation beyond repute dt has a reputation beyond repute dt has a reputation beyond repute dt has a reputation beyond repute dt has a reputation beyond repute dt has a reputation beyond repute dt has a reputation beyond repute dt has a reputation beyond repute dt's Avatar
    Join Date
    Jul 2004
    Location
    Germany
    Posts
    4,919
    Downloads
    119
    Uploads
    0

    This gets interesting in case of multiple random players. It's not entirely random any more, the following rules apply:

    2 players: the probability of a mirror matchup (same race twice) is only 1/8, as opposed to 1/3 as you would expect from a random distribution. All other matchups are equally likely.

    More players: All matchups are equally likely, however only the following ratios are possible:
    3: 1-1-1 or 2-1-0
    4: 2-1-1
    5: 2-2-1
    6: 2-2-2 or 3-2-1
    7: 3-2-2
    8: 3-3-2

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. 1.15.1 Offsets / Functions / Notes
    By LCSBSSRHXXX in forum Starcraft Hacking Related
    Replies: 55
    Last Post: 01-30-2008, 03:23 AM
  2. the big poll.
    By Raistlin in forum Starcraft II
    Replies: 91
    Last Post: 01-05-2008, 06:30 AM
  3. The Power-On Self-Test (POST)
    By Dark_Mage- in forum Hardware and Software
    Replies: 3
    Last Post: 08-10-2007, 10:42 AM
  4. Random sig test
    By MiCrOz in forum Graphics and Arts
    Replies: 4
    Last Post: 08-24-2005, 06:24 PM

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts