Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dLeft:
- for z:=1to 3do
- for q:=1to 4do
- for b:=1to 3do
- begin
- if score then
- begin
- if a[q,b]=a[q,b+1] then
- a[q,b]:=a[q,b]+a[q,b+1];a[q,b+1]:=0;
- end
- else
- if a[q,b]=0 then
- begin
- a[q,b]:=a[q,b+1];a[q,b+1]:=0;
- end;
- end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement