First week Challenge at [Makers Academy](http://www.makersacademy.com)
Design an underground train network using the learnt skills and the SOLID principles.
You can find this week's projects here and here
The system must contain trains
Trains travel from station to station
Inside the stations, passengers must be able to alight and board the train
A passenger must 'touch in' and 'touch out' of their station
Each coach maximum capacity is 40 passenger
Each train has a number of coaches
As a bonus - charging system -> passengers can touch in with more than £2 credit
Responsiblities | Collaborators |
---|---|
Track credit's amount |
Responsiblities | Collaborators |
---|---|
Buys & topups card | Oyster |
Touches in&out to/from station |
Responsiblities | Collaborators |
---|---|
Transport passengers from/to staion |
Responsiblities | Collaborators |
---|---|
Enter/Exit passenger to/from station | Passenger |
Board/Alight passenger to/form coach | Coach |
Sends coach to next station | |
Deploy coach |