Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- #include <time.h>
- #define N 22
- #define M 79
- #define TRUE 1
- int firstStage();
- int secStage();
- int thirdStage();
- int fight();
- void start();
- void settings();
- void HowTo();
- void finish();
- char map[N][M];
- int auto_manual;
- int X = 3; // character coordinates
- int Y = 1; // character coordinates
- int t=1; // menu move
- int s=1; //settings move
- char player = 2;
- char boss = '#';
- int PlayerHp=10000;
- int BossHp=10000;
- //int mode = 0;
- int main()
- {
- start();
- firstStage();
- secStage();
- thirdStage();
- }
- int firstStage()
- {
- char player = 2;
- int i,j;
- int stage=0;
- do
- {
- system("cls");
- for (i=0;i<N;i++)
- {
- for (j=0;j<M;j++)
- {
- map[i][j]=0;
- }
- }
- map[0][0]=201;
- map[0][M-1]=187;
- map[N-1][0]=200;
- map[N-1][M-1]=188;
- map[1][1]='S';
- map[1][2]='T';
- map[1][3]='A';
- map[1][4]='G';
- map[1][5]='E';
- map[1][7]='1';
- map[8][20]='#';
- map[4][4]='#';
- map[4][13]='#';
- map[15][24]='#';
- map[13][30]='#';
- map[7][44]='#';
- map[4][4]='#';
- map[4][63]='#';
- map[7][74]='#';
- map[20][66]='#';
- for (i=1;i<M-1;i++)
- map[0][i]=205;
- for (i=1;i<N-1;i++)
- map[i][0]=186;
- map[3][0]=0;
- for (i=1;i<M-1;i++)
- map[N-1][i]=205;
- for (i=1;i<N-1;i++)
- map[i][M-1]=186;
- map[2][0]=204;
- map[2][9]=188;
- map[1][9]=186;
- map[0][9]=203;
- for (i=1;i<9;i++)
- map[2][i]=205;
- for (i=20;i<57;i++)
- {
- map[9][i] = 178;
- map[10][i] = 178;
- }
- for (t=35;t<41;t++)
- for (i=11;i<21;i++)
- {
- map[i][t] = 178;
- }
- for (i=20;i<57;i++)
- map[6][i]=178;
- for (t=1;t<7;t++)
- for (i=20;i<57;i++)
- map[t][i]=178;
- for (t=5;t<13;t++)
- for (i=9;i<19;i++)
- map[i][t]=178;
- for (t=64;t<72;t++)
- for (i=9;i<19;i++)
- map[i][t]=178;
- map[21][76]= 176;
- map[21][75]= 176;
- map[X][Y]=player;
- for (i=0;i<N;i++)
- {
- for (j=0;j<M;j++)
- {
- printf("%c",map[i][j]);
- }
- printf("\n");
- }
- //printf("\nX=%d Y=%d",X,Y);
- char move = getch();
- switch (move)
- {
- case 'S':
- case 's':
- {
- if (map[X+1][Y]=='#')
- {
- fight();
- break;
- }
- if (map[X+1][Y]==(char)176)
- {
- stage=1;
- break;
- }
- else if (map[X+1][Y]!=(char)178 && map[X+1][Y]!=(char)205)
- {
- X++;
- break;
- }
- else
- break;
- }
- case 'W':
- case 'w':
- {
- if (map[X-1][Y]=='#')
- {
- fight();
- break;
- }
- else if (map[X-1][Y]!=(char)178 && map[X-1][Y]!=(char)205 && map[X-1][Y]!=(char)188)
- {
- X--;
- break;
- }
- break;
- }
- case 'A':
- case 'a':
- {
- if (X==3 && Y-1 == 0)
- {
- break;
- }
- if (map[X][Y-1]=='#')
- {
- fight();
- break;
- }
- else if (map[X][Y-1]!=(char)178 && map[X][Y-1]!=(char)186 && map[X][Y-1]!=(char)188)
- {
- Y--;
- break;
- }
- break;
- }
- case 'D':
- case 'd':
- {
- if (map[X][Y+1]=='#')
- {
- fight();
- break;
- }
- else if (map[X][Y+1]!=(char)178 && map[X][Y+1]!=(char)186 && map[X][Y+1]!=(char)188)
- Y++;
- break;
- }
- break;
- }
- }while(stage==0);
- return 0;
- }
- int secStage()
- {
- char player = 2;
- int i,j;
- int stage=0;
- BossHp=13000;
- X=20;
- Y=75;
- do
- {
- system("cls");
- for (i=0;i<N;i++)
- {
- for (j=0;j<M;j++)
- {
- map[i][j]=0;
- }
- }
- map[0][0]=201;
- map[0][M-1]=187;
- map[N-1][0]=200;
- map[N-1][M-1]=188;
- map[1][1]='S';
- map[1][2]='T';
- map[1][3]='A';
- map[1][4]='G';
- map[1][5]='E';
- map[1][7]='2';
- map[8][20]='#';
- map[19][70]='#';
- map[13][61]='#';
- map[3][60]='#';
- map[16][37]='#';
- map[9][47]='#';
- map[15][31]='#';
- map[9][27]='#';
- map[16][18]='#';
- map[13][5]='#';
- map[4][7]='#';
- for (i=1;i<M-1;i++)
- map[0][i]=205;
- for (i=1;i<N-1;i++)
- map[i][0]=186;
- for (i=1;i<M-1;i++)
- map[N-1][i]=205;
- for (i=1;i<N-1;i++)
- map[i][M-1]=186;
- map[2][0]=204;
- map[2][9]=188;
- map[1][9]=186;
- map[0][9]=203;
- for (i=1;i<9;i++)
- map[2][i]=205;
- for (i=4;i<15;i++)
- {
- map[i][10]=178;
- map[i][11]=178;
- map[i][12]=178;
- }
- for (t=8;t<11;t++)
- for (i=10;i<18;i++)
- {
- map[t][i]=178;
- }
- for (t=22;t<57;t++)
- for (i=3;i<5;i++)
- map[i][t]=178;
- for (i=4;i<9;i++)
- for (t=36;t<41;t++)
- map[i][t]=178;
- for (i=4;i<15;i++)
- {
- map[i][68]=178;
- map[i][69]=178;
- map[i][70]=178;
- }
- for (i=8;i<11;i++)
- for (t=63;t<68;t++)
- map[i][t]=178;
- for (i=13;i<20;i++)
- {
- map[i][22]=178;
- map[i][23]=178;
- }
- for (i=13;i<20;i++)
- {
- map[i][54]=178;
- map[i][55]=178;
- }
- for (i=22;i<56;i++)
- {
- map[19][i]=178;
- map[18][i]=178;
- }
- for (i=22;i<31;i++)
- map[12][i]=178;
- for (i=46;i<56;i++)
- map[12][i]=178;
- map[21][75]= 0;
- map[0][10]=176;
- map[0][11]=176;
- map[X][Y]=player;
- for (i=0;i<N;i++)
- {
- for (j=0;j<M;j++)
- {
- printf("%c",map[i][j]);
- }
- printf("\n");
- }
- char move = getch();
- switch (move)
- {
- case 'S':
- case 's':
- {
- if (X+1 == 21 && Y == 75 )
- {
- break;
- }
- if (map[X+1][Y]=='#')
- {
- fight();
- break;
- }
- if (map[X+1][Y]!= (char)205 && map [X+1][Y]!=(char)178)
- {
- X++;
- break;
- }
- break;
- }
- case 'W':
- case 'w':
- {
- if (map[X-1][Y] == (char) 176)
- {
- stage = 1;
- break;
- }
- if (map[X-1][Y] == '#')
- {
- fight();
- break;
- }
- if (map[X-1][Y]!= (char)205 && map [X-1][Y]!=(char)178 && map[X-1][Y]!=(char)188)
- {
- X--;
- break;
- }
- break;
- }
- case 'A':
- case 'a':
- {
- if (map[X][Y-1] == '#')
- {
- fight();
- break;
- }
- if (map[X][Y-1]!= (char)205 && map [X][Y-1]!=(char)178 && map[X][Y-1]!=(char)188 && map[X][Y-1]!=(char)186)
- {
- Y--;
- break;
- }
- break;
- }
- case 'D':
- case 'd':
- {
- if (map[X][Y+1] == '#')
- {
- fight();
- break;
- }
- if (map[X][Y+1]!= (char)205 && map [X][Y+1]!=(char)178 && map[X][Y+1]!=(char)186)
- {
- Y++;
- break;
- }
- break;
- }
- }
- }while(stage==0);
- return 0;
- }
- int thirdStage()
- {
- char player = 2;
- int i,j;
- int stage=0;
- BossHp=15000;
- X=1;
- Y=11;
- do
- {
- system("cls");
- for (i=0;i<N;i++)
- {
- for (j=0;j<M;j++)
- {
- map[i][j]=0;
- }
- }
- map[0][0]=201;
- map[0][M-1]=187;
- map[N-1][0]=200;
- map[N-1][M-1]=188;
- map[1][1]='S';
- map[1][2]='T';
- map[1][3]='A';
- map[1][4]='G';
- map[1][5]='E';
- map[1][7]='3';
- map[8][20]='#';
- map[2][17]='#';
- map[1][33]='#';
- map[3][66]='#';
- map[3][72]='#';
- map[8][20]='#';
- map[11][75]='#';
- map[11][62]='#';
- map[7][59]='#';
- map[12][47]='#';
- map[8][20]='#';
- map[15][40]='#';
- map[12][34]='#';
- map[9][29]='#';
- map[5][18]='#';
- map[4][16]='#';
- map[10][13]='#';
- map[10][3]='#';
- map[19][4]='#';
- map[20][26]='#';
- map[18][13]='#';
- map[19][46]='#';
- map[8][20]='#';
- map[20][60]='#';
- map[18][70]='#';
- map[18][75]='#';
- for (i=1;i<M-1;i++)
- map[0][i]=205;
- for (i=1;i<N-1;i++)
- map[i][0]=186;
- for (i=1;i<M-1;i++)
- map[N-1][i]=205;
- for (i=1;i<N-1;i++)
- map[i][M-1]=186;
- map[2][0]=204;
- map[2][9]=188;
- map[1][9]=186;
- map[0][9]=203;
- for (i=1;i<9;i++)
- map[2][i]=205;
- for (i=2;i<14;i++)
- map[6][i]=178;
- map[5][13]=178;
- for (t=5;t<11;t++)
- for (i=9;i<13;i++)
- map[i][t]=178;
- for (t=68;t<74;t++)
- for (i=9;i<13;i++)
- map[i][t]=178;
- for (i=13;i<66;i++)
- map[4][i]=178;
- map[5][65]=178;
- for (i=65;i<77;i++)
- map[6][i]=178;
- for (i=2;i<14;i++)
- map[15][i]=178;
- map[16][13]=178;
- map[17][13]=178;
- for (i=13;i<66;i++)
- map[17][i]=178;
- map[16][65]=178;
- map[15][65]=178;
- for (i=65;i<77;i++)
- map[15][i]=178;
- map[13][23]=178;
- map[12][22]=178;
- map[11][21]=178;
- map[10][20]=178;
- map[9][21]=178;
- map[8][22]=178;
- map[7][23]=178;
- map[8][24]=178;
- map[9][25]=178;
- map[10][26]=178;
- map[11][25]=178;
- map[12][24]=178;
- map[13][23]=178;
- map[10][21]='F';
- map[10][22]='I';
- map[10][23]='N';
- map[10][24]='A';
- map[10][25]='L';
- map[13][38]=178;
- map[12][37]=178;
- map[11][36]=178;
- map[10][35]=178;
- map[9][36]=178;
- map[8][37]=178;
- map[7][38]=178;
- map[10][36]='F';
- map[10][37]='I';
- map[10][38]='N';
- map[10][39]='A';
- map[10][40]='L';
- map[8][39]=178;
- map[9][40]=178;
- map[10][41]=178;
- map[11][40]=178;
- map[12][39]=178;
- map[13][38]=178;
- map[13][53]=178;
- map[12][52]=178;
- map[11][51]=178;
- map[10][50]=178;
- map[9][51]=178;
- map[8][52]=178;
- map[7][53]=178;
- map[10][51]='F';
- map[10][52]='I';
- map[10][53]='N';
- map[10][54]='A';
- map[10][55]='L';
- map[8][54]=178;
- map[9][55]=178;
- map[10][56]=178;
- map[11][55]=178;
- map[12][54]=178;
- map[13][53]=178;
- map[21][76]= 176;
- map[21][75]= 176;
- map[0][11]=0;
- map[4][2]='#';
- map[X][Y]=player;
- for (i=0;i<N;i++)
- {
- for (j=0;j<M;j++)
- {
- printf("%c",map[i][j]);
- }
- printf("\n");
- }
- char move = getch();
- switch (move)
- {
- case 'S':
- case 's':
- {
- if (map[X+1][Y] == (char)188 || map[X+1][Y] == (char)178 || map[X+1][Y] == (char)205)
- break;
- if (map[X+1][Y] == '#')
- {
- fight();
- break;
- }
- if (map[X+1][Y] == (char) 176)
- {
- stage = 1;
- break;
- }
- X++;
- break;
- }
- case 'W':
- case 'w':
- {
- if (X-1 == 0 && Y == 11 || map[X-1][Y] == (char)188 || map[X-1][Y] == (char)205 || map[X-1][Y] == (char)178)
- break;
- if (map[X-1][Y] == '#')
- {
- fight();
- break;
- }
- X--;
- break;
- }
- case 'A':
- case 'a':
- {
- if (map[X][Y-1] == (char) 178 || map[X][Y-1] == (char) 188 || map[X][Y-1] == (char) 186)
- break;
- if (map[X][Y-1] == '#')
- {
- fight();
- break;
- }
- Y--;
- break;
- }
- case 'D':
- case 'd':
- {
- if (map[X][Y+1] == (char) 178 || map[X][Y+1] == (char) 186)
- break;
- if (map[X][Y+1] == '#')
- {
- fight();
- break;
- }
- Y++;
- break;
- }
- }
- }while(stage==0);
- finish();
- return 0;
- }
- int fight()
- {
- int Q=10,W=26;
- char fightroom[Q][W];
- int i,j;
- int round =1;
- int u,alive=0;
- int damage=0;
- PlayerHp=10000;
- BossHp=10000;
- //rand();
- srand(time(NULL));
- for (i=0;i<Q;i++)
- for (j=0;j<W;j++)
- fightroom[i][j]=0;
- if (auto_manual ==1)
- {
- u=5;
- do
- {
- system("cls");
- fightroom[4][5]=player;
- fightroom[4][21]=boss;
- fightroom[0][0]=201;
- fightroom[0][W-1]=187;
- fightroom[Q-1][0]=200;
- fightroom[Q-1][W-1]=188;
- for (i=1;i<W-1;i++)
- fightroom[0][i]=205;
- for (i=1;i<Q-1;i++)
- fightroom[i][0]=186;
- for (i=1;i<W-1;i++)
- fightroom[Q-1][i]=205;
- for (i=1;i<Q-1;i++)
- fightroom[i][W-1]=186;
- printf("Round: %d",round);
- printf("\n\t\t\tPlayer\t\t Boss");
- printf("\n\n\t\t\t%d\t\t %d",PlayerHp,BossHp);
- printf("\n");
- printf("\n\t\t\t");
- for (i=0;i<Q;i++)
- {
- for (j=0;j<W;j++)
- {
- printf("\%c",fightroom[i][j]);
- }
- printf("\n\t\t\t");
- }
- printf("\n\t\t The fight will be start in %d seconds!",u);
- sleep(1);
- u--;
- }while (u>0);
- }
- do
- {
- if (auto_manual ==1)
- sleep(1);
- system("cls");
- fightroom[4][5]=player;
- fightroom[4][21]=boss;
- fightroom[0][0]=201;
- fightroom[0][W-1]=187;
- fightroom[Q-1][0]=200;
- fightroom[Q-1][W-1]=188;
- for (i=1;i<W-1;i++)
- fightroom[0][i]=205;
- for (i=1;i<Q-1;i++)
- fightroom[i][0]=186;
- for (i=1;i<W-1;i++)
- fightroom[Q-1][i]=205;
- for (i=1;i<Q-1;i++)
- fightroom[i][W-1]=186;
- printf("Round: %d",round);
- printf("\n\t\t\tPlayer\t\t Boss");
- printf("\n\n\t\t\t%d\t\t %d",PlayerHp,BossHp);
- printf("\n");
- printf("\n\t\t\t");
- for (i=0;i<Q;i++)
- {
- for (j=0;j<W;j++)
- {
- printf("\%c",fightroom[i][j]);
- }
- printf("\n\t\t\t");
- }
- printf("\n\n\n\n\n\n\n\t\t Press any key to attack or 'E' to exit...");
- if (auto_manual!=1)
- {
- char move = getch();
- if (move=='E'||move=='e')
- {
- alive=0;
- break;
- }
- }
- system("cls");
- //player ATTACK
- damage = rand()/10;
- BossHp -= damage;
- if (BossHp <= 0 )
- {
- BossHp=0;
- }
- fightroom[4][5]=0;
- fightroom[4][20]=player;
- fightroom[4][6]=0;
- fightroom[4][21]=boss;
- fightroom[0][0]=201;
- fightroom[0][W-1]=187;
- fightroom[Q-1][0]=200;
- fightroom[Q-1][W-1]=188;
- for (i=1;i<W-1;i++)
- fightroom[0][i]=205;
- for (i=1;i<Q-1;i++)
- fightroom[i][0]=186;
- for (i=1;i<W-1;i++)
- fightroom[Q-1][i]=205;
- for (i=1;i<Q-1;i++)
- fightroom[i][W-1]=186;
- printf("Round: %d",round);
- printf("\n\t\t\tPlayer\t\t Boss");
- printf("\n\n\t\t\t%d\t\t %d",PlayerHp,BossHp);
- printf("\n");
- printf("\n\t\t\t");
- for (i=0;i<Q;i++)
- {
- for (j=0;j<W;j++)
- {
- printf("\%c",fightroom[i][j]);
- }
- printf("\n\t\t\t");
- }
- if (damage > 2700)
- {
- printf("\n\t\t\t\tCritical Hit!");
- }
- else if (damage < 600)
- {
- printf("\n\t\t\t\tBlock Shield!");
- }
- else
- printf("\n");
- printf("\n\t\t\t You hit for %d damage!",damage);
- sleep(1);
- system("cls");
- fightroom[4][5]=player;
- fightroom[4][20]=0;
- fightroom[4][6]=0;
- fightroom[4][21]=boss;
- fightroom[0][0]=201;
- fightroom[0][W-1]=187;
- fightroom[Q-1][0]=200;
- fightroom[Q-1][W-1]=188;
- for (i=1;i<W-1;i++)
- fightroom[0][i]=205;
- for (i=1;i<Q-1;i++)
- fightroom[i][0]=186;
- for (i=1;i<W-1;i++)
- fightroom[Q-1][i]=205;
- for (i=1;i<Q-1;i++)
- fightroom[i][W-1]=186;
- printf("Round: %d",round);
- printf("\n\t\t\tPlayer\t\t Boss");
- printf("\n\n\t\t\t%d\t\t %d",PlayerHp,BossHp);
- printf("\n");
- printf("\n\t\t\t");
- for (i=0;i<Q;i++)
- {
- for (j=0;j<W;j++)
- {
- printf("\%c",fightroom[i][j]);
- }
- printf("\n\t\t\t");
- }
- if (damage > 2700)
- {
- printf("\n\t\t\t\tCritical Hit!");
- }
- else if (damage < 600)
- {
- printf("\n\t\t\t\tBlock Shield!");
- }
- else
- printf("\n");
- printf("\n\t\t\t You hit for %d damage!",damage);
- //BOSS ATTACK
- sleep(1);
- if (BossHp==0)
- {
- alive = 1;
- break;
- }
- system("cls");
- damage = rand()/10;
- PlayerHp -= damage;
- if (PlayerHp <= 0 )
- {
- PlayerHp=0;
- }
- fightroom[4][5]=player;
- fightroom[4][20]=0;
- fightroom[4][21]=0;
- fightroom[4][6]=boss;
- fightroom[0][0]=201;
- fightroom[0][W-1]=187;
- fightroom[Q-1][0]=200;
- fightroom[Q-1][W-1]=188;
- for (i=1;i<W-1;i++)
- fightroom[0][i]=205;
- for (i=1;i<Q-1;i++)
- fightroom[i][0]=186;
- for (i=1;i<W-1;i++)
- fightroom[Q-1][i]=205;
- for (i=1;i<Q-1;i++)
- fightroom[i][W-1]=186;
- printf("Round: %d",round);
- printf("\n\t\t\tPlayer\t\t Boss");
- printf("\n\n\t\t\t%d\t\t %d",PlayerHp,BossHp);
- printf("\n");
- printf("\n\t\t\t");
- for (i=0;i<Q;i++)
- {
- for (j=0;j<W;j++)
- {
- printf("\%c",fightroom[i][j]);
- }
- printf("\n\t\t\t");
- }
- if (damage > 2700)
- {
- printf("\n\t\t\t\tCritical Hit!");
- }
- else if (damage < 600)
- {
- printf("\n\t\t\t\tBlock Shield!");
- }
- else
- printf("\n");
- printf("\n\t\t\tBoss hit you for %d damage!",damage);
- sleep(1);
- system("cls");
- round++;
- fightroom[4][5]=player;
- fightroom[4][20]=0;
- fightroom[4][21]=boss;
- fightroom[4][6]=0;
- fightroom[0][0]=201;
- fightroom[0][W-1]=187;
- fightroom[Q-1][0]=200;
- fightroom[Q-1][W-1]=188;
- for (i=1;i<W-1;i++)
- fightroom[0][i]=205;
- for (i=1;i<Q-1;i++)
- fightroom[i][0]=186;
- for (i=1;i<W-1;i++)
- fightroom[Q-1][i]=205;
- for (i=1;i<Q-1;i++)
- fightroom[i][W-1]=186;
- printf("Round: %d",round);
- printf("\n\t\t\tPlayer\t\t Boss");
- printf("\n\n\t\t\t%d\t\t %d",PlayerHp,BossHp);
- printf("\n");
- printf("\n\t\t\t");
- for (i=0;i<Q;i++)
- {
- for (j=0;j<W;j++)
- {
- printf("\%c",fightroom[i][j]);
- }
- printf("\n\t\t\t");
- }
- if (damage > 2700)
- {
- printf("\n\t\t\t\tCritical Hit!");
- }
- else if (damage < 600)
- {
- printf("\n\t\t\t\tBlock Shield!");
- }
- else
- printf("\n");
- printf("\n\t\t\tBoss hit you for %d damage!",damage);
- if (PlayerHp<=0)
- {
- alive = 2;
- break;
- }
- }while (alive == 0);
- if (alive == 1)
- {
- system("cls");
- printf("Nice you won! Go ahead now!");
- printf("\n\n\n\tYou will be moved in the map in 3 seconds!");
- sleep(3);
- }
- else
- {
- system("cls");
- printf("Oh... You lost!");
- printf("\n\n\n\tYou will be moved in the map in 3 seconds!");
- sleep(3);
- }
- }
- void start()
- {
- do
- {
- system("cls");
- printf("\n\n\n\t\t\t\t %c\n\n\t\t\t\t %c\n\n\n\t\t\t ",24,25);
- if (t==1)
- {
- printf("-> Start <-\n\n\t\t\t\t");
- printf(" Settings \n\n\t\t\t");
- printf(" How to play ");
- }
- else if (t==2)
- {
- printf(" Start\n\n\t\t\t");
- printf(" -> Settings <-\n\n\t\t\t");
- printf(" How to play ");
- }
- else if (t==3)
- {
- printf(" Start\n\n\t\t\t");
- printf(" Settings \n\n\t\t\t");
- printf(" -> How to play <-");
- }
- char move = getch();
- if (move == 72 && t!=1)//up
- t--;
- if (move == 80 && t!=3)//down
- t++;
- if (move == 13 && t == 2)//enter
- settings();
- if (move == 13 && t==1 )
- {
- t=0;
- }
- if (move == 13 && t==3 )
- {
- HowTo();
- }
- }while (t!=0);
- }
- void settings()
- {
- char move;
- do
- {
- system("cls");
- printf("\n\n\n\n\n\n\n\n\t\t ");
- if (s==1)
- {
- printf("Automatic boss fights : [Auto] Manual");
- }
- else if (s==2)
- {
- printf("Automatic boss fights : Auto [Manual]");
- }
- move = getch();
- if (move == 75 && s==2)//left
- s=1;
- else if (move == 77 && s==1)//right
- s=2;
- if (move == 13 && s==1)
- {
- auto_manual=1;
- break;
- }
- if (move == 13 && s==2)
- {
- auto_manual=2;
- break;
- }
- }while (t!=0);
- }
- void HowTo()
- {
- system("cls");
- printf("\tWhen the game start you can move by the 'W' , 'S' , 'A' , 'D' keys\n");
- printf("\t\t\tto go Up , Down , Left , Right.\n");
- printf("\tYou have to go in the finish door to complete the current stage,\n");
- printf("\t take care about the bosses that are arround in the map.\n");
- printf("\t\tIf your move is on the boss you will fight!\n");
- printf("\tAt settings you can choose about the fight mode ( Manual or Auto ).\n\t\t\t Suggested option Auto.\n");
- printf("\n\n\t\t\t\tGood Luck!");
- getch();
- }
- void finish()
- {
- printf("\n\n\n\n\n\n\n\n\t\t\tWell Played! You finished the game!\n\n\n\n\n\t\t\t\tPress any key ...");
- }
Add Comment
Please, Sign In to add comment