TripleX Text Adventure Exercise

Hello, everyone!

I am following along in the Unreal C++ Developer course and I’ve applied a sci-fi fantasy spin to the TripleX text adventure game.

On correct guess:

On incorrect guess:
image

I will continue to update this thread as I post additional updates to this starter app.

1 Like

Version 1.2.1

I’ve added ASCII art and prettied up the welcome message with a border.

The corners are much harder to make than I thought. If you’d like to see the code snippet I used, I’ll include it below:

// Print out an introductory story message to the players
std::cout << (char)218 << "-----------------------------------------------------------------------------------------" << (char)191 << "\n";
std::cout << "| Your text here                                                                                  |\n";
std::cout << "| More text here                                                                                  |\n";
std::cout << (char)192 << "-----------------------------------------------------------------------------------------" << (char)217 << "\n\n";
1 Like

Wow this is super cool!! Great work! :grin:

1 Like

Privacy & Terms