Question: You've been tasked with creating the class architecture for our new game, Extreme Gardening. In the game, the player will grow flowers and sell them

You've been tasked with creating the class architecture for our new game, "Extreme Gardening". In the game, the player will grow flowers and sell them to customer NPCs. Given the following descriptions, we need a class architecture that meets the following criteria and covers the core loop of purchasing seeds -> growing flowers -> selling flowers -> buying plots/seeds We need: -Daisies: Come in just yellow, are sold for a small profit - Roses: Come in red, yellow, or pink and can be sold for a medium profit - Venus Fly Trap: A rare, green, flower that can be sold for a large profit - Seeds: The player can buy these, and the player knows which seed will grow which flower before purchasing - Plots: Each plot can only grow one flower, the player can purchase more plots in the store - Shop: Where the player can buy seeds and sell their flowers Please provide your answer in this header as a set of abstract classes. (Ctrl)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
