[Feature 5] User wants to buy heart(s) for the Pet
Closed this issue · 0 comments
harshsbajwa commented
The user clicks on a certain empty heart to buy hearts.
The program calculates the amount of points needed, and displays the amount.
The user purchase hearts based on their choice if they have enough points, or purchase as much as they can afford. Hearts bought get displayed as filled hearts, and points get deducted.
If the user fails to buy any heart, a notification “No Enough Points” gets displayed on the screen.