But yeah, it looks a lot like a C program - which is maybe why I even looked at it in the first place.. ;)
*** TEXTGAME1.CPP ***
VERSION 1.0 OF TEXTGAME
Written by lightatdawn
This is the basic framework for starting a simple text based game.
There are many different methods I can think of to do this, but
this is the method I picked. I will work from this stage to a much
more advanced stage in later versions.
You cant win or do anything except walk around in this version. Get
familiar with the framework cuz its gonna get loaded in version 2.0.
*** GENERAL NOTES ***
I am going to comment EVERYTHING to make it easy to understand.
I'm making this program in a Win32 Console platform. If it doesnt function
right on your compiler... Ugg... (It should though.)
I'm also not going to use cout or cin. It will be replaced by printf and gets.
Hope this doesnt pose a problem, its just that i like printf...
Our WORLD is set up in a grid. The grid is 3 squares by 3 squares: