Introducing Bricks Tutorial

From Progzoo
Jump to: navigation, search
Bricks Tutorials
Introduction
for loops
Pairs of loops
Nested loops

In the first tutorial you create patterns without using for loops.

Want to skip this?

Warming up

Bricks11.png
CommandMeaning
h(3)Draws 3 half bricks
r()Start a new row in front


The default program draws six lines of three bricks.

Draw six lines of five bricks.

[Font] [Default] [Show] [Resize] [History] [Profile]

Each Row is Different

Bricks12.png


Put 0 in the first row, 1 in the second row up to 5 in the last row.

[Font] [Default] [Show] [Resize] [History] [Profile]

Gaps

Bricks13.png
CommandMeaning
h()Draws a half brick
m()Leaves a half brick gap
r()Start a new row in front


Use bricks and misses.

[Font] [Default] [Show] [Resize] [History] [Profile]
Bricks Tutorials
Introduction
for loops
Pairs of loops
Nested loops