Home > Back-end >  Pushing more levels, part of the code is such, want to achieve more, but I finished the clearance in
Pushing more levels, part of the code is such, want to achieve more, but I finished the clearance in

Time:10-03

Int main ()
{
Int map [14] [16].
For (int n=1; N <44; N++)
{
The use ();
Gameover ();
}
Printf (" gameover ");
return 0;
}
Void gameover ()
{
Int map [14] [16].
Int symbol;
for(int i=0; I <14; I++)
{
for(int j=0; J <16; J++)
{
If (map [I] [j].=52)
{
Printf (" Moving onto the next level ");
Symbol=1;
break;
}
}
If (symbol==1)
{
break;
}
}
return;
}
Void the use ()
{
int n;
Int map [14] [16].
ReadMap (map, n);
While (1)
{
PrintMap (map);
KeyDown (map);
system("cls");
}
system("pause");
return;
}
  • Related