Skip to content

Tr1ckX/FAAST_Week-1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FAAST


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

Expectations:

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


Class - Oyster

Responsiblities Collaborators
Track credit's amount

Class - Passenger

Responsiblities Collaborators
Buys & topups card Oyster
Touches in&out to/from station

Class - Coach

Responsiblities Collaborators
Transport passengers from/to staion

Class - Station

Responsiblities Collaborators
Enter/Exit passenger to/from station Passenger
Board/Alight passenger to/form coach Coach
Sends coach to next station
Deploy coach

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages