My Pseudo Code - First try

 /*
    inside of "isInput Correct"
    Method: (void?) LostLife(): (Life--) -> Substract & Check Life 
    
    If (life != 0)
        Method: (void?) LostLife(): printLine(Text(You have lost a life try again)) -> Substract & Check Life
        Method: (int?) CheckBuC(): -> Check B&C return value as INT? Value(2,3)
                        If( Hidden word has B&C inside)
                            Show B&C
                        else 
                            NO B&C 
    else
        Method: (void?) LostLife(): printLine(Text(Life is 0. You Lost)) -> Substract & Check Life
    */

   // Wanna play again? If yes -> Play again 
   // Wanna quit? If yes -> Boom**strong text**
1 Like

How do you feel about your pseudo code? do you fully understand what is going on?

Privacy & Terms