As a user, I want to see a quadrant that will allow me to make my tamagotchi sleep.
AC
Dev Notes
The Sleep component should appear in the lower right quadrant. It should have a private variable called energy. This variable should be set to 50 on page load.
This module should have 2 buttons.
One should be for a nap and should add 50 to energy when pressed.
The other button should be for a deep slumber and add 60 to sleep when pushed.
The quadrant should display the name, energy score, and the two buttons. Each time a button is clicked the quadrant should be re-drawn to show the correct energy score. The Energy score should NEVER be larger than 100.
User Story
AC
Dev Notes
The quadrant should display the name, energy score, and the two buttons. Each time a button is clicked the quadrant should be re-drawn to show the correct energy score. The Energy score should NEVER be larger than 100.