BullCow Wrapup (Extra Features)

Hi, the extra feature I decided to implement was printing the character values of the bulls to the character each guess.

I figured out how to print the values, but am wondering if anyone had any insight as to how I could print the values horizontally rather than vertically.
image

This is where I am calling the hint function, “ProcessHintMessage”

This is both the implmentation of printing the processed hint, as well as filling the array with the current hint.
image

PrintLine adds a newline to the end. You can use FString::Join to join your array using a separator and then print that.

FString Joined = FString::Join(CurrentHint, TEXT(", "));
PrintLine(Joined);

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms