Курсовая работа: Игра "Vertolet"

verx:=460;niz:=125;

kk:=300;ll:=350;z:=580;v:=880; l:=680; k:=780;

i:=980;

ii:=400;

vv:=200;zz:=150;

p:=0;pp:=640;

level:=1;

vert(a,d,4);

randomize;

get;

och:='70';

begin

tex;

start;

bonn:=random(150)+300;

end;

repeat

setcolor(0);

if (plus<70) and (ord(t)=32) then begin

setcolor(12);

outtextxy(50,35, och);

setcolor(red);

str(pl,och); outtextxy(50,35, och);

og(a-3,d-9); plus:=plus+1; end;

pl:=70-plus;

if ((getpixel(a-2,d)=0) or (getpixel(a-2,d)=1)) and ((getpixel(a+43,d+7)=0) or (getpixel(a+43,d+7)=1))

and ((getpixel(a+26,d+20)=0) or (getpixel(a+26,d+20)=1)) and

((getpixel(a+36,d+20)=0) or (getpixel(a+36,d+20)=1)) and ((getpixel(a+42,d-7)=0) or (getpixel(a+42,d-7)=1))

and ((getpixel(a+18,d-7)=0) or (getpixel(a+18,d-7)=1)) and

К-во Просмотров: 676
Бесплатно скачать Курсовая работа: Игра "Vertolet"