GIVE ME YOUR CODE
Not really. Anyways, I'm looking to create a program that simulates dialog. Why? For my own personal amusement of course. *pets evil cat*
I've been jumping around languages until I find one that works. All I've learned is that I suck at every one of them. I have a good feeling about C++ though. Well, maybe. I'd like the main program to simply be a reference point to call other objects where the actual dialog is contained, like the program's town square. I'd like it to have two boxes, the bottom one for choices the user can... well, choose... and the top for the reply.
Now, obviously, the most important part would be those objects. I'd like it to contain both the choices and the corresponding dialog.
Reply Box: What are you doing here?
Choice Box: Waiting for Amanda / None of your business / Enjoying the coffee
if the user chooses to say he's waiting for Amanda...
Reply Box: Why are you waiting for her?
Choice Box: We've been sneaking around behind your back / None of your business / Did I say Amanda? I meant Emily
if the user chooses to say none of your business, then object 2 is loaded....
if the user chooses to say he meant Emily, then object 3 is loaded...
Reply Box: I think it is my business. She's a close friend.
Choice Box: Now she's my close friend too, if you know what I'm saying / There's nothing wrong with having another friend to rely on / I thought you two were done for
It would go on from there.
I hope I've been clear here. If I haven't, just tell me and I'll try again. What resources can you suggest that would help me to successfully complete this project? This is probably the easiest thing in the world to accomplish, amirite?