cse 219 computer science iii project introduction: a fantasy baseball draft kit
TRANSCRIPT
CSE 219COMPUTER SCIENCE IIIPROJECT INTRODUCTION:
A FANTASY BASEBALL DRAFT KIT
I love sports
(I especially love complaining about sports)
Especially Baseball
And I like Fantasy Baseball
What is fantasy baseball?• You own a team• Your team competes against your friends’ teams• Competes?
• Add up your teams stats vs. their stats
Why baseball?• The stats work best (1 v 1 matchups over 162 games)
• 5 stats for Hitters
• 5 stats for Pitchers
Batter Stats• Home Runs• Runs• Runs Batted In• Batting Average (Hits per At Bat)• Stolen Bases
Pitcher Stats• Wins
• Strike Outs
• ERA (Earned Run Average, runs per 9 innings)
• WHIP (Walks & Hits per Innings Pitched)
• Saves
So how many players do you get?
• 23 in all
• 14 hitters
• 9 pitchers
So how do you win?
• Add up all your stats
• Rank each team in the league according to those 10 categories
• 1 point for each category for last place
• 2 points for 2nd to last place, etc
• How many for first place?
• Depends on how many teams
• Ex: 12 is common
So what’s a “draft kit”?
• A program to help one make decisions during a draft
What’s a draft?• Get all owners at a table
• Go around the table
• Each person calls out a player name
• Players then bid (virtual money) on that player
• Money?
$260 per team (virtual)
So what does our draft kit need to do?• Keep track of all players in pool
• Keep track of draft order with salaries
• Keep track of league teams
• Compile stats as you go
• Provide some analysis to help make good decisions
Keep track of all players in pool
Present them in sortable form as needed
Player positions, notes, etc.
Allow for adding new players during draft
Keep track of draft order with salaries
Who picked who and when?
Keep track of league teams
Who has who?
Compile stats as you go• Which teams are in the lead?
• Which teams need pitchers?
• How many Catchers are left?
Provide some analysis• Which positions are most in demand?• How much money is still floating around?
So what will you do?• I’ll give you an SRS (Software Requirements
Specification, i.e. spec)
• You’ll fill in an SDD (Software Design Description)• i.e. UML Class & Sequence Diagrams
• I’ll provide the data• XML format
• You’ll implement your design
And I will WIN MY LEAGUE!!!