Apply knowledge
Select one of the scenarios below and use Object Orientation to solve it. You should use TDD to test your Objects.
Scenario 1
Football tournament
Your local Football club is hosting a Football tournament and would like to keep tally of all the goals that are scored. They would like to know in which match which player scored the goals, at what time in the match. For each player they would like to know their first name and position. For each match they would like to know the name of the two teams playing, and have the ability to track scores for a match.
Scenario 2
Taxi owner
As as Taxi Owner I would like to see who is driving my taxis, and on which routes. I would like to know the start and end location for each Route. For each Taxi I would like to know the year, model, the make, and the capacity. For each Driver I need a cellphone number, last name, first name, and their license number.
Scenario 3
Online shopping basket
A friend of yours is selling sports gear online and wants to add an online store to his Web Site. He needs an online shopping basket that users can add products to. Once users checkout, the shopping basket should give the users a full list of products and the total price. Upon checkout it should allow the user to enter their address and calculate a delivery cost for the user. Once the transaction is completed, all the items in the basket should be removed.