My text based game - feedback appreciated!

I have made my first text based game in c++, and it is quite long(805 lines). I have taken some time to debug and make the code more readable. If anyone who tries it discovers any bugs/find some way to make the code more readable, please reply. Any feedback is appreciated!

game: https://rapidshare.com/files/990821044/MyTextBasedRPG.exe

source code: https://rapidshare.com/files/3189361710/MyTextBasedRPG.cpp

Thanks!
Last edited on
The beginning where you pick skillpoints has absolutely no instructions and I don't really know how to get past this.
If I type in the wrong character at the start, the program flips out and I cant play anymore. Use
1
2
3
else {
cout<<"Incorrect key!"<<endl;
}


I'll take a look at the source code now.
opiop65, you write how manny skillpoints that you want to put on each skill, at a macimum of two, example:

Pick two skillpoints
How many skillpoints do you want to put on endurance? 0
How many skillpoints do you want to put on fighting? 1
How many skillpoints do you want to put on magic? 1
How many skillpoints do you want to put on speaking? 0


As long as you just write numbers, there shouldn't be any problems.
Last edited on
Pretty good. I'd put a boss zombie after a little while to make it more interesting.


Also, use a char when there are only two options like at the magician: "Would you like to train your magic? Enter y/n: "
lets say that you called the char char cMagician. Then you could put:
1
2
3
4
5
6
else
{
if (cMagician != 'y' || 'n')
{
continue;
} 

put a loop there and it would work.
Last edited on
Topic archived. No new replies allowed.