Text Based RPG's are really simple as well as a fun task/project to do.
Before you begin, you should have basic knowledge of C++, that means you should know quite a bit about loops, functions, arrays, switch statements(very important in RPG's), cin and cout(or getline), and maybe some classes, as well as some pointers.
If you really want a nice looking RPG, you may want to add a save game feature(Hint: Look into files.. you'll probably also need a load game feature as well, if you choose to do this).
1. Make Some ASCII Art As A Title For Your RPG
2. Make A Menu System(Play Game, Exit, etc)
3. Make Some Type of Error System, so that if the user enters invalid input, it'll notify the user and ask him/her to try again.
4. Challenge: Instead of using numbers: Try to get textual input from the user
For Example:
Will you go left or right?
> Right
You Go Right |
5. Anything else you can think of.
Good Luck.