Feeding & Playing

Button A Pressed
    if  Hungry = True
        set Happy = True
        show a "food" icon (or a check mark)
        set Hungry = False
        Else  If Hungry = False
            Unhappy Timer = Unhappy Timer + 50
            show an X
Button B Pressed
    Bothered = random number between 1 and 3
    //This is a new variable that you should set to 2 when starts
    If bothered = 1
        Unhappy  Timer = Unhappy Timer - 50
        Show a angry face
        Else
            Unhappy Timer = Unhappy Timer  + 10
            Show a Heart

Last updated