Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 1.14 KB

README.md

File metadata and controls

17 lines (13 loc) · 1.14 KB

Comparison

In Lab 1, to make necessary changes for Gumball Machine to support three different scenarios mentioned, I have made changes in the constructor to accept cost and type of coins that Machine can Accept. If there are additional features to support then it would cause problems

In Lab 10, Features are modeled using AOP. With the help of features and constraints on it, it is now easy to accomodate new features. Required configurations are maintained using default.config file.

Results

GumballMachineV1

GumballMachineV1_C25_Q25.png GumballMachineV1_C50_QTR50.png GumballMachineV1_C50_COINS50.png

GumballMachineV2

GumballMachineV2_CRANKMODEL_ONEQTR_COST25.png GumballMachineV2_CRANKMODEL_TWOQTR_COST50.png GumballMachineV2_SLOTMODEL_COST25.png GumballMachineV2_SLOTMODEL_COST50.png