Need help with game im trying to write

#include <iostream>
#include <windows.h>

using namespace std;

char Map[10][10] = {"#########",
"#@ #",
"# #",
"# #",
"# #",
"# #",
"# #",
"# #",
"# #",
"#########"};


int Gamespeed = 100;
int Level = 0;
bool stopgame = false;

int main()
{
while(stopgame == false)
{
system ("cls")
for (int y = 0; y < 10; y++)
{
cout << Map[y] << endl;

}
I get errors when trying to compile it
Please add code tags. See the <> to the right when you are creating or editing your message.

Pick an indentation style and use it. If you do, you will see some errors.

What in the while loop will change the value of stopgame?

After you have done the above, what errors are you still getting? Make sure to copy and paste the full error so the line number is included.
Last edited on
Topic archived. No new replies allowed.