Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

📜 Adds Snowflake drawing adventure #5434

Merged
merged 5 commits into from
Apr 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 23 additions & 2 deletions content/adventures/ar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4973,8 +4973,9 @@ adventures:
Recreate the drawings with the turtle!

<div class="w-full flex flex-row gap-2">
Beehive (6) <img src="https://github.com/hedyorg/hedy/assets/80678586/ec02469c-907b-4695-9382-d39a8f3c00ec" width="200">
Fan (5) <img src="https://github.com/hedyorg/hedy/assets/80678586/a032ab35-c70c-4e67-9b4e-036a03ecce87" width="200">
Beehive (6) <img src="https://github.com/hedyorg/hedy/assets/80678586/ec02469c-907b-4695-9382-d39a8f3c00ec" width="150">
Fan (5) <img src="https://github.com/hedyorg/hedy/assets/80678586/a032ab35-c70c-4e67-9b4e-036a03ecce87" width="150">
Snowflake (13) <img src="https://github.com/hedyorg/hedy/assets/80678586/90f56bbb-86e5-448d-8aec-16f8c2c05cf2" width="150">
</div>
example_code: |
Hint Beehive:
Expand All @@ -4989,6 +4990,8 @@ adventures:

Hint Fan:
Start out like the fan you made in level 7. Or take a peak at the hint for the beehive, because the codes are very similar.

Hint Snowflake: Start by making one 'leg' and repeat it 6 times.
12:
story_text: |
### Exercise
Expand Down Expand Up @@ -5022,6 +5025,7 @@ adventures:

Street in different sizes <img src="https://github.com/hedyorg/hedy/assets/80678586/cdae9d97-d5ef-46f3-8838-24fa7b5b1bec" width="300">
Colored street <img src="https://github.com/hedyorg/hedy/assets/80678586/9893e0bd-c0f8-49bc-a5a7-217182407724" width="300">
Snow Storm <img src="https://github.com/hedyorg/hedy/assets/80678586/111b0a1b-b0e1-47c3-b032-81cea05e6bbc" width="300">
example_code: |
Hint Street in different sizes
```
Expand All @@ -5038,6 +5042,23 @@ adventures:
{define} draw_a_house {with} chosen_color
_
```

Hint Snow Storm
```
{define} draw_snowflake {with} length, color
_

numbers = 10, 20, 30
colors = _

{for} i {in} {range} 1 {to} 5
random_number = _
random_color = _
{call} draw_snowflake {with} random_number, random_color
{color} white
{turn} random_number * 5
{forward} 80
```
14:
story_text: |
### Exercise
Expand Down
25 changes: 23 additions & 2 deletions content/adventures/bg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5116,8 +5116,9 @@ adventures:
Recreate the drawings with the turtle!

<div class="w-full flex flex-row gap-2">
Beehive (6) <img src="https://github.com/hedyorg/hedy/assets/80678586/ec02469c-907b-4695-9382-d39a8f3c00ec" width="200">
Fan (5) <img src="https://github.com/hedyorg/hedy/assets/80678586/a032ab35-c70c-4e67-9b4e-036a03ecce87" width="200">
Beehive (6) <img src="https://github.com/hedyorg/hedy/assets/80678586/ec02469c-907b-4695-9382-d39a8f3c00ec" width="150">
Fan (5) <img src="https://github.com/hedyorg/hedy/assets/80678586/a032ab35-c70c-4e67-9b4e-036a03ecce87" width="150">
Snowflake (13) <img src="https://github.com/hedyorg/hedy/assets/80678586/90f56bbb-86e5-448d-8aec-16f8c2c05cf2" width="150">
</div>
example_code: |
Hint Beehive:
Expand All @@ -5132,6 +5133,8 @@ adventures:

Hint Fan:
Start out like the fan you made in level 7. Or take a peak at the hint for the beehive, because the codes are very similar.

Hint Snowflake: Start by making one 'leg' and repeat it 6 times.
12:
story_text: |
### Exercise
Expand Down Expand Up @@ -5165,6 +5168,7 @@ adventures:

Street in different sizes <img src="https://github.com/hedyorg/hedy/assets/80678586/cdae9d97-d5ef-46f3-8838-24fa7b5b1bec" width="300">
Colored street <img src="https://github.com/hedyorg/hedy/assets/80678586/9893e0bd-c0f8-49bc-a5a7-217182407724" width="300">
Snow Storm <img src="https://github.com/hedyorg/hedy/assets/80678586/111b0a1b-b0e1-47c3-b032-81cea05e6bbc" width="300">
example_code: |
Hint Street in different sizes
```
Expand All @@ -5181,6 +5185,23 @@ adventures:
{define} draw_a_house {with} chosen_color
_
```

