nss-evening-cohort-18 / Trestlebridge-Will

0 stars 0 forks source link

Account for Capacity for Plants #70

Closed sarahemaginnis closed 2 years ago

sarahemaginnis commented 2 years ago

When a user purchases plants and then chooses a field to plant them in then capacity should be accounted for. If the user chose to place them in a location that would be over capacity if they were placed there, display a message and show the menu again.

**** That facililty is not large enough ****
****     Please choose another one      ****

1. Plowed Field (8 rows of plants)
2. Plowed Field (5 rows of plants)
3. Natural Field (0 rows of plants)

Where would you like to plant the Sunflowers?
> _