Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^4: Unique Combos with Math::Combinatorics (games)

by ketema (Scribe)
on Apr 03, 2008 at 09:04 UTC ( [id://678128]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Unique Combos with Math::Combinatorics (games)
in thread Unique Combos with Math::Combinatorics

Update: OK I had no idea I had so many responses. I just read through them all. I am very pleased that I got so much interest. I will say I do not understand the math in depth, but I have been reading up on the plane stuff. I will update this thread a little more by stating that my goal was in creating a unique way to have a 4 on 4 league of basketball at my local gym. Here is the idea i submitted to the rec center people:
Sample Schedule for Oviedo 4 on 4 Basketball Round Robin League Players: This example uses 24 total players. Multiple of 4 is best bu +t odd numbers can be accommodated. Rules: Courts: 2 Time: 8 am to 11 am on Sundays Game Rules: 15 min or 11 “Buckets” whichever comes first 3 team fouls. Offense inbounds from top of key when defense not in pe +nalty, shoots one free throw when defense is in penalty. Spirit of the league is to maintain competitive balance and promote te +am work by giving all players a chance to play with each other, while + also maintaing the spirit of “street ball”. Each player is responsi +ble only for paying his fee and showing up each week. Schedule is au +to generated based on number of signed up players. Kudos: Refs, stats, website, videos, jerseys. = More Fun! Scheduling example: 24 total players in league 3 hours of time = 180 min. 15 min per game = 12 Games per Sunday (max) 2 courts = 6 games per court 8 players playing per game = 16 players playing at one time = 8 player +s waiting at any one time. To honor the spirit of competitive balance, each player in the league +will play with every other player at least once. With the 24 example + players, that equals 35 possible “teams” where no two players are th +e same on any team. The schedule allows every player to play with an +d/or against every one else with each individual maintaining his own +W/L record. At the end of the “Regular” season the league players wi +ll be divided up by record into an “A” bracket and a “B” bracket. In + this example that equals 12 players per bracket. These players woul +d be divided into 3 fixed teams and play a double elimination tournam +ent for 1-3 place overall in the A bracket and 4-6 in the B bracket.
Now what happened in real life was that the rec guys found that not every one shows up each week. So we wound up mostly tracking stuff by hand, but the perl was useful in generating teams for the people that showed up on any particular Sunday. We also found a nice piece of software called Splendid City that helped us with scheduling, but in the end since the pool of players was different each week and we never knew who was coming and who wasn't we wound up just tracking individuals records and making the teams based on who was present each individual Sunday. We tried to balance people from playing with the same ones too much but we had no real formula for it, and were really limited by just who was there.
I will admit reading all the posts has me interested in coming up with a better way to have it organized and automated. I would love to have a program that would allow me to enter the total player pool, generate random teams on a daily basis and take into account factors such as what i described happened in real life:
  • who's present
  • who has played with each other already
  • >etc...

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://678128]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2024-04-25 22:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found