-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
preparing examples for the CWI open day
- Loading branch information
1 parent
6d33d68
commit 79a753f
Showing
4 changed files
with
42 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
// zo gaat het prima | ||
|
||
pen kleur zwart | ||
|
||
vooruit 100 | ||
rechts 90 | ||
vooruit 100 | ||
rechts 90 | ||
vooruit 100 | ||
rechts 90 | ||
vooruit 100 | ||
rechts 90 | ||
|
||
// maar dit is handiger | ||
|
||
pen kleur rood | ||
spring 120 | ||
|
||
herhaal 4 { | ||
vooruit 100 | ||
rechts 90 | ||
} | ||
|
||
// en hier spelen met letter formules: | ||
pen kleur blauw | ||
spring 120 | ||
|
||
afstand = 100 | ||
hoek = 60 | ||
|
||
herhaal 360 / hoek { | ||
vooruit afstand | ||
rechts hoek | ||
} |