Hint Snow Storm
```
{define} draw_snowflake {with} length, color
_

numbers = 10, 20, 30
colors = _

{for} i {in} {range} 1 {to} 5
random_number = _
random_color = _
{call} draw_snowflake {with} random_number, random_color
{color} white
{turn} random_number * 5
{forward} 80
```
14:
story_text: |
### Exercise
Expand Down
25 changes: 23 additions & 2 deletions content/adventures/bn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5048,8 +5048,9 @@ adventures:
Recreate the drawings with the turtle!

<div class="w-full flex flex-row gap-2">
Beehive (6) <img src="https://github.com/hedyorg/hedy/assets/80678586/ec02469c-907b-4695-9382-d39a8f3c00ec" width="200">
Fan (5) <img src="https://github.com/hedyorg/hedy/assets/80678586/a032ab35-c70c-4e67-9b4e-036a03ecce87" width="200">
Beehive (6) <img src="https://github.com/hedyorg/hedy/assets/80678586/ec02469c-907b-4695-9382-d39a8f3c00ec" width="150">
Fan (5) <img src="https://github.com/hedyorg/hedy/assets/80678586/a032ab35-c70c-4e67-9b4e-036a03ecce87" width="150">
Snowflake (13) <img src="https://github.com/hedyorg/hedy/assets/80678586/90f56bbb-86e5-448d-8aec-16f8c2c05cf2" width="150">
</div>
example_code: |
Hint Beehive:
Expand All @@ -5064,6 +5065,8 @@ adventures:

Hint Fan:
Start out like the fan you made in level 7. Or take a peak at the hint for the beehive, because the codes are very similar.

Hint Snowflake: Start by making one 'leg' and repeat it 6 times.
12:
story_text: |
### Exercise
Expand Down Expand Up @@ -5097,6 +5100,7 @@ adventures:

Street in different sizes <img src="https://github.com/hedyorg/hedy/assets/80678586/cdae9d97-d5ef-46f3-8838-24fa7b5b1bec" width="300">
Colored street <img src="https://github.com/hedyorg/hedy/assets/80678586/9893e0bd-c0f8-49bc-a5a7-217182407724" width="300">
Snow Storm <img src="https://github.com/hedyorg/hedy/assets/80678586/111b0a1b-b0e1-47c3-b032-81cea05e6bbc" width="300">
example_code: |
Hint Street in different sizes
```
Expand All @@ -5113,6 +5117,23 @@ adventures:
{define} draw_a_house {with} chosen_color
_
```

Hint Snow Storm
```
{define} draw_snowflake {with} length, color
_

numbers = 10, 20, 30
colors = _

{for} i {in} {range} 1 {to} 5
random_number = _
random_color = _
{call} draw_snowflake {with} random_number, random_color
{color} white
{turn} random_number * 5
{forward} 80
```
14:
story_text: |
### Exercise
Expand Down
25 changes: 23 additions & 2 deletions content/adventures/ca.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5172,8 +5172,9 @@ adventures:
Recreate the drawings with the turtle!

<div class="w-full flex flex-row gap-2">
Beehive (6) <img src="https://github.com/hedyorg/hedy/assets/80678586/ec02469c-907b-4695-9382-d39a8f3c00ec" width="200">
Fan (5) <img src="https://github.com/hedyorg/hedy/assets/80678586/a032ab35-c70c-4e67-9b4e-036a03ecce87" width="200">
Beehive (6) <img src="https://github.com/hedyorg/hedy/assets/80678586/ec02469c-907b-4695-9382-d39a8f3c00ec" width="150">
Fan (5) <img src="https://github.com/hedyorg/hedy/assets/80678586/a032ab35-c70c-4e67-9b4e-036a03ecce87" width="150">
Snowflake (13) <img src="https://github.com/hedyorg/hedy/assets/80678586/90f56bbb-86e5-448d-8aec-16f8c2c05cf2" width="150">
</div>
example_code: |
Hint Beehive:
Expand All @@ -5188,6 +5189,8 @@ adventures:

Hint Fan:
Start out like the fan you made in level 7. Or take a peak at the hint for the beehive, because the codes are very similar.

