Project 3
Due date: May 7, 2016
1. Description:
In this project, we will simulate the first round of NCAA March Madness 2015. The inputs of your program would be the following data:
Four lists of teams, already sorted by their seeds from smallest to biggest. Better teams have smaller seed.
Midwest region: {Kentucky","Kansas","Notre Dame","Maryland",
"West Virginia","Butler","Wichita","Cincinati",
"Purdue","Indiana","Texas","Buffalo","Valparalso",
"Northeastern","New Mexico St","Hampton"};
West region: {"Wisconsin","Arizona","Baylor","North Carolina",
"Arkansas","Xavier","VCU","Oregon","Oklahoma St",
"Ohio St","Ole Miss","Wofford","Harvard","Georgia St",
"Texas Southern","Coastal Caro"};
South region: {"Duke","Gonzaga","Iowa St","Georgetown","Utah",
"SMU","Iowa","San Diego St","St John","Davison",
"UCLA","SF Austin","Eastern Washington","UAB",
"N. Dakota","Robert Morris"};
East region: {"Villanova","Virginia","Oklahoma","Louisville",
"UNI","Providence","Michigan St","N. Carolina St",
"LSU","Georgia","Dayton","Wyoming","UC Irvine",
"Albany","Belmont","Lafayette"};
In this simulation, the team with longer name will have 60% of getting a win. The score is between 40 and 90. The match up is as follows:
Seed #1 – Seed #16; Seed #2 – Seed #15, Seed #3 – Seed #14, Seed #4 – Seed #13,
Seed #5 – Seed #12, Seed #6 – Seed #11, Seed #7 – Seed #10, Seed #8 – Seed #9
Simulate the first rounds for all four regions.
The output will contain the followings:
- 32 Games in the first round, the final score for each game.
- 32 teams going to the second rounds. For each region, sort the list of team alphabetically.
- Count how many upsets for each region. Upset happened when the higher seeded team defeats the lower seeded team
Bonus: 10 points
Run your program 100 times, count how many times you have Duke, Kentucky, Michigan St and Wisconsin NOT moving on the second round.
II. Submission:
*.java files should be placed under project3 folder before or by the due date.