Dungeon crawl

im trying to code a simple text based dungeon crawl i am just testing so far and its not working this is what ive got
#include<iostream>
#include<vector>
#include<algorithm>
#include <cstdlib>
#include <time.h>
using namespace std;




void instructions()
{

cout << "Dungeon crawl:" << endl;
cout <<"Use W A S D to move" << endl;
cout << "The objective is to get to the treasure(X)" << endl;
cout <<"While avoiding all traps (T)" << endl;
cout << "Good luck" << endl;
}
/*0 = black
1 = blue
2 = green
3 = aqua
4 = red
5 = purple
6 = yellow
7 = white
8 = grey
9 = light blue
a = light green
b = aqua
c = red
d = purple
e = yellow
f = white*/
void color()
{
cout << "Enter the first letter of the color you want" << endl;

char ch;
cin >> ch;
switch (ch)
{
case 'y':
system("color 6F");
break;
case 'b':
system("color 1F");
break;





default:
cout << "Invalid input" << endl;








}




}
void game(char bored[5][10])
{

for(int row = 0; row <5; row++)
{

for(int collum = 0; collum < 10; collum ++)
{
bored[row][collum] = '.';
}
}
bored[0][0] = 'G';
bored[4][9] = 'X';
for(int row = 0; row <5; row++)
{

for(int collum = 0; collum < 10; collum ++)
{
cout << bored[row][collum];
}
cout << endl;
}

cout << "Play" << endl;

char ch;
cin >> ch;
if(ch == 'd' || ch == 'D')
{
for(int row = 0; row <5; row++)
{

for(int collum = 0; collum < 10; collum ++)
{
if('G' == bored[row][collum])
{
bored[row][collum] = '.';
bored[row][collum+1] = 'G';
}
}
}

}



}
/*void play(char bored [5][10]){
cout << "Play" << endl;

char ch;
cin >> ch;
if(ch == 'd'){
for(int row = 0; row <5; row++){

for(int collum = 0; collum < 10; collum ++){
if('G' == bored[row][collum]){
bored[row][collum] = '.';
bored[row][collum+1] = 'G';
}
}
}

}
}*/












int main()
{
cout << "Welcome to dungeon crawl please follow the instructions" << endl;
char ch;
char bored[5][10];
bool running = true;
int k = 1;
while(running)
{

cout << "[I]nstructions, [C]olour, [S]tart, [E]xit " << endl;
cin >> ch;
switch (ch)
{
case 'I':
system("cls");
instructions();
break;
case 'C':
system("cls");
color();
break;
case 'E':
running = false;
break;
break;
case 'S':
while(bored[4][9]!='G')
{
game(bored);
system("cls");

}
break;
default:
system("cls");
cout << "Invalid input" << endl;






}
k++;
}
return 0;
}
please help! :D
What specificaly is wrong?
What should it do and what dose it do?
Topic archived. No new replies allowed.