Hint Snowflake: Start by making one 'leg' and repeat it 6 times.
12:
story_text: |
### Exercise
Expand Down Expand Up @@ -5221,6 +5224,7 @@ adventures:

Street in different sizes <img src="https://github.com/hedyorg/hedy/assets/80678586/cdae9d97-d5ef-46f3-8838-24fa7b5b1bec" width="300">
Colored street <img src="https://github.com/hedyorg/hedy/assets/80678586/9893e0bd-c0f8-49bc-a5a7-217182407724" width="300">
Snow Storm <img src="https://github.com/hedyorg/hedy/assets/80678586/111b0a1b-b0e1-47c3-b032-81cea05e6bbc" width="300">
example_code: |
Hint Street in different sizes
```
Expand All @@ -5237,6 +5241,23 @@ adventures:
{define} draw_a_house {with} chosen_color
_
```

Hint Snow Storm
```
{define} draw_snowflake {with} length, color
_

numbers = 10, 20, 30
colors = _

{for} i {in} {range} 1 {to} 5
random_number = _
random_color = _
{call} draw_snowflake {with} random_number, random_color
{color} white
{turn} random_number * 5
{forward} 80
```
14:
story_text: |
### Exercise
Expand Down
25 changes: 23 additions & 2 deletions content/adventures/cs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5148,8 +5148,9 @@ adventures:
Recreate the drawings with the turtle!

<div class="w-full flex flex-row gap-2">
Beehive (6) <img src="https://github.com/hedyorg/hedy/assets/80678586/ec02469c-907b-4695-9382-d39a8f3c00ec" width="200">
Fan (5) <img src="https://github.com/hedyorg/hedy/assets/80678586/a032ab35-c70c-4e67-9b4e-036a03ecce87" width="200">
Beehive (6) <img src="https://github.com/hedyorg/hedy/assets/80678586/ec02469c-907b-4695-9382-d39a8f3c00ec" width="150">
Fan (5) <img src="https://github.com/hedyorg/hedy/assets/80678586/a032ab35-c70c-4e67-9b4e-036a03ecce87" width="150">
Snowflake (13) <img src="https://github.com/hedyorg/hedy/assets/80678586/90f56bbb-86e5-448d-8aec-16f8c2c05cf2" width="150">
</div>
example_code: |
Hint Beehive:
Expand All @@ -5164,6 +5165,8 @@ adventures:

Hint Fan:
Start out like the fan you made in level 7. Or take a peak at the hint for the beehive, because the codes are very similar.

Hint Snowflake: Start by making one 'leg' and repeat it 6 times.
12:
story_text: |
### Exercise
Expand Down Expand Up @@ -5197,6 +5200,7 @@ adventures:

Street in different sizes <img src="https://github.com/hedyorg/hedy/assets/80678586/cdae9d97-d5ef-46f3-8838-24fa7b5b1bec" width="300">
Colored street <img src="https://github.com/hedyorg/hedy/assets/80678586/9893e0bd-c0f8-49bc-a5a7-217182407724" width="300">
Snow Storm <img src="https://github.com/hedyorg/hedy/assets/80678586/111b0a1b-b0e1-47c3-b032-81cea05e6bbc" width="300">
example_code: |
Hint Street in different sizes
```
Expand All @@ -5213,6 +5217,23 @@ adventures:
{define} draw_a_house {with} chosen_color
_
```

Hint Snow Storm
```
{define} draw_snowflake {with} length, color
_

numbers = 10, 20, 30
colors = _

{for} i {in} {range} 1 {to} 5
random_number = _
random_color = _
{call} draw_snowflake {with} random_number, random_color
{color} white
{turn} random_number * 5
{forward} 80
```
14:
story_text: |
### Exercise
Expand Down
25 changes: 23 additions & 2 deletions content/adventures/cy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5126,8 +5126,9 @@ adventures:
Recreate the drawings with the turtle!

