Pseudocode Redux

Hi there, just throwing my pseudocode.
Is it clear enough? Feedback is always appreciated.

//BeginPlay()
    //Print welcome message
    PrintLine(TEXT("Welcome to Bulls and Cows!"));

    //Set lives
    HiddenWord = TEXT("isogram"); //Choose hidden word (remove hardcode)
    //Assign HiddenWord from a list of isograms

    PrintLine(TEXT("Type here with your keyboard try and guess the hidden word!\n")); //Ask for a guess
    
    //Store number of letters from HiddenWord
    PrintLine(TEXT("HINT This is a 4 letter word"));  //Replace magic number with number of letters

//OnInput(FString Input)
    ClearScreen(); 
    PrintLine(Input); 

    //Check If it is an isogram
        //If not ask the player to type a valid isogram
        //return;
    //Convert Input to lowercase
    if(Input == HiddenWord)
        PrintLine(TEXT("This is indeed the correct word."));
        //Display Winnning Message
        //Ask to PlayAgain 
        //PlayAgain or Quit
    else
        //Lose 1 life
        //If(lives < 0)
            //Show GameOver and HiddenWord
            //Ask to PlayAgain
            //PlayAgain or Quit
        //Else
            PrintLine(TEXT("Try again. This is not the correct word."));
            //Ask player to try another word
1 Like

Looks really good! You did a great job!

Privacy & Terms