Computer Science Canada

Lame Fence

Author:  ruff_riders91 [ Mon Jan 05, 2004 10:07 am ]
Post subject:  Lame Fence

Here is a Lame Fence we did in class
code:
%Created by Joey
var g, w, l, rail_y, rail_y2, x : int
g := maxx div 97
w := 2 * g
rail_y := 100
rail_y2 := maxy - 100
x := 0
drawfillbox (x, rail_y, maxx, rail_y + g, brown)
drawfillbox (x, rail_y2, maxx, rail_y2 + g, brown)
for i : 1 .. 35
    drawfillbox (x + g, rail_y-g, x + g + w, rail_y2 + 2*g, brown)
    x := x + g + w
end for


Author:  koby93 [ Mon Jan 05, 2004 10:22 am ]
Post subject: 

Smile Nice

Author:  Rowah [ Mon Jan 05, 2004 3:27 pm ]
Post subject:  Nice

"Lame" or not, looks pretty cool *Thumbs up*

Author:  shorthair [ Wed Jan 07, 2004 10:46 am ]
Post subject: 

you worked to hard on that , but it looks cool , i have one where the sun goes past and it turns to night time


: