А от деякий мій креатив

Прога викидає на рандомі слово "randomize" в різних кольрах та координатах екрана.
QUOTE(listing1)
uses Graph,crt;
var
Gd, Gm,x,y: Integer;
Radius: Integer;
begin
Gd := Detect;
InitGraph(Gd, Gm, '');
if GraphResult <> grOk then
Halt(1);
repeat
randomize;
x:=random(640);
y:=random(460);
setcolor(x*y);
outtextxy(x,y,'RANDOMIZE');
outtextxy(x,y,'_________я');
until keypressed;
Readln;
CloseGraph;
end.
І ще одна.
Спочатку вводиться числова послідовність, з чисел від 1 до 7, що відповідають нотам, а потім мелодія програється.
QUOTE(listing2)
uses crt,graph,graph2
;
var a:char;
b:integer;
begin
repeat
begin
read(a);
b:=b+1;if b=16 then b:=1;
textattr:=b;
write(chr(14),chr(14),chr(14),chr(14),chr(14),chr(14),chr(14));
if a=chr(49) then begin
sound(100);
delay(30000);
nosound;
end;
if a=chr(50) then begin
sound(300);
delay(30000);
nosound;
end;
if a=chr(51) then begin
sound(500);
delay(30000);
nosound;
end;
if a=chr(52) then begin
sound(700);
delay(30000);
nosound;
end;
if a=chr(53) then begin
sound(900);
delay(30000);
nosound;
end;
if a=chr(54) then begin
sound(1100);
delay(30000);
nosound;
end;
if a=chr(55) then begin
sound(1300);
delay(30000);
nosound;
end;
end;clrscr;
until a=chr(113);
opgr;
setcolor(2);
settextstyle(9,0,8);
setfillstyle(11,5);
floodfill(1,1,4);
outtextxy(100,100,'ACCA');
readkey;
closegr;
end.
А це модуль необхідний для роботи попередньої програми.
QUOTE(unit1)
unit graph2;
interface
procedure opgr;
procedure closegr;
implementation
uses graph;
procedure opgr;
var
gd, gm: integer;
begin
gd:=detect;
gm:=0;
initgraph(gd,gm,'');
if graphresult<>0 then
begin
writeln('pomylka graficnogo regymu');
readln;
halt;
end;
end;
procedure closegr;
begin
closegraph;
if graphresult<>0 then
begin
writeln('pomylka graficnogo regymu');
readln;
halt;
end;
end;
end.