|
Hi, Im in need of help quick!
Im meant to make a game by monday. I have done most of the code, but i need some sort of navigation system.
I know i should use arrays to do this...how can i?
some sudo code:
//sudo code;
//navigation system;
int i,j,k,l = 0;
char cells[5,5];
do
{
do{
name [i,j] = "e";//earth, add paths through the earth
i++
}while (i<=5);
j ++;
}while (j<=5);
name[0,0] = "s"
current = k;
k++;
//if (room[k,l]=="e")
|
|
|
|
|
|
|
|