Skip to content

Commit

Permalink
Merge branch 'main' into quotes_5785
Browse files Browse the repository at this point in the history
  • Loading branch information
boryanagoncharenko authored Sep 20, 2024
2 parents 9a98c60 + 5a386a4 commit b33a4f4
Show file tree
Hide file tree
Showing 147 changed files with 3,810 additions and 9,644 deletions.
2 changes: 1 addition & 1 deletion content/adventures/ar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2482,7 +2482,7 @@ adventures:
### Exercise
Time to make your own variables!
In the example code we made an example of the variable `favorite_animal`. In line 1 the variable is set, and in line 2 we haved used the variable in a print command.
Firstly, finish our example by filling in your favorite animal in the blanks. Then make at least 3 of these codes yourself. Pick a variable, and set the variable with the {is} command. Then use it with a {print} command, just like we did.
Firstly, finish our example by filling in your favorite animal on the blank. Then make at least 3 of these codes yourself. Pick a variable, and set the variable with the {is} command. Then use it with a {print} command, just like we did.
example_code_2: |
```
favorite_animal {is} _
Expand Down
2 changes: 1 addition & 1 deletion content/adventures/bg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2618,7 +2618,7 @@ adventures:
### Exercise
Time to make your own variables!
In the example code we made an example of the variable `favorite_animal`. In line 1 the variable is set, and in line 2 we haved used the variable in a print command.
Firstly, finish our example by filling in your favorite animal in the blanks. Then make at least 3 of these codes yourself. Pick a variable, and set the variable with the {is} command. Then use it with a {print} command, just like we did.
Firstly, finish our example by filling in your favorite animal on the blank. Then make at least 3 of these codes yourself. Pick a variable, and set the variable with the {is} command. Then use it with a {print} command, just like we did.
example_code_2: |
```
favorite_animal {is} _
Expand Down
31 changes: 23 additions & 8 deletions content/adventures/bn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2542,7 +2542,7 @@ adventures:
### Exercise
Time to make your own variables!
In the example code we made an example of the variable `favorite_animal`. In line 1 the variable is set, and in line 2 we haved used the variable in a print command.
Firstly, finish our example by filling in your favorite animal in the blanks. Then make at least 3 of these codes yourself. Pick a variable, and set the variable with the {is} command. Then use it with a {print} command, just like we did.
Firstly, finish our example by filling in your favorite animal on the blank. Then make at least 3 of these codes yourself. Pick a variable, and set the variable with the {is} command. Then use it with a {print} command, just like we did.
example_code_2: |
```
favorite_animal {is} _
Expand Down Expand Up @@ -4570,18 +4570,31 @@ adventures:
```
2:
story_text: |
In this level you can use variables to make the turtle interactive. For example you can ask the player how many steps the turtle must make.
In level 1 the turtle could only turn left or right. That is a bit boring!
In level 2 he can point his nose in all directions.
Use 90 degrees to turn a quarter, 180 to turn half, and a full circle is 360 degrees.
### Exercise
This code now creates the letter T. Can you change it to make the letter B?
**Extra** Change the letter into a different letter, like the first one of your name.
You can also make multiple letters, by setting the color to `{color}` `{white}` in between.
example_code: |
```
answer {is} {ask} How many steps should the turtle make?
{forward} answer
{forward} 20
{turn} 90
{forward} 20
{turn} 180
{forward} 100
```
story_text_2: |
Also, in level 1 the turtle could only turn left or right. That is a bit boring!
In level 2 he can point his nose in all directions.
You can use variables to in the turtle `turn`.
### Exercise
Change the code such that it creates a triangle. Hint: you only have to change the code in one place.
Use 90 to turn a quarter. We call this degrees. A full turn is 360 degrees.
Can you make a figure with this code? Maybe a triangle or a circle?
example_code_2: |
```
{print} Drawing figures
Expand All @@ -4590,6 +4603,8 @@ adventures:
{forward} 25
{turn} angle
{forward} 25
{turn} angle
{forward} 25
```
3:
story_text: |
Expand Down
2 changes: 1 addition & 1 deletion content/adventures/cs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2586,7 +2586,7 @@ adventures:
### Exercise
Time to make your own variables!
In the example code we made an example of the variable `favorite_animal`. In line 1 the variable is set, and in line 2 we haved used the variable in a print command.
Firstly, finish our example by filling in your favorite animal in the blanks. Then make at least 3 of these codes yourself. Pick a variable, and set the variable with the {is} command. Then use it with a {print} command, just like we did.
Firstly, finish our example by filling in your favorite animal on the blank. Then make at least 3 of these codes yourself. Pick a variable, and set the variable with the {is} command. Then use it with a {print} command, just like we did.
example_code_2: |
```
favorite_animal {is} _
Expand Down
2 changes: 1 addition & 1 deletion content/adventures/cy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2605,7 +2605,7 @@ adventures:
### Exercise
Time to make your own variables!
In the example code we made an example of the variable `favorite_animal`. In line 1 the variable is set, and in line 2 we haved used the variable in a print command.
Firstly, finish our example by filling in your favorite animal in the blanks. Then make at least 3 of these codes yourself. Pick a variable, and set the variable with the {is} command. Then use it with a {print} command, just like we did.
Firstly, finish our example by filling in your favorite animal on the blank. Then make at least 3 of these codes yourself. Pick a variable, and set the variable with the {is} command. Then use it with a {print} command, just like we did.
example_code_2: |
```
favorite_animal {is} _
Expand Down
2 changes: 1 addition & 1 deletion content/adventures/da.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2602,7 +2602,7 @@ adventures:
### Exercise
Time to make your own variables!
In the example code we made an example of the variable `favorite_animal`. In line 1 the variable is set, and in line 2 we haved used the variable in a print command.
Firstly, finish our example by filling in your favorite animal in the blanks. Then make at least 3 of these codes yourself. Pick a variable, and set the variable with the {is} command. Then use it with a {print} command, just like we did.
Firstly, finish our example by filling in your favorite animal on the blank. Then make at least 3 of these codes yourself. Pick a variable, and set the variable with the {is} command. Then use it with a {print} command, just like we did.
example_code_2: |
```
favorite_animal {is} _
Expand Down
2 changes: 1 addition & 1 deletion content/adventures/el.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2495,7 +2495,7 @@ adventures:
### Exercise
Time to make your own variables!
In the example code we made an example of the variable `favorite_animal`. In line 1 the variable is set, and in line 2 we haved used the variable in a print command.
Firstly, finish our example by filling in your favorite animal in the blanks. Then make at least 3 of these codes yourself. Pick a variable, and set the variable with the {is} command. Then use it with a {print} command, just like we did.
Firstly, finish our example by filling in your favorite animal on the blank. Then make at least 3 of these codes yourself. Pick a variable, and set the variable with the {is} command. Then use it with a {print} command, just like we did.
example_code_2: |
```
favorite_animal {is} _
Expand Down
31 changes: 22 additions & 9 deletions content/adventures/en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2627,7 +2627,7 @@ adventures:
### Exercise
Time to make your own variables!
In the example code we made an example of the variable `favorite_animal`. In line 1 the variable is set, and in line 2 we used the variable in a `{print}` command.
Firstly, finish our example by filling in your favorite animal in the blanks. Then make at least 3 of these codes yourself. Pick a variable, and set the variable with the `{is}` command. Then use it with a `{print}` command, just like we did.
Firstly, finish our example by filling in your favorite animal on the blank. Then make at least 3 of these codes yourself. Pick a variable, and set the variable with the `{is}` command. Then use it with a `{print}` command, just like we did.
example_code_2: |
```
favorite_animal {is} _
Expand Down Expand Up @@ -4697,20 +4697,31 @@ adventures:
```
2:
story_text: |
In this level you can use variables to make the turtle interactive. For example you can ask the player how many steps the turtle must make.
In level 1 the turtle could only turn left or right. That is a bit boring!
In level 2 he can point his nose in all directions.
Use 90 degrees to turn a quarter, 180 to turn half, and a full circle is 360 degrees.
### Exercise
This code now creates the letter T. Can you change it to make the letter B?
**Extra** Change the letter into a different letter, like the first one of your name.
You can also make multiple letters, by setting the color to `{color}` `{white}` in between.
example_code: |
```
answer {is} {ask} How many steps should the turtle make?
{forward} answer
{forward} 20
{turn} 90
{forward} 20
{turn} 180
{forward} 100
```
story_text_2: |
Also, in level 1 the turtle could only turn left or right. That is a bit boring!
In level 2 he can point his nose in all directions.
Use 90 to turn a quarter. We call this degrees. A full turn is 360 degrees.
You can use variables to in the turtle `turn`.
### Exercise
Can you make a figure with this code? Maybe a triangle or a circle?
Change the code such that it creates a triangle. Hint: you only have to change the code in one place.
example_code_2: |
```
{print} Drawing figures
Expand All @@ -4719,6 +4730,8 @@ adventures:
{forward} 25
{turn} angle
{forward} 25
{turn} angle
{forward} 25
```
3:
story_text: |
Expand Down
Loading

0 comments on commit b33a4f4

Please sign in to comment.