var row, col : int
row := 10
col := 1
var starx : int
var stary : int
drawfillbox (0, 0, maxx, maxy, black)
drawfillbox (0, maxy, maxx, 210, blue)
drawfilloval (400, 300, 30, 30, white)
for x : 1 .. 50
randint (starx, 10, maxx - 10)
randint (stary, 210, maxy - 10)
drawfillstar (starx, stary, starx + 10, stary + 10, yellow)
delay (50)
end for
for y : 1 .. 57
colourback (blue)
locate (row, col)
colour (brightred)
put " xxxxxxx " ..
locate (row + 1, col)
colour (brightred)
put "xxxxxxxx xxxxxxxX" ..
locate (row + 2, col)
colour (brightred)
put "xxxxxxxx xxxxxxxX" ..
locate (row + 3, col)
colour (brightred)
colourback (black)
put "xxOxxxxxxxxxxxxxxx0xxx" ..
colourback (blue)
delay (50)
colour (blue)
colourback (blue)
locate (row, col)
colour (brightred)
put " xxxxxxx " ..
locate (row + 1, col)
colour (blue)
put "xxxxxxxx xxxxxxxX" ..
locate (row + 2, col)
colourback (blue)
colour (blue)
put "xxxxxxxx xxxxxxxX" ..
locate (row + 3, col)
colour (black)
colourback (black)
put "xxOxxxxxxxxxxxxxxx0xxx" ..
col := col + 1
delay (50)
end for
for y : 1 .. 57
colourback (blue)
locate (row, col)
colour (brightred)
put " xxxxxxx " ..
locate (row + 1, col)
colour (brightred)
put "xxxxxxxx xxxxxxxX" ..
locate (row + 2, col)
colour (brightred)
put "xxxxxxxx xxxxxxxX" ..
locate (row + 3, col)
colour (brightred)
colourback (black)
put "xxOxxxxxxxxxxxxxxx0xxx" ..
colourback (blue)
delay (50)
colour (blue)
colourback (blue)
locate (row, col)
colour (brightred)
put " xxxxxxx " ..
locate (row + 1, col)
colour (blue)
put "xxxxxxxx xxxxxxxX" ..
locate (row + 2, col)
colourback (blue)
colour (blue)
put "xxxxxxxx xxxxxxxX" ..
locate (row + 3, col)
colour (black)
colourback (black)
put "xxOxxxxxxxxxxxxxxx0xxx" ..
col := col - 1
delay (50)
end for
View.Update
|