<div class="w-full flex flex-row gap-2">
Beehive (6) <img src="https://github.com/hedyorg/hedy/assets/80678586/ec02469c-907b-4695-9382-d39a8f3c00ec" width="200">
Fan (5) <img src="https://github.com/hedyorg/hedy/assets/80678586/a032ab35-c70c-4e67-9b4e-036a03ecce87" width="200">
Beehive (6) <img src="https://github.com/hedyorg/hedy/assets/80678586/ec02469c-907b-4695-9382-d39a8f3c00ec" width="150">
Fan (5) <img src="https://github.com/hedyorg/hedy/assets/80678586/a032ab35-c70c-4e67-9b4e-036a03ecce87" width="150">
Snowflake (13) <img src="https://github.com/hedyorg/hedy/assets/80678586/90f56bbb-86e5-448d-8aec-16f8c2c05cf2" width="150">
</div>
example_code: |
Hint Beehive:
Expand All @@ -5142,6 +5143,8 @@ adventures:

Hint Fan:
Start out like the fan you made in level 7. Or take a peak at the hint for the beehive, because the codes are very similar.

Hint Snowflake: Start by making one 'leg' and repeat it 6 times.
12:
story_text: |
### Exercise
Expand Down Expand Up @@ -5175,6 +5178,7 @@ adventures:

Street in different sizes <img src="https://github.com/hedyorg/hedy/assets/80678586/cdae9d97-d5ef-46f3-8838-24fa7b5b1bec" width="300">
Colored street <img src="https://github.com/hedyorg/hedy/assets/80678586/9893e0bd-c0f8-49bc-a5a7-217182407724" width="300">
Snow Storm <img src="https://github.com/hedyorg/hedy/assets/80678586/111b0a1b-b0e1-47c3-b032-81cea05e6bbc" width="300">
example_code: |
Hint Street in different sizes
```
Expand All @@ -5191,6 +5195,23 @@ adventures:
{define} draw_a_house {with} chosen_color
_
```

Hint Snow Storm
```
{define} draw_snowflake {with} length, color
_

numbers = 10, 20, 30
colors = _

{for} i {in} {range} 1 {to} 5
random_number = _
random_color = _
{call} draw_snowflake {with} random_number, random_color
{color} white
{turn} random_number * 5
{forward} 80
```
14:
story_text: |
### Exercise
Expand Down
25 changes: 23 additions & 2 deletions content/adventures/da.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5124,8 +5124,9 @@ adventures:
Recreate the drawings with the turtle!

<div class="w-full flex flex-row gap-2">
Beehive (6) <img src="https://github.com/hedyorg/hedy/assets/80678586/ec02469c-907b-4695-9382-d39a8f3c00ec" width="200">
Fan (5) <img src="https://github.com/hedyorg/hedy/assets/80678586/a032ab35-c70c-4e67-9b4e-036a03ecce87" width="200">
Beehive (6) <img src="https://github.com/hedyorg/hedy/assets/80678586/ec02469c-907b-4695-9382-d39a8f3c00ec" width="150">
Fan (5) <img src="https://github.com/hedyorg/hedy/assets/80678586/a032ab35-c70c-4e67-9b4e-036a03ecce87" width="150">
Snowflake (13) <img src="https://github.com/hedyorg/hedy/assets/80678586/90f56bbb-86e5-448d-8aec-16f8c2c05cf2" width="150">
</div>
example_code: |
Hint Beehive:
Expand All @@ -5140,6 +5141,8 @@ adventures:

Hint Fan:
Start out like the fan you made in level 7. Or take a peak at the hint for the beehive, because the codes are very similar.

Hint Snowflake: Start by making one 'leg' and repeat it 6 times.
12:
story_text: |
### Exercise
Expand Down Expand Up @@ -5173,6 +5176,7 @@ adventures:

Street in different sizes <img src="https://github.com/hedyorg/hedy/assets/80678586/cdae9d97-d5ef-46f3-8838-24fa7b5b1bec" width="300">
Colored street <img src="https://github.com/hedyorg/hedy/assets/80678586/9893e0bd-c0f8-49bc-a5a7-217182407724" width="300">
Snow Storm <img src="https://github.com/hedyorg/hedy/assets/80678586/111b0a1b-b0e1-47c3-b032-81cea05e6bbc" width="300">
example_code: |
Hint Street in different sizes
```
Expand All @@ -5189,6 +5193,23 @@ adventures:
{define} draw_a_house {with} chosen_color
_
```

Hint Snow Storm
```
{define} draw_snowflake {with} length, color
_

numbers = 10, 20, 30
colors = _

{for} i {in} {range} 1 {to} 5
random_number = _
random_color = _
{call} draw_snowflake {with} random_number, random_color
{color} white
{turn} random_number * 5
{forward} 80
```
14:
story_text: |
### Exercise
Expand Down
Loading
Loading