Business Requirement

AC1: A car can show message with name and speed when speedup like: Cool Car: speed up 30 km/h

AC2: A truck can show message with name and speed when speedup like: Big Truck: speed up 10 km/h

AC3: A driver can drive multiple types of vehicles, and can show message with name and speed when speedup

  1. when drive a car the message is: Cool Car: speed up 30 km/h
  2. when drive a truck the message is: Big Truck: speed up 10 km/h

AC4: The speed of the car depends on the engine, with gasoline engine the speed is 30 km/h, and with electric engine the speed is 25 km/h.

Practice Requirement

  1. Implement the business requirement one by one, every requirement should commit at least once.
  2. Commit message should look like this: "feat: create car class that can show message when speedup."