This is my code for a recent technical assignment
- Develop a small app that simulates the movement of transport in a simplified manner
- It must be possible to add, start and top means of transportation
- Every vehicle should be able to start and stop
- You can assume that a vehicle is at its full speed immediately
- Everything should be done in a way to allow easy extension later
- Some means of transportation can have extra behaviour. Provide some dummy methods to support this and to extend in the future.
- Try to develop everything in a clean OO manner that demonstrates your knowledge of using classes, inheritance and possibly interfaces.
- Please keep it simple!
- Try to keep to to 2-3 hours of development
- Car – with a speed of 50 meter / second
- Truck – with a speed of 30 meter / second
- Airplane – with a speed of 200 meter / second
- Strengthened my understanding of some OOP principles, as well as using classes + class extension with JS ES6