<< Back to Ladder Forum   Search

Posts 21 - 31 of 31   <<Prev   1  2  
3v3 ladder predictions: 2015-10-02 14:15:32

Pulsey
Level 56
Report
Neither "ragequit" nor "nick" are words. I think I need to provide more Sesame Street links, to help educate the masses.


I don't quite like Sesame Street, how about some works from da Vici instead? Maybe the Moa Lisa? Thats a nice painting.

Edited 10/2/2015 14:16:13
3v3 ladder predictions: 2015-10-02 16:18:28


Strategos
Level 54
Report
If you want something written by da Vinci, you need a mirror.

http://legacy.mos.org/sln/Leonardo/LeonardoRighttoLeft.html

Edited 10/2/2015 18:34:20
3v3 ladder predictions: 2015-10-02 16:27:00

Pulsey
Level 56
Report
I still prefer works from da Vici. Preferably the Moa Lisa.
3v3 ladder predictions: 2015-10-02 16:43:07


[IM]YouMustBeKidding
Level 58
Report
Did turtle or I say something that offended you? Why don't you make your own list and put yourself on the top? Nobody cares. It's just for entertainment.

I deserve to get an auto spot at the top of each and every list.
3v3 ladder predictions: 2015-10-02 17:03:44


Strategos
Level 54
Report
3v3 ladder predictions...

Edited 10/2/2015 18:35:45
3v3 ladder predictions: 2015-10-02 18:19:11

Pulsey
Level 56
Report
^I guess i'll edit my post as well...

Edited 10/3/2015 06:48:48
3v3 ladder predictions: 2015-10-03 02:11:35


Master Turtle 
Level 62
Report
IMYOUMUSTBEKIDDING

Dude these are all just fun random predictions. Well not random but 100% bias.... I was asked to give my opinions so I did. How about you make your own list and perhaps argue why its better than mine OR quit bashing on me cause you got nothing...

Thanks MoD =)
3v3 ladder predictions: 2015-10-03 02:41:48


Benjamin628 
Level 60
Report
Fizzer should use this to make 2v2 ladder Matchups :)
Sorry for messy code, you can tell which part I made and which part knyte made.

Edit: Fizzer should not use this to make 2v2 ladder matchups. Fizzer should use the top function for template picking :)
import random
players = []
# can be used in Format of "A, B & C" for Teams
templates=[Guiroma 2v2, Szeurope 2v2, China 2v2, etc]
def tempPicker():
    random.shuffle(templates
    return templates[0]


def generateRandomTeams(players, teamSize=2):
    # given a list of players and a desired team size,
    # generates said teams, returned as a list of tuples
    random.shuffle(players)
    teams = [] # creates an empty list to store team tuples
    if len(players) % teamSize != 0:
        pass # handle extra players here
        # ignore this section if you just want to trim random extras
    numTeams = len(players) / teamSize 
    # calculates # of teams, ignoring extras 
    # (at this point, they're out of the picture)
    for x in xrange(numTeams): # goes from 0 to numTeams - 1
        team = list() # generates an empty list to store team members
        for i in xrange(teamSize): # goes from 0 to teamSize - 1
            team.append(players[(teamSize*x)+i]) # adds a player to the team
            # you might have noticed that they follow a pattern
            # for each team, you first add the player at the index
            # teamSize * teamNumber (x) + 0 (the +0 is important)
            # and last add a player at the index
            # teamSize * teamNumber (x) + (teamSize - 1)
            # for example, with two teams it's player 2*x [0,2,4...]
            # and player 2*x + 1 [1,3,5]
            # this for loop lets you iterate from 0 to teamSize - 1
            # while the outer for loop lets you iterate 
            # from team 0 to the final team
        teams.append(tuple(team)) 
        # adds the tuple (player1,...,playerN) to the list of teams
    return teams

def printRandomTeams(players, teamSize=2, separator=" vs "):
    teams = generateRandomTeams(players, teamSize)
    # generates the random teams
    for i in xrange(len(teams)): # goes from 0 to numTeams
        # section below uses string formatting
        # you should check it out if you haven't already
        teamStr = "Game %d: " % (i+1) # just gives you a team number
        for player in teams: 
            # teams[i*] is just the i-th team in the list
            teamStr += "%s%s" % (player, separator) 
            # adds a player name and an " & " (separator)
        teamStr = teamStr[:-(len(separator))] + " - " + tempPicker()
        # eliminates last " & " because no more players
        # recall that a str[:-(x)] is just that string
        # without its last x elements 
        print teamStr
printRandomTeams(players)


Edited 10/3/2015 02:42:48
3v3 ladder predictions: 2015-10-03 07:30:21


[IM]YouMustBeKidding
Level 58
Report
Dude these are all just fun random predictions. Well not random but 100% bias.... I was asked to give my opinions so I did. How about you make your own list and perhaps argue why its better than mine OR quit bashing on me cause you got nothing...

Well, you can't just make a list about the best 100 meter runners and don't add Usain Bolt in the top 10.

1. laura, Norman, [IM]YouMustBeKidding
2-X: You guys fight it out. I believe this guy with the typo in the username (Da Vici) has good chances.
3v3 ladder predictions: 2015-10-03 13:49:01


Vulpes
Level 56
Report
How many teams have done this?

3v3 Europe Ladder has been created! Yes! I want five games at a time!

Games start. We didn't have accountants ready. Damn. Too much data. 2 games at a time.
3v3 ladder predictions: 2015-10-04 15:10:19


Strategos
Level 54
Report
This game is sacred.
https://www.warlight.net/MultiPlayer?GameID=9564869

The Holy Trinity
The Father: Szeweningen
The Son: Gnuffone
The Holy Spirit: myhandisonfire
Posts 21 - 31 of 31   <<Prev   1  2