===========================================================================
CODING
#include<iostream.h>
#include<dos.h>
#include<conio.h>
#include<stdio.h>
#include<process.h>
void main()
{
int abcd,ordinate,abssisca,space,add,hint=0;
char choice;
clrscr();
clrscr();
textcolor(YELLOW);
for(abssisca=2;abssisca<=80;abssisca++)
{
for(ordinate=2;ordinate<=24;ordinate++)
{
gotoxy(abssisca,ordinate);
cprintf("█");
}
}
for(ordinate=13,add=13;add<=23;ordinate--,add++)
{
for(abssisca=3;abssisca<=79;abssisca++)
{
gotoxy(abssisca,ordinate);
cprintf(" ");
}
for(abssisca=3;abssisca<=79;abssisca++)
{
gotoxy(abssisca,add);
cprintf(" ");
}
delay(300);
}
for(ordinate=2;ordinate<=24;ordinate++)
{
for(abssisca=2;abssisca<=80;abssisca=abssisca+78)
{
gotoxy(abssisca,ordinate);
cprintf("█");
}
}
textcolor(10);
for(abssisca=4,ordinate=4;;abssisca=space+abssisca)
{
choice=getch();
if(choice=='\\')
goto label;
space=7;
switch(choice)
{
case 65: gotoxy(abssisca,ordinate);
cprintf("█████");
gotoxy(abssisca,ordinate+1);
cprintf("█ █");
gotoxy(abssisca,ordinate+2);
cprintf("█████");
gotoxy(abssisca,ordinate+3);
cprintf("█ █");
gotoxy(abssisca,ordinate+4);
cprintf("█ █");
break;
case 97: gotoxy(abssisca,ordinate);
cprintf("█████");
gotoxy(abssisca,ordinate+1);
cprintf(" █");
gotoxy(abssisca,ordinate+2);
cprintf("█████");
gotoxy(abssisca,ordinate+3);
cprintf("█ █");
gotoxy(abssisca,ordinate+4);
cprintf("█████");
break;
case 66: gotoxy(abssisca,ordinate);
cprintf("████ ");
gotoxy(abssisca,ordinate+1);
cprintf("█ █");
gotoxy(abssisca,ordinate+2);
cprintf("████ ");
gotoxy(abssisca,ordinate+3);
cprintf("█ █");
gotoxy(abssisca,ordinate+4);
cprintf("████ ");
break;
case 98: gotoxy(abssisca,ordinate);
cprintf("█ ");
gotoxy(abssisca,ordinate+1);
cprintf("█ ");
gotoxy(abssisca,ordinate+2);
cprintf("█████");
gotoxy(abssisca,ordinate+3);
cprintf("█ █");
gotoxy(abssisca,ordinate+4);
cprintf("█████");
break;
case 67: gotoxy(abssisca,ordinate);
cprintf("█████");
gotoxy(abssisca,ordinate+1);
cprintf("█ ");
gotoxy(abssisca,ordinate+2);
cprintf("█ ");
gotoxy(abssisca,ordinate+3);
cprintf("█ ");
gotoxy(abssisca,ordinate+4);
cprintf("█████");
break;
case 99: gotoxy(abssisca,ordinate);
cprintf(" ");
gotoxy(abssisca,ordinate+1);
cprintf("█████");
gotoxy(abssisca,ordinate+2);
cprintf("█ ");
gotoxy(abssisca,ordinate+3);
cprintf("█ ");
gotoxy(abssisca,ordinate+4);
cprintf("█████");
break;
case 68: gotoxy(abssisca,ordinate);
cprintf("████ ");
gotoxy(abssisca,ordinate+1);
cprintf("█ ██");
gotoxy(abssisca,ordinate+2);
cprintf("█ █");
gotoxy(abssisca,ordinate+3);
cprintf("█ ██");
gotoxy(abssisca,ordinate+4);
cprintf("████ ");
break;
case 100: gotoxy(abssisca,ordinate);
cprintf(" █");
gotoxy(abssisca,ordinate+1);
cprintf(" █");
gotoxy(abssisca,ordinate+2);
cprintf("█████");
gotoxy(abssisca,ordinate+3);
cprintf("█ █");
gotoxy(abssisca,ordinate+4);
cprintf("█████");
break;
case 69: gotoxy(abssisca,ordinate);
cprintf("█████");
gotoxy(abssisca,ordinate+1);
cprintf("██ ");
gotoxy(abssisca,ordinate+2);
cprintf("█████");
gotoxy(abssisca,ordinate+3);
cprintf("██ ");
gotoxy(abssisca,ordinate+4);
cprintf("█████");
break;
case 101: gotoxy(abssisca,ordinate);
cprintf("█████");
gotoxy(abssisca,ordinate+1);
cprintf("█ █");
gotoxy(abssisca,ordinate+2);
cprintf("█████");
gotoxy(abssisca,ordinate+3);
cprintf("█ ");
gotoxy(abssisca,ordinate+4);
cprintf("█████");
break;
case 70: gotoxy(abssisca,ordinate);
cprintf("█████");
gotoxy(abssisca,ordinate+1);
cprintf("██ ");
gotoxy(abssisca,ordinate+2);
cprintf("█████");
gotoxy(abssisca,ordinate+3);
cprintf("██ ");
gotoxy(abssisca,ordinate+4);
cprintf("██ ");
break;
case 102: gotoxy(abssisca,ordinate);
cprintf(" ███");
gotoxy(abssisca,ordinate+1);
cprintf(" █ ");
gotoxy(abssisca,ordinate+2);
cprintf("█████");
gotoxy(abssisca,ordinate+3);
cprintf(" █ ");
gotoxy(abssisca,ordinate+4);
cprintf("███ ");
break;
case 71: gotoxy(abssisca,ordinate);
cprintf("█████");
gotoxy(abssisca,ordinate+1);
cprintf("█ ");
gotoxy(abssisca,ordinate+2);
cprintf("█ ███");
gotoxy(abssisca,ordinate+3);
cprintf("█ █");
gotoxy(abssisca,ordinate+4);
cprintf("█████");
break;
case 103: gotoxy(abssisca,ordinate);
cprintf(" ████");
gotoxy(abssisca,ordinate+1);
cprintf("█ █");
gotoxy(abssisca,ordinate+2);
cprintf(" ████");
gotoxy(abssisca,ordinate+3);
cprintf("█ █");
gotoxy(abssisca,ordinate+4);
cprintf("█████");
break;
case 72: gotoxy(abssisca,ordinate);
cprintf("█ █");
gotoxy(abssisca,ordinate+1);
cprintf("█ █");
gotoxy(abssisca,ordinate+2);
cprintf("█████");
gotoxy(abssisca,ordinate+3);
cprintf("█ █");
gotoxy(abssisca,ordinate+4);
cprintf("█ █");
break;
case 104: gotoxy(abssisca,ordinate);
cprintf("█ ");
gotoxy(abssisca,ordinate+1);
cprintf("█ ");
gotoxy(abssisca,ordinate+2);
cprintf("████ ");
gotoxy(abssisca,ordinate+3);
cprintf("█ ██");
gotoxy(abssisca,ordinate+4);
cprintf("█ █");
break;
case 73: gotoxy(abssisca,ordinate);
cprintf("█████");
gotoxy(abssisca,ordinate+1);
cprintf(" █ ");
gotoxy(abssisca,ordinate+2);
cprintf(" █ ");
gotoxy(abssisca,ordinate+3);
cprintf(" █ ");
gotoxy(abssisca,ordinate+4);
cprintf("█████");
break;
case 105: gotoxy(abssisca,ordinate);
cprintf(" ██ ");
gotoxy(abssisca,ordinate+1);
cprintf(" ");
gotoxy(abssisca,ordinate+2);
cprintf(" ██ ");
gotoxy(abssisca,ordinate+3);
cprintf(" ██ ");
gotoxy(abssisca,ordinate+4);
cprintf(" ████");
break;
case 74: gotoxy(abssisca,ordinate);
cprintf("█████");
gotoxy(abssisca,ordinate+1);
cprintf(" █ ");
gotoxy(abssisca,ordinate+2);
cprintf(" █ ");
gotoxy(abssisca,ordinate+3);
cprintf("█ █ ");
gotoxy(abssisca,ordinate+4);
cprintf("███ ");
break;
case 106: gotoxy(abssisca,ordinate);
cprintf(" █");
gotoxy(abssisca,ordinate+1);
cprintf(" █");
gotoxy(abssisca,ordinate+2);
cprintf(" █");
gotoxy(abssisca,ordinate+3);
cprintf("█ █");
gotoxy(abssisca,ordinate+4);
cprintf("█████");
break;
case 75: gotoxy(abssisca,ordinate);
cprintf("█ ██");
gotoxy(abssisca,ordinate+1);
cprintf("█ ██ ");
gotoxy(abssisca,ordinate+2);
cprintf("██ ");
gotoxy(abssisca,ordinate+3);
cprintf("█ ██ ");
gotoxy(abssisca,ordinate+4);
cprintf("█ ██");
break;
case 107: gotoxy(abssisca,ordinate);
cprintf(" ");
gotoxy(abssisca,ordinate+1);
cprintf("█ █ ");
gotoxy(abssisca,ordinate+2);
cprintf("█ █ ");
gotoxy(abssisca,ordinate+3);
cprintf("██ ");
gotoxy(abssisca,ordinate+4);
cprintf("█ █ ");
break;
case 76: gotoxy(abssisca,ordinate);
cprintf("█ ");
gotoxy(abssisca,ordinate+1);
cprintf("█ ");
gotoxy(abssisca,ordinate+2);
cprintf("█ ");
gotoxy(abssisca,ordinate+3);
cprintf("█ ");
gotoxy(abssisca,ordinate+4);
cprintf("█████");
break;
case 108: gotoxy(abssisca,ordinate);
cprintf(" ██ ");
gotoxy(abssisca,ordinate+1);
cprintf(" █ ");
gotoxy(abssisca,ordinate+2);
cprintf(" █ ");
gotoxy(abssisca,ordinate+3);
cprintf(" █ ");
gotoxy(abssisca,ordinate+4);
cprintf("█████");
break;
case 77: gotoxy(abssisca,ordinate);
cprintf("█ █");
gotoxy(abssisca,ordinate+1);
cprintf("██ ██");
gotoxy(abssisca,ordinate+2);
cprintf("█ █ █");
gotoxy(abssisca,ordinate+3);
cprintf("█ █");
gotoxy(abssisca,ordinate+4);
cprintf("█ █");
break;
case 109: gotoxy(abssisca,ordinate);
cprintf(" ");
gotoxy(abssisca,ordinate+1);
cprintf("█████");
gotoxy(abssisca,ordinate+2);
cprintf("█ █ █");
gotoxy(abssisca,ordinate+3);
cprintf("█ █ █");
gotoxy(abssisca,ordinate+4);
cprintf("█ █ █");
break;
case 78: gotoxy(abssisca,ordinate);
cprintf("█ █");
gotoxy(abssisca,ordinate+1);
cprintf("██ █");
gotoxy(abssisca,ordinate+2);
cprintf("█ █ █");
gotoxy(abssisca,ordinate+3);
cprintf("█ ██");
gotoxy(abssisca,ordinate+4);
cprintf("█ █");
break;
case 110: gotoxy(abssisca,ordinate);
cprintf(" ");
gotoxy(abssisca,ordinate+1);
cprintf(" ");
gotoxy(abssisca,ordinate+2);
cprintf("████ ");
gotoxy(abssisca,ordinate+3);
cprintf("█ ██");
gotoxy(abssisca,ordinate+4);
cprintf("█ █");
break;
case 79: gotoxy(abssisca,ordinate);
cprintf(" ███ ");
gotoxy(abssisca,ordinate+1);
cprintf("█ █");
gotoxy(abssisca,ordinate+2);
cprintf("█ █");
gotoxy(abssisca,ordinate+3);
cprintf("█ █");
gotoxy(abssisca,ordinate+4);
cprintf(" ███ ");
break;
case 111: gotoxy(abssisca,ordinate);
cprintf(" ");
gotoxy(abssisca,ordinate+1);
cprintf(" ");
gotoxy(abssisca,ordinate+2);
cprintf(" ███ ");
gotoxy(abssisca,ordinate+3);
cprintf("█ █");
gotoxy(abssisca,ordinate+4);
cprintf(" ███ ");
break;
case 80: gotoxy(abssisca,ordinate);
cprintf("████ ");
gotoxy(abssisca,ordinate+1);
cprintf("█ █");
gotoxy(abssisca,ordinate+2);
cprintf("████ ");
gotoxy(abssisca,ordinate+3);
cprintf("█ ");
gotoxy(abssisca,ordinate+4);
cprintf("█ ");
break;
case 112: gotoxy(abssisca,ordinate);
cprintf(" ");
gotoxy(abssisca,ordinate+1);
cprintf("████ ");
gotoxy(abssisca,ordinate+2);
cprintf("█ █");
gotoxy(abssisca,ordinate+3);
cprintf("████ ");
gotoxy(abssisca,ordinate+4);
cprintf("█ ");
break;
case 81: gotoxy(abssisca,ordinate);
cprintf(" ███ ");
gotoxy(abssisca,ordinate+1);
cprintf("█ █");
gotoxy(abssisca,ordinate+2);
cprintf("█ █");
gotoxy(abssisca,ordinate+3);
cprintf("█ █ █");
gotoxy(abssisca,ordinate+4);
cprintf(" ██ █");
break;
case 113: gotoxy(abssisca,ordinate);
cprintf(" ");
gotoxy(abssisca,ordinate+1);
cprintf(" ████");
gotoxy(abssisca,ordinate+2);
cprintf("█ █");
gotoxy(abssisca,ordinate+3);
cprintf(" ████");
gotoxy(abssisca,ordinate+4);
cprintf(" ██");
break;
case 82: gotoxy(abssisca,ordinate);
cprintf("█████");
gotoxy(abssisca,ordinate+1);
cprintf("█ █");
gotoxy(abssisca,ordinate+2);
cprintf("█████");
gotoxy(abssisca,ordinate+3);
cprintf("█ █ ");
gotoxy(abssisca,ordinate+4);
cprintf("█ ██");
break;
case 114: gotoxy(abssisca,ordinate);
cprintf(" ");
gotoxy(abssisca,ordinate+1);
cprintf(" ");
gotoxy(abssisca,ordinate+2);
cprintf("█ ███");
gotoxy(abssisca,ordinate+3);
cprintf("██ ");
gotoxy(abssisca,ordinate+4);
cprintf("█ ");
break;
case 83: gotoxy(abssisca,ordinate);
cprintf(" ████");
gotoxy(abssisca,ordinate+1);
cprintf("█ ");
gotoxy(abssisca,ordinate+2);
cprintf(" ███ ");
gotoxy(abssisca,ordinate+3);
cprintf(" █");
gotoxy(abssisca,ordinate+4);
cprintf("████ ");
break;
case 115: gotoxy(abssisca,ordinate);
cprintf(" ███ ");
gotoxy(abssisca,ordinate+1);
cprintf("█ ");
gotoxy(abssisca,ordinate+2);
cprintf(" ███ ");
gotoxy(abssisca,ordinate+3);
cprintf(" █");
gotoxy(abssisca,ordinate+4);
cprintf(" ███ ");
break;
case 84: gotoxy(abssisca,ordinate);
cprintf("█████");
gotoxy(abssisca,ordinate+1);
cprintf(" █ ");
gotoxy(abssisca,ordinate+2);
cprintf(" █ ");
gotoxy(abssisca,ordinate+3);
cprintf(" █ ");
gotoxy(abssisca,ordinate+4);
cprintf(" █ ");
break;
case 116: gotoxy(abssisca,ordinate);
cprintf(" █ ");
gotoxy(abssisca,ordinate+1);
cprintf("█████");
gotoxy(abssisca,ordinate+2);
cprintf(" █ ");
gotoxy(abssisca,ordinate+3);
cprintf(" █ ");
gotoxy(abssisca,ordinate+4);
cprintf(" ███");
break;
case 85: gotoxy(abssisca,ordinate);
cprintf("█ █");
gotoxy(abssisca,ordinate+1);
cprintf("█ █");
gotoxy(abssisca,ordinate+2);
cprintf("█ █");
gotoxy(abssisca,ordinate+3);
cprintf("█ █");
gotoxy(abssisca,ordinate+4);
cprintf("█████");
break;
case 117: gotoxy(abssisca,ordinate);
cprintf(" ");
gotoxy(abssisca,ordinate+1);
cprintf(" ");
gotoxy(abssisca,ordinate+2);
cprintf("█ █");
gotoxy(abssisca,ordinate+3);
cprintf("█ █");
gotoxy(abssisca,ordinate+4);
cprintf("█████");
break;
case 86: gotoxy(abssisca,ordinate);
cprintf("█ █");
gotoxy(abssisca,ordinate+1);
cprintf("█ █");
gotoxy(abssisca,ordinate+2);
cprintf("█ █");
gotoxy(abssisca,ordinate+3);
cprintf("██ ██");
gotoxy(abssisca,ordinate+4);
cprintf(" ███ ");
break;
case 118: gotoxy(abssisca,ordinate);
cprintf(" ");
gotoxy(abssisca,ordinate+1);
cprintf(" ");
gotoxy(abssisca,ordinate+2);
cprintf("█ █");
gotoxy(abssisca,ordinate+3);
cprintf("██ ██");
gotoxy(abssisca,ordinate+4);
cprintf(" ███ ");
break;
case 87: gotoxy(abssisca,ordinate);
cprintf("█ █");
gotoxy(abssisca,ordinate+1);
cprintf("█ █");
gotoxy(abssisca,ordinate+2);
cprintf("█ █ █");
gotoxy(abssisca,ordinate+3);
cprintf("█ █ █");
gotoxy(abssisca,ordinate+4);
cprintf("██ ██");
break;
case 119: gotoxy(abssisca,ordinate);
cprintf(" ");
gotoxy(abssisca,ordinate+1);
cprintf(" ");
gotoxy(abssisca,ordinate+2);
cprintf("█ █");
gotoxy(abssisca,ordinate+3);
cprintf("█ █ █");
gotoxy(abssisca,ordinate+4);
cprintf("██ ██");
break;
case 88: gotoxy(abssisca,ordinate);
cprintf("█ █");
gotoxy(abssisca,ordinate+1);
cprintf(" █ █ ");
gotoxy(abssisca,ordinate+2);
cprintf(" █ ");
gotoxy(abssisca,ordinate+3);
cprintf(" █ █ ");
gotoxy(abssisca,ordinate+4);
cprintf("█ █");
break;
case 120: gotoxy(abssisca,ordinate);
cprintf(" ");
gotoxy(abssisca,ordinate+1);
cprintf(" ");
gotoxy(abssisca,ordinate+2);
cprintf("█ █");
gotoxy(abssisca,ordinate+3);
cprintf(" ███ ");
gotoxy(abssisca,ordinate+4);
cprintf("█ █");
break;
case 89: gotoxy(abssisca,ordinate);
cprintf("█ █");
gotoxy(abssisca,ordinate+1);
cprintf("█ █");
gotoxy(abssisca,ordinate+2);
cprintf("█████");
gotoxy(abssisca,ordinate+3);
cprintf(" █ ");
gotoxy(abssisca,ordinate+4);
cprintf(" █ ");
break;
case 121: gotoxy(abssisca,ordinate);
cprintf(" ");
gotoxy(abssisca,ordinate+1);
cprintf("█ █");
gotoxy(abssisca,ordinate+2);
cprintf("█████");
gotoxy(abssisca,ordinate+3);
cprintf(" █");
gotoxy(abssisca,ordinate+4);
cprintf("█████");
break;
case 90: gotoxy(abssisca,ordinate);
cprintf("█████");
gotoxy(abssisca,ordinate+1);
cprintf(" █ ");
gotoxy(abssisca,ordinate+2);
cprintf(" █ ");
gotoxy(abssisca,ordinate+3);
cprintf(" █ ");
gotoxy(abssisca,ordinate+4);
cprintf("█████");
break;
case 122: gotoxy(abssisca,ordinate);
cprintf(" ");
gotoxy(abssisca,ordinate+1);
cprintf("█████");
gotoxy(abssisca,ordinate+2);
cprintf(" ██ ");
gotoxy(abssisca,ordinate+3);
cprintf(" ██ ");
gotoxy(abssisca,ordinate+4);
cprintf("█████");
break;
case 48: gotoxy(abssisca,ordinate);
cprintf("█████");
gotoxy(abssisca,ordinate+1);
cprintf("█ █");
gotoxy(abssisca,ordinate+2);
cprintf("█ █");
gotoxy(abssisca,ordinate+3);
cprintf("█ █");
gotoxy(abssisca,ordinate+4);
cprintf("█████");
break;
case 49: gotoxy(abssisca,ordinate);
cprintf(" ██ ");
gotoxy(abssisca,ordinate+1);
cprintf("█ █ ");
gotoxy(abssisca,ordinate+2);
cprintf(" █ ");
gotoxy(abssisca,ordinate+3);
cprintf(" █ ");
gotoxy(abssisca,ordinate+4);
cprintf("█████");
break;
case 50: gotoxy(abssisca,ordinate);
cprintf("█████");
gotoxy(abssisca,ordinate+1);
cprintf(" █");
gotoxy(abssisca,ordinate+2);
cprintf("█████");
gotoxy(abssisca,ordinate+3);
cprintf("█ ");
gotoxy(abssisca,ordinate+4);
cprintf("█████");
break;
case 51: gotoxy(abssisca,ordinate);
cprintf("█████");
gotoxy(abssisca,ordinate+1);
cprintf(" █");
gotoxy(abssisca,ordinate+2);
cprintf("█████");
gotoxy(abssisca,ordinate+3);
cprintf(" █");
gotoxy(abssisca,ordinate+4);
cprintf("█████");
break;
case 52: gotoxy(abssisca,ordinate);
cprintf("█ █");
gotoxy(abssisca,ordinate+1);
cprintf("█ █");
gotoxy(abssisca,ordinate+2);
cprintf("█████");
gotoxy(abssisca,ordinate+3);
cprintf(" █");
gotoxy(abssisca,ordinate+4);
cprintf(" █");
break;
case 53: gotoxy(abssisca,ordinate);
cprintf("█████");
gotoxy(abssisca,ordinate+1);
cprintf("█ ");
gotoxy(abssisca,ordinate+2);
cprintf("█████");
gotoxy(abssisca,ordinate+3);
cprintf(" █");
gotoxy(abssisca,ordinate+4);
cprintf("█████");
break;
case 54: gotoxy(abssisca,ordinate);
cprintf("█████");
gotoxy(abssisca,ordinate+1);
cprintf("█ ");
gotoxy(abssisca,ordinate+2);
cprintf("█████");
gotoxy(abssisca,ordinate+3);
cprintf("█ █");
gotoxy(abssisca,ordinate+4);
cprintf("█████");
break;
case 55: gotoxy(abssisca,ordinate);
cprintf("█████");
gotoxy(abssisca,ordinate+1);
cprintf(" ██");
gotoxy(abssisca,ordinate+2);
cprintf(" ██ ");
gotoxy(abssisca,ordinate+3);
cprintf(" ██ ");
gotoxy(abssisca,ordinate+4);
cprintf("██ ");
break;
case 56: gotoxy(abssisca,ordinate);
cprintf("█████");
gotoxy(abssisca,ordinate+1);
cprintf("█ █");
gotoxy(abssisca,ordinate+2);
cprintf("█████");
gotoxy(abssisca,ordinate+3);
cprintf("█ █");
gotoxy(abssisca,ordinate+4);
cprintf("█████");
break;
case 57: gotoxy(abssisca,ordinate);
cprintf("█████");
gotoxy(abssisca,ordinate+1);
cprintf("█ █");
gotoxy(abssisca,ordinate+2);
cprintf("█████");
gotoxy(abssisca,ordinate+3);
cprintf(" █");
gotoxy(abssisca,ordinate+4);
cprintf("█████");
break;
case ' ': space=7;
break;
case 33: gotoxy(abssisca,ordinate);
cprintf(" ██ ");
gotoxy(abssisca,ordinate+1);
cprintf(" ██ ");
gotoxy(abssisca,ordinate+2);
cprintf(" ██ ");
gotoxy(abssisca,ordinate+3);
cprintf(" ");
gotoxy(abssisca,ordinate+4);
cprintf(" ██ ");
break;
case '=': gotoxy(abssisca,ordinate);
cprintf(" █ ");
gotoxy(abssisca,ordinate+1);
cprintf(" ██ ");
gotoxy(abssisca,ordinate+2);
cprintf("██████");
gotoxy(abssisca,ordinate+3);
cprintf(" ██ ");
gotoxy(abssisca,ordinate+4);
cprintf(" █ ");
break;
case '-': gotoxy(abssisca,ordinate);
cprintf("██████");
gotoxy(abssisca,ordinate+1);
cprintf(" ");
gotoxy(abssisca,ordinate+2);
cprintf(" ");
gotoxy(abssisca,ordinate+3);
cprintf(" ");
gotoxy(abssisca,ordinate+4);
cprintf(" ");
break;
case ':': gotoxy(abssisca,ordinate);
cprintf(" ");
gotoxy(abssisca,ordinate+1);
cprintf(" ██ ");
gotoxy(abssisca,ordinate+2);
cprintf(" ");
gotoxy(abssisca,ordinate+3);
cprintf(" ██ ");
gotoxy(abssisca,ordinate+4);
cprintf(" ");
break;
case '.': gotoxy(abssisca,ordinate);
cprintf(" ");
gotoxy(abssisca,ordinate+1);
cprintf(" ");
gotoxy(abssisca,ordinate+2);
cprintf(" ");
gotoxy(abssisca,ordinate+3);
cprintf(" ");
gotoxy(abssisca,ordinate+4);
cprintf(" ██ ");
break;
case '/': textcolor(3+BLINK);
space=0;
break;
default: abssisca=4;
ordinate=7+ordinate;
space=0;
hint=1;
break;
}
if((ordinate>=18 && abssisca>=74) || (ordinate>18 && hint==1))
{
delay(1000);
for(abssisca=41,add=41;add<=79;abssisca--,add++)
{
for(ordinate=3;ordinate<=23;ordinate++)
{
gotoxy(abssisca,ordinate);
cprintf(" ");
}
for(ordinate=3;ordinate<=23;ordinate++)
{
gotoxy(add,ordinate);
cprintf(" ");
}
delay(100);
}
abssisca=4;
space=0;
ordinate=4;
hint=0;
textcolor(10);
}
else if(abssisca>=74)
{
abssisca=4;
space=0;
ordinate=7+ordinate;
}
}
label:
delay(1000);
for(ordinate=13,add=13;add<=24;ordinate--,add++)
{
for(abssisca=2;abssisca<=80;abssisca++)
{
gotoxy(abssisca,ordinate);
cprintf(" ");
}
for(abssisca=2;abssisca<=80;abssisca++)
{
gotoxy(abssisca,add);
cprintf(" ");
}
delay(300);
}
}
CODING
#include<iostream.h>
#include<dos.h>
#include<conio.h>
#include<stdio.h>
#include<process.h>
void main()
{
int abcd,ordinate,abssisca,space,add,hint=0;
char choice;
clrscr();
clrscr();
textcolor(YELLOW);
for(abssisca=2;abssisca<=80;abssisca++)
{
for(ordinate=2;ordinate<=24;ordinate++)
{
gotoxy(abssisca,ordinate);
cprintf("█");
}
}
for(ordinate=13,add=13;add<=23;ordinate--,add++)
{
for(abssisca=3;abssisca<=79;abssisca++)
{
gotoxy(abssisca,ordinate);
cprintf(" ");
}
for(abssisca=3;abssisca<=79;abssisca++)
{
gotoxy(abssisca,add);
cprintf(" ");
}
delay(300);
}
for(ordinate=2;ordinate<=24;ordinate++)
{
for(abssisca=2;abssisca<=80;abssisca=abssisca+78)
{
gotoxy(abssisca,ordinate);
cprintf("█");
}
}
textcolor(10);
for(abssisca=4,ordinate=4;;abssisca=space+abssisca)
{
choice=getch();
if(choice=='\\')
goto label;
space=7;
switch(choice)
{
case 65: gotoxy(abssisca,ordinate);
cprintf("█████");
gotoxy(abssisca,ordinate+1);
cprintf("█ █");
gotoxy(abssisca,ordinate+2);
cprintf("█████");
gotoxy(abssisca,ordinate+3);
cprintf("█ █");
gotoxy(abssisca,ordinate+4);
cprintf("█ █");
break;
case 97: gotoxy(abssisca,ordinate);
cprintf("█████");
gotoxy(abssisca,ordinate+1);
cprintf(" █");
gotoxy(abssisca,ordinate+2);
cprintf("█████");
gotoxy(abssisca,ordinate+3);
cprintf("█ █");
gotoxy(abssisca,ordinate+4);
cprintf("█████");
break;
case 66: gotoxy(abssisca,ordinate);
cprintf("████ ");
gotoxy(abssisca,ordinate+1);
cprintf("█ █");
gotoxy(abssisca,ordinate+2);
cprintf("████ ");
gotoxy(abssisca,ordinate+3);
cprintf("█ █");
gotoxy(abssisca,ordinate+4);
cprintf("████ ");
break;
case 98: gotoxy(abssisca,ordinate);
cprintf("█ ");
gotoxy(abssisca,ordinate+1);
cprintf("█ ");
gotoxy(abssisca,ordinate+2);
cprintf("█████");
gotoxy(abssisca,ordinate+3);
cprintf("█ █");
gotoxy(abssisca,ordinate+4);
cprintf("█████");
break;
case 67: gotoxy(abssisca,ordinate);
cprintf("█████");
gotoxy(abssisca,ordinate+1);
cprintf("█ ");
gotoxy(abssisca,ordinate+2);
cprintf("█ ");
gotoxy(abssisca,ordinate+3);
cprintf("█ ");
gotoxy(abssisca,ordinate+4);
cprintf("█████");
break;
case 99: gotoxy(abssisca,ordinate);
cprintf(" ");
gotoxy(abssisca,ordinate+1);
cprintf("█████");
gotoxy(abssisca,ordinate+2);
cprintf("█ ");
gotoxy(abssisca,ordinate+3);
cprintf("█ ");
gotoxy(abssisca,ordinate+4);
cprintf("█████");
break;
case 68: gotoxy(abssisca,ordinate);
cprintf("████ ");
gotoxy(abssisca,ordinate+1);
cprintf("█ ██");
gotoxy(abssisca,ordinate+2);
cprintf("█ █");
gotoxy(abssisca,ordinate+3);
cprintf("█ ██");
gotoxy(abssisca,ordinate+4);
cprintf("████ ");
break;
case 100: gotoxy(abssisca,ordinate);
cprintf(" █");
gotoxy(abssisca,ordinate+1);
cprintf(" █");
gotoxy(abssisca,ordinate+2);
cprintf("█████");
gotoxy(abssisca,ordinate+3);
cprintf("█ █");
gotoxy(abssisca,ordinate+4);
cprintf("█████");
break;
case 69: gotoxy(abssisca,ordinate);
cprintf("█████");
gotoxy(abssisca,ordinate+1);
cprintf("██ ");
gotoxy(abssisca,ordinate+2);
cprintf("█████");
gotoxy(abssisca,ordinate+3);
cprintf("██ ");
gotoxy(abssisca,ordinate+4);
cprintf("█████");
break;
case 101: gotoxy(abssisca,ordinate);
cprintf("█████");
gotoxy(abssisca,ordinate+1);
cprintf("█ █");
gotoxy(abssisca,ordinate+2);
cprintf("█████");
gotoxy(abssisca,ordinate+3);
cprintf("█ ");
gotoxy(abssisca,ordinate+4);
cprintf("█████");
break;
case 70: gotoxy(abssisca,ordinate);
cprintf("█████");
gotoxy(abssisca,ordinate+1);
cprintf("██ ");
gotoxy(abssisca,ordinate+2);
cprintf("█████");
gotoxy(abssisca,ordinate+3);
cprintf("██ ");
gotoxy(abssisca,ordinate+4);
cprintf("██ ");
break;
case 102: gotoxy(abssisca,ordinate);
cprintf(" ███");
gotoxy(abssisca,ordinate+1);
cprintf(" █ ");
gotoxy(abssisca,ordinate+2);
cprintf("█████");
gotoxy(abssisca,ordinate+3);
cprintf(" █ ");
gotoxy(abssisca,ordinate+4);
cprintf("███ ");
break;
case 71: gotoxy(abssisca,ordinate);
cprintf("█████");
gotoxy(abssisca,ordinate+1);
cprintf("█ ");
gotoxy(abssisca,ordinate+2);
cprintf("█ ███");
gotoxy(abssisca,ordinate+3);
cprintf("█ █");
gotoxy(abssisca,ordinate+4);
cprintf("█████");
break;
case 103: gotoxy(abssisca,ordinate);
cprintf(" ████");
gotoxy(abssisca,ordinate+1);
cprintf("█ █");
gotoxy(abssisca,ordinate+2);
cprintf(" ████");
gotoxy(abssisca,ordinate+3);
cprintf("█ █");
gotoxy(abssisca,ordinate+4);
cprintf("█████");
break;
case 72: gotoxy(abssisca,ordinate);
cprintf("█ █");
gotoxy(abssisca,ordinate+1);
cprintf("█ █");
gotoxy(abssisca,ordinate+2);
cprintf("█████");
gotoxy(abssisca,ordinate+3);
cprintf("█ █");
gotoxy(abssisca,ordinate+4);
cprintf("█ █");
break;
case 104: gotoxy(abssisca,ordinate);
cprintf("█ ");
gotoxy(abssisca,ordinate+1);
cprintf("█ ");
gotoxy(abssisca,ordinate+2);
cprintf("████ ");
gotoxy(abssisca,ordinate+3);
cprintf("█ ██");
gotoxy(abssisca,ordinate+4);
cprintf("█ █");
break;
case 73: gotoxy(abssisca,ordinate);
cprintf("█████");
gotoxy(abssisca,ordinate+1);
cprintf(" █ ");
gotoxy(abssisca,ordinate+2);
cprintf(" █ ");
gotoxy(abssisca,ordinate+3);
cprintf(" █ ");
gotoxy(abssisca,ordinate+4);
cprintf("█████");
break;
case 105: gotoxy(abssisca,ordinate);
cprintf(" ██ ");
gotoxy(abssisca,ordinate+1);
cprintf(" ");
gotoxy(abssisca,ordinate+2);
cprintf(" ██ ");
gotoxy(abssisca,ordinate+3);
cprintf(" ██ ");
gotoxy(abssisca,ordinate+4);
cprintf(" ████");
break;
case 74: gotoxy(abssisca,ordinate);
cprintf("█████");
gotoxy(abssisca,ordinate+1);
cprintf(" █ ");
gotoxy(abssisca,ordinate+2);
cprintf(" █ ");
gotoxy(abssisca,ordinate+3);
cprintf("█ █ ");
gotoxy(abssisca,ordinate+4);
cprintf("███ ");
break;
case 106: gotoxy(abssisca,ordinate);
cprintf(" █");
gotoxy(abssisca,ordinate+1);
cprintf(" █");
gotoxy(abssisca,ordinate+2);
cprintf(" █");
gotoxy(abssisca,ordinate+3);
cprintf("█ █");
gotoxy(abssisca,ordinate+4);
cprintf("█████");
break;
case 75: gotoxy(abssisca,ordinate);
cprintf("█ ██");
gotoxy(abssisca,ordinate+1);
cprintf("█ ██ ");
gotoxy(abssisca,ordinate+2);
cprintf("██ ");
gotoxy(abssisca,ordinate+3);
cprintf("█ ██ ");
gotoxy(abssisca,ordinate+4);
cprintf("█ ██");
break;
case 107: gotoxy(abssisca,ordinate);
cprintf(" ");
gotoxy(abssisca,ordinate+1);
cprintf("█ █ ");
gotoxy(abssisca,ordinate+2);
cprintf("█ █ ");
gotoxy(abssisca,ordinate+3);
cprintf("██ ");
gotoxy(abssisca,ordinate+4);
cprintf("█ █ ");
break;
case 76: gotoxy(abssisca,ordinate);
cprintf("█ ");
gotoxy(abssisca,ordinate+1);
cprintf("█ ");
gotoxy(abssisca,ordinate+2);
cprintf("█ ");
gotoxy(abssisca,ordinate+3);
cprintf("█ ");
gotoxy(abssisca,ordinate+4);
cprintf("█████");
break;
case 108: gotoxy(abssisca,ordinate);
cprintf(" ██ ");
gotoxy(abssisca,ordinate+1);
cprintf(" █ ");
gotoxy(abssisca,ordinate+2);
cprintf(" █ ");
gotoxy(abssisca,ordinate+3);
cprintf(" █ ");
gotoxy(abssisca,ordinate+4);
cprintf("█████");
break;
case 77: gotoxy(abssisca,ordinate);
cprintf("█ █");
gotoxy(abssisca,ordinate+1);
cprintf("██ ██");
gotoxy(abssisca,ordinate+2);
cprintf("█ █ █");
gotoxy(abssisca,ordinate+3);
cprintf("█ █");
gotoxy(abssisca,ordinate+4);
cprintf("█ █");
break;
case 109: gotoxy(abssisca,ordinate);
cprintf(" ");
gotoxy(abssisca,ordinate+1);
cprintf("█████");
gotoxy(abssisca,ordinate+2);
cprintf("█ █ █");
gotoxy(abssisca,ordinate+3);
cprintf("█ █ █");
gotoxy(abssisca,ordinate+4);
cprintf("█ █ █");
break;
case 78: gotoxy(abssisca,ordinate);
cprintf("█ █");
gotoxy(abssisca,ordinate+1);
cprintf("██ █");
gotoxy(abssisca,ordinate+2);
cprintf("█ █ █");
gotoxy(abssisca,ordinate+3);
cprintf("█ ██");
gotoxy(abssisca,ordinate+4);
cprintf("█ █");
break;
case 110: gotoxy(abssisca,ordinate);
cprintf(" ");
gotoxy(abssisca,ordinate+1);
cprintf(" ");
gotoxy(abssisca,ordinate+2);
cprintf("████ ");
gotoxy(abssisca,ordinate+3);
cprintf("█ ██");
gotoxy(abssisca,ordinate+4);
cprintf("█ █");
break;
case 79: gotoxy(abssisca,ordinate);
cprintf(" ███ ");
gotoxy(abssisca,ordinate+1);
cprintf("█ █");
gotoxy(abssisca,ordinate+2);
cprintf("█ █");
gotoxy(abssisca,ordinate+3);
cprintf("█ █");
gotoxy(abssisca,ordinate+4);
cprintf(" ███ ");
break;
case 111: gotoxy(abssisca,ordinate);
cprintf(" ");
gotoxy(abssisca,ordinate+1);
cprintf(" ");
gotoxy(abssisca,ordinate+2);
cprintf(" ███ ");
gotoxy(abssisca,ordinate+3);
cprintf("█ █");
gotoxy(abssisca,ordinate+4);
cprintf(" ███ ");
break;
case 80: gotoxy(abssisca,ordinate);
cprintf("████ ");
gotoxy(abssisca,ordinate+1);
cprintf("█ █");
gotoxy(abssisca,ordinate+2);
cprintf("████ ");
gotoxy(abssisca,ordinate+3);
cprintf("█ ");
gotoxy(abssisca,ordinate+4);
cprintf("█ ");
break;
case 112: gotoxy(abssisca,ordinate);
cprintf(" ");
gotoxy(abssisca,ordinate+1);
cprintf("████ ");
gotoxy(abssisca,ordinate+2);
cprintf("█ █");
gotoxy(abssisca,ordinate+3);
cprintf("████ ");
gotoxy(abssisca,ordinate+4);
cprintf("█ ");
break;
case 81: gotoxy(abssisca,ordinate);
cprintf(" ███ ");
gotoxy(abssisca,ordinate+1);
cprintf("█ █");
gotoxy(abssisca,ordinate+2);
cprintf("█ █");
gotoxy(abssisca,ordinate+3);
cprintf("█ █ █");
gotoxy(abssisca,ordinate+4);
cprintf(" ██ █");
break;
case 113: gotoxy(abssisca,ordinate);
cprintf(" ");
gotoxy(abssisca,ordinate+1);
cprintf(" ████");
gotoxy(abssisca,ordinate+2);
cprintf("█ █");
gotoxy(abssisca,ordinate+3);
cprintf(" ████");
gotoxy(abssisca,ordinate+4);
cprintf(" ██");
break;
case 82: gotoxy(abssisca,ordinate);
cprintf("█████");
gotoxy(abssisca,ordinate+1);
cprintf("█ █");
gotoxy(abssisca,ordinate+2);
cprintf("█████");
gotoxy(abssisca,ordinate+3);
cprintf("█ █ ");
gotoxy(abssisca,ordinate+4);
cprintf("█ ██");
break;
case 114: gotoxy(abssisca,ordinate);
cprintf(" ");
gotoxy(abssisca,ordinate+1);
cprintf(" ");
gotoxy(abssisca,ordinate+2);
cprintf("█ ███");
gotoxy(abssisca,ordinate+3);
cprintf("██ ");
gotoxy(abssisca,ordinate+4);
cprintf("█ ");
break;
case 83: gotoxy(abssisca,ordinate);
cprintf(" ████");
gotoxy(abssisca,ordinate+1);
cprintf("█ ");
gotoxy(abssisca,ordinate+2);
cprintf(" ███ ");
gotoxy(abssisca,ordinate+3);
cprintf(" █");
gotoxy(abssisca,ordinate+4);
cprintf("████ ");
break;
case 115: gotoxy(abssisca,ordinate);
cprintf(" ███ ");
gotoxy(abssisca,ordinate+1);
cprintf("█ ");
gotoxy(abssisca,ordinate+2);
cprintf(" ███ ");
gotoxy(abssisca,ordinate+3);
cprintf(" █");
gotoxy(abssisca,ordinate+4);
cprintf(" ███ ");
break;
case 84: gotoxy(abssisca,ordinate);
cprintf("█████");
gotoxy(abssisca,ordinate+1);
cprintf(" █ ");
gotoxy(abssisca,ordinate+2);
cprintf(" █ ");
gotoxy(abssisca,ordinate+3);
cprintf(" █ ");
gotoxy(abssisca,ordinate+4);
cprintf(" █ ");
break;
case 116: gotoxy(abssisca,ordinate);
cprintf(" █ ");
gotoxy(abssisca,ordinate+1);
cprintf("█████");
gotoxy(abssisca,ordinate+2);
cprintf(" █ ");
gotoxy(abssisca,ordinate+3);
cprintf(" █ ");
gotoxy(abssisca,ordinate+4);
cprintf(" ███");
break;
case 85: gotoxy(abssisca,ordinate);
cprintf("█ █");
gotoxy(abssisca,ordinate+1);
cprintf("█ █");
gotoxy(abssisca,ordinate+2);
cprintf("█ █");
gotoxy(abssisca,ordinate+3);
cprintf("█ █");
gotoxy(abssisca,ordinate+4);
cprintf("█████");
break;
case 117: gotoxy(abssisca,ordinate);
cprintf(" ");
gotoxy(abssisca,ordinate+1);
cprintf(" ");
gotoxy(abssisca,ordinate+2);
cprintf("█ █");
gotoxy(abssisca,ordinate+3);
cprintf("█ █");
gotoxy(abssisca,ordinate+4);
cprintf("█████");
break;
case 86: gotoxy(abssisca,ordinate);
cprintf("█ █");
gotoxy(abssisca,ordinate+1);
cprintf("█ █");
gotoxy(abssisca,ordinate+2);
cprintf("█ █");
gotoxy(abssisca,ordinate+3);
cprintf("██ ██");
gotoxy(abssisca,ordinate+4);
cprintf(" ███ ");
break;
case 118: gotoxy(abssisca,ordinate);
cprintf(" ");
gotoxy(abssisca,ordinate+1);
cprintf(" ");
gotoxy(abssisca,ordinate+2);
cprintf("█ █");
gotoxy(abssisca,ordinate+3);
cprintf("██ ██");
gotoxy(abssisca,ordinate+4);
cprintf(" ███ ");
break;
case 87: gotoxy(abssisca,ordinate);
cprintf("█ █");
gotoxy(abssisca,ordinate+1);
cprintf("█ █");
gotoxy(abssisca,ordinate+2);
cprintf("█ █ █");
gotoxy(abssisca,ordinate+3);
cprintf("█ █ █");
gotoxy(abssisca,ordinate+4);
cprintf("██ ██");
break;
case 119: gotoxy(abssisca,ordinate);
cprintf(" ");
gotoxy(abssisca,ordinate+1);
cprintf(" ");
gotoxy(abssisca,ordinate+2);
cprintf("█ █");
gotoxy(abssisca,ordinate+3);
cprintf("█ █ █");
gotoxy(abssisca,ordinate+4);
cprintf("██ ██");
break;
case 88: gotoxy(abssisca,ordinate);
cprintf("█ █");
gotoxy(abssisca,ordinate+1);
cprintf(" █ █ ");
gotoxy(abssisca,ordinate+2);
cprintf(" █ ");
gotoxy(abssisca,ordinate+3);
cprintf(" █ █ ");
gotoxy(abssisca,ordinate+4);
cprintf("█ █");
break;
case 120: gotoxy(abssisca,ordinate);
cprintf(" ");
gotoxy(abssisca,ordinate+1);
cprintf(" ");
gotoxy(abssisca,ordinate+2);
cprintf("█ █");
gotoxy(abssisca,ordinate+3);
cprintf(" ███ ");
gotoxy(abssisca,ordinate+4);
cprintf("█ █");
break;
case 89: gotoxy(abssisca,ordinate);
cprintf("█ █");
gotoxy(abssisca,ordinate+1);
cprintf("█ █");
gotoxy(abssisca,ordinate+2);
cprintf("█████");
gotoxy(abssisca,ordinate+3);
cprintf(" █ ");
gotoxy(abssisca,ordinate+4);
cprintf(" █ ");
break;
case 121: gotoxy(abssisca,ordinate);
cprintf(" ");
gotoxy(abssisca,ordinate+1);
cprintf("█ █");
gotoxy(abssisca,ordinate+2);
cprintf("█████");
gotoxy(abssisca,ordinate+3);
cprintf(" █");
gotoxy(abssisca,ordinate+4);
cprintf("█████");
break;
case 90: gotoxy(abssisca,ordinate);
cprintf("█████");
gotoxy(abssisca,ordinate+1);
cprintf(" █ ");
gotoxy(abssisca,ordinate+2);
cprintf(" █ ");
gotoxy(abssisca,ordinate+3);
cprintf(" █ ");
gotoxy(abssisca,ordinate+4);
cprintf("█████");
break;
case 122: gotoxy(abssisca,ordinate);
cprintf(" ");
gotoxy(abssisca,ordinate+1);
cprintf("█████");
gotoxy(abssisca,ordinate+2);
cprintf(" ██ ");
gotoxy(abssisca,ordinate+3);
cprintf(" ██ ");
gotoxy(abssisca,ordinate+4);
cprintf("█████");
break;
case 48: gotoxy(abssisca,ordinate);
cprintf("█████");
gotoxy(abssisca,ordinate+1);
cprintf("█ █");
gotoxy(abssisca,ordinate+2);
cprintf("█ █");
gotoxy(abssisca,ordinate+3);
cprintf("█ █");
gotoxy(abssisca,ordinate+4);
cprintf("█████");
break;
case 49: gotoxy(abssisca,ordinate);
cprintf(" ██ ");
gotoxy(abssisca,ordinate+1);
cprintf("█ █ ");
gotoxy(abssisca,ordinate+2);
cprintf(" █ ");
gotoxy(abssisca,ordinate+3);
cprintf(" █ ");
gotoxy(abssisca,ordinate+4);
cprintf("█████");
break;
case 50: gotoxy(abssisca,ordinate);
cprintf("█████");
gotoxy(abssisca,ordinate+1);
cprintf(" █");
gotoxy(abssisca,ordinate+2);
cprintf("█████");
gotoxy(abssisca,ordinate+3);
cprintf("█ ");
gotoxy(abssisca,ordinate+4);
cprintf("█████");
break;
case 51: gotoxy(abssisca,ordinate);
cprintf("█████");
gotoxy(abssisca,ordinate+1);
cprintf(" █");
gotoxy(abssisca,ordinate+2);
cprintf("█████");
gotoxy(abssisca,ordinate+3);
cprintf(" █");
gotoxy(abssisca,ordinate+4);
cprintf("█████");
break;
case 52: gotoxy(abssisca,ordinate);
cprintf("█ █");
gotoxy(abssisca,ordinate+1);
cprintf("█ █");
gotoxy(abssisca,ordinate+2);
cprintf("█████");
gotoxy(abssisca,ordinate+3);
cprintf(" █");
gotoxy(abssisca,ordinate+4);
cprintf(" █");
break;
case 53: gotoxy(abssisca,ordinate);
cprintf("█████");
gotoxy(abssisca,ordinate+1);
cprintf("█ ");
gotoxy(abssisca,ordinate+2);
cprintf("█████");
gotoxy(abssisca,ordinate+3);
cprintf(" █");
gotoxy(abssisca,ordinate+4);
cprintf("█████");
break;
case 54: gotoxy(abssisca,ordinate);
cprintf("█████");
gotoxy(abssisca,ordinate+1);
cprintf("█ ");
gotoxy(abssisca,ordinate+2);
cprintf("█████");
gotoxy(abssisca,ordinate+3);
cprintf("█ █");
gotoxy(abssisca,ordinate+4);
cprintf("█████");
break;
case 55: gotoxy(abssisca,ordinate);
cprintf("█████");
gotoxy(abssisca,ordinate+1);
cprintf(" ██");
gotoxy(abssisca,ordinate+2);
cprintf(" ██ ");
gotoxy(abssisca,ordinate+3);
cprintf(" ██ ");
gotoxy(abssisca,ordinate+4);
cprintf("██ ");
break;
case 56: gotoxy(abssisca,ordinate);
cprintf("█████");
gotoxy(abssisca,ordinate+1);
cprintf("█ █");
gotoxy(abssisca,ordinate+2);
cprintf("█████");
gotoxy(abssisca,ordinate+3);
cprintf("█ █");
gotoxy(abssisca,ordinate+4);
cprintf("█████");
break;
case 57: gotoxy(abssisca,ordinate);
cprintf("█████");
gotoxy(abssisca,ordinate+1);
cprintf("█ █");
gotoxy(abssisca,ordinate+2);
cprintf("█████");
gotoxy(abssisca,ordinate+3);
cprintf(" █");
gotoxy(abssisca,ordinate+4);
cprintf("█████");
break;
case ' ': space=7;
break;
case 33: gotoxy(abssisca,ordinate);
cprintf(" ██ ");
gotoxy(abssisca,ordinate+1);
cprintf(" ██ ");
gotoxy(abssisca,ordinate+2);
cprintf(" ██ ");
gotoxy(abssisca,ordinate+3);
cprintf(" ");
gotoxy(abssisca,ordinate+4);
cprintf(" ██ ");
break;
case '=': gotoxy(abssisca,ordinate);
cprintf(" █ ");
gotoxy(abssisca,ordinate+1);
cprintf(" ██ ");
gotoxy(abssisca,ordinate+2);
cprintf("██████");
gotoxy(abssisca,ordinate+3);
cprintf(" ██ ");
gotoxy(abssisca,ordinate+4);
cprintf(" █ ");
break;
case '-': gotoxy(abssisca,ordinate);
cprintf("██████");
gotoxy(abssisca,ordinate+1);
cprintf(" ");
gotoxy(abssisca,ordinate+2);
cprintf(" ");
gotoxy(abssisca,ordinate+3);
cprintf(" ");
gotoxy(abssisca,ordinate+4);
cprintf(" ");
break;
case ':': gotoxy(abssisca,ordinate);
cprintf(" ");
gotoxy(abssisca,ordinate+1);
cprintf(" ██ ");
gotoxy(abssisca,ordinate+2);
cprintf(" ");
gotoxy(abssisca,ordinate+3);
cprintf(" ██ ");
gotoxy(abssisca,ordinate+4);
cprintf(" ");
break;
case '.': gotoxy(abssisca,ordinate);
cprintf(" ");
gotoxy(abssisca,ordinate+1);
cprintf(" ");
gotoxy(abssisca,ordinate+2);
cprintf(" ");
gotoxy(abssisca,ordinate+3);
cprintf(" ");
gotoxy(abssisca,ordinate+4);
cprintf(" ██ ");
break;
case '/': textcolor(3+BLINK);
space=0;
break;
default: abssisca=4;
ordinate=7+ordinate;
space=0;
hint=1;
break;
}
if((ordinate>=18 && abssisca>=74) || (ordinate>18 && hint==1))
{
delay(1000);
for(abssisca=41,add=41;add<=79;abssisca--,add++)
{
for(ordinate=3;ordinate<=23;ordinate++)
{
gotoxy(abssisca,ordinate);
cprintf(" ");
}
for(ordinate=3;ordinate<=23;ordinate++)
{
gotoxy(add,ordinate);
cprintf(" ");
}
delay(100);
}
abssisca=4;
space=0;
ordinate=4;
hint=0;
textcolor(10);
}
else if(abssisca>=74)
{
abssisca=4;
space=0;
ordinate=7+ordinate;
}
}
label:
delay(1000);
for(ordinate=13,add=13;add<=24;ordinate--,add++)
{
for(abssisca=2;abssisca<=80;abssisca++)
{
gotoxy(abssisca,ordinate);
cprintf(" ");
}
for(abssisca=2;abssisca<=80;abssisca++)
{
gotoxy(abssisca,add);
cprintf(" ");
}
delay(300);
}
}
===========================================================================
No comments:
Post a Comment