maggieisgreene / tamagotchi

0 stars 0 forks source link

Fight Module #4

Open maggieisgreene opened 5 years ago

maggieisgreene commented 5 years ago

User Story

As a user, I should see a leveler of set to 100 and two buttons that say Run Away and Commit Violence in the bottom lefthand corner. When each button is clicked, the correct amount should be added to the leveler: add one for running away and subtract ten for committing violence.

AC

WHEN the page loads THEN a private variable should be set to 100 called strength AND there should be two buttons: Run Away and Commit Violence AND when clicked, the running away button should add one to the private variable AND the committing violence button should subtract ten.

Dev Notes

maggieisgreene commented 5 years ago

image