Um..I was wondering how would you be able to create a text base game? Like an RPG style, not an online one, but I guess one that you play by yourself?
Also, games like Tic-Tac-Toe, would they need to be made with stuff like OpenGL/DirectX?
Um..I was wondering how would you be able to create a text base game? Like an RPG style, not an online one, but I guess one that you play by yourself?
Also, games like Tic-Tac-Toe, would they need to be made with stuff like OpenGL/DirectX?
Tic-tac-toe can be done entirely with text.
Anyway, for a text adventure, you need cout, some variables, some if statements, and things like that. If you've gotten past "Hello World" I suppose you should be able to at least program in displaying the first room of your text adventure... then you'll need to prompt the user for input. Check out the FAQ for more info on that. (Programming FAQ link at the bottom of this page)
Away.
Text based games are realitivley easy to program. All you need is a basic understanding of the cout, cin, and if functions. You also need some variables. My first text-based game was a dnd style rpg that had no battles, but after i became proficient with random number generators i could get dice rolls and things.
I'm currently working on a text-based rpg, I can help with many apsects of it (I have a fight engine), you can contact me:
Aim Nemesis2Darkness
msn [email protected]
There is an example (of a text-based-rpg) at <a href="http://www.gametutorials.com">gametutorials.com</a>