Skip to content

ralake/FAAST

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 

Repository files navigation

FASST

Code Climate

Makers Academy Week 1 Challenge

Brief

The mayor of London has been really impressed by your work on the boris bikes project.

He has contacted the Greater London Authority to access the Transport for London Software Development and Deployment specifications for the new FAAST Tube System ( Fast And Accessible Super Tube). Your task, if you choose() to accept it is to implement the *FAAST system so that it can be deployed into the London underground network.

The FAAST system will cater for the following:

There will be a number of trains inside the system. Trains will travel from station to station. Inside of a station, when the train stops, passengers will alight and enter the carriages of the train. A Passenger will touch in at the station and touch out at the destination station. Each coach of a train can hold up to 40 passengers. Each train is made of a number of coaches.

NB - I elected not to create a carriage class as it seemed that the carriage was just responsible for having a set capacity, not allowing the passengers onto the train.

Passenger

Responsibilities Collaborators
board & alight trains station
enter and exit stations train
touch in & out
pay for the service

Train

Responsibilities Collaborators
receive and release passengers passenger
enter and exit stations train
vary its capacity

Station

Responsibilities Collaborators
receive and release passengers passenger
receive and release trains train
vary its capacity for trains and passengers

About

Makers Academy Week 1 Challenge

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages