I got carried away with Ex.20

I spent more time than I should have on the text based adventure game. I’m adding a link just in case anyone feels like playing through it to justify the unreasonable amount of time I spent on it. One thing that I ended up having to create was a special function that checked hp was greater than zero, then moved to the next line if it was, or gave a custom death message and ended the game if not.

https://drive.google.com/file/d/19dW28Y49qK2keok5qyd53Cvt6iis-4t_/view?usp=sharing

Wow, good writing! I enjoyed the short journey, and I’ll definitely give it another go to explore the other choices. It’s fascinating how fantasy readily creates rich images from just words. Way to go!

Why don’t you make a simple browser frontend and host this somewhere?

Thanks for the feedback :slight_smile:
I’m strongly considering it as a weekend project or something, perhaps expanding and adding more as I learn.

A free service run by Zed A. Shaw for learncodethehardway.org.