0
votes
1answer
134 views

Need help thinking of a way to code a text parser

Apologies if this has been asked before, or if it is a bit too simple for this forum. I'm new to C++ and as one of my first projects I have decided to try a textual adventure. Step 1: the text parser. ...
8
votes
2answers
244 views

Using Editline for an in-game console

I'd like to add an in-game console to a C++ game that I am creating. Although rendering the console and parsing the commands I'm fine with, the text input and editing aspect (e.g. handling left / ...
3
votes
3answers
313 views

How to remove text from a command line box?

I'm currently writting a text based game and am currently having a slight issue where all of the text on the screen keeps going up and have had a couple of the testers complaining that it makes the ...
2
votes
1answer
259 views

Choose your own adventure console program

I'm new to programming and am writing a choose your own adventure game in C++ and am having trouble with exiting the program. The way I have it set up is I am using functions as the different pages. ...
10
votes
1answer
328 views

How can I store spell & items using a std::vector implementation?

I'm following along with a book from GameInstitute right now, and it's asking me to: Allow the player to buy and carry healing potions and potions of fireball. You can add an Item array (after ...