Skip to content

Commit

Permalink
📜 Cleaning up old English content from the adventures (#5960)
Browse files Browse the repository at this point in the history
Removes all the english content from non english adventures yamls 

Co-Authored-By: Boryana Goncharenko <[email protected]>
  • Loading branch information
MarleenGilsing and boryanagoncharenko authored Nov 26, 2024
1 parent 62ba035 commit 7fdaf40
Show file tree
Hide file tree
Showing 30 changed files with 209 additions and 34,360 deletions.
1,273 changes: 0 additions & 1,273 deletions content/adventures/ar.yaml

Large diffs are not rendered by default.

1,872 changes: 49 additions & 1,823 deletions content/adventures/bg.yaml

Large diffs are not rendered by default.

2,012 changes: 2 additions & 2,010 deletions content/adventures/bn.yaml

Large diffs are not rendered by default.

996 changes: 1 addition & 995 deletions content/adventures/ca.yaml

Large diffs are not rendered by default.

1,967 changes: 79 additions & 1,888 deletions content/adventures/cs.yaml

Large diffs are not rendered by default.

1,697 changes: 0 additions & 1,697 deletions content/adventures/cy.yaml

Large diffs are not rendered by default.

1,175 changes: 0 additions & 1,175 deletions content/adventures/da.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/adventures/de.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1185,7 +1185,7 @@ adventures:
```
17:
story_text: |-
### Exercise
### Übung
Debugge diesen Code. Viel Glück!
example_code: |
**Warnung! Dieser Code muss debugged werden!**
Expand Down
1,324 changes: 1 addition & 1,323 deletions content/adventures/el.yaml

Large diffs are not rendered by default.

876 changes: 0 additions & 876 deletions content/adventures/eo.yaml

Large diffs are not rendered by default.

4 changes: 0 additions & 4 deletions content/adventures/es.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3115,10 +3115,6 @@ adventures:
_
```
4:
story_text: |
En este nivel podemos programar el juego de piedra, papel, tijera. Pero si quieres añadir texto, aquí también tienes que usar comillas.
### Exercise
Fill in quotation marks on the blanks. Mind that the variable `choices` should be outside the quotes.
example_code: "```\nopciones {is} piedra, papel, tijeras\n{print} _El ordenador elige..._ opciones {at} {random}\n```\n"
5:
story_text: |
Expand Down
1,984 changes: 0 additions & 1,984 deletions content/adventures/et.yaml

Large diffs are not rendered by default.

2,066 changes: 0 additions & 2,066 deletions content/adventures/fa.yaml

Large diffs are not rendered by default.

1,696 changes: 0 additions & 1,696 deletions content/adventures/fi.yaml

Large diffs are not rendered by default.

169 changes: 0 additions & 169 deletions content/adventures/fr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -521,30 +521,6 @@ adventures:
note_moyenne = {call} _
{print} 'Ta note moyenne est ' note_moyenne
```
calculator_2:
name: Calculatrice 2
default_save_name: Calculatrice 2
description: Calculatrice 2
levels:
14:
story_text: |
### Exercise 2
**This is the second part of this adventure.** The adventure starts in the previous tab.
Of course, you don't always want to calculate the mean of 4 tests. You might want to calculate the mean of 10 tests or only 2...
We can fix this problem by adding the argument and variable 'amount_of_tests'.
* Start a new line on line 3. Set the amount_of_tests argument by asking the student how many tests they have made.
* Change the 4 in line 4 to the new argument amount_of_tests.
* Lastly, change the 4 in line 6 to amount_of_tests
Try out your new program. Does it work ?
### Exercise 3
Did you want to make your program even better ? Great ! In the previous program you could only calculate the mean grade of 1 subject, but it would be better if you could calculate the mean grade for all subjects you want !
We won't tell you how to do it, but we will give you one tip : Start your code in line 1 with : define calculate_mean_grade with subject.
example_code: |
```
# Utilise ton code de l'aventure précédente.
```
clear_command:
description: La commande {clear}
levels:
Expand Down Expand Up @@ -832,164 +808,19 @@ adventures:
story_text: |-
### Exercice
Déboguez ce code. Bonne chance !
example_code: |
**Attention ! Ce code doit être débuggé !**
```
define calculate_heartbeat
print 'Press your fingertips gently against the side of your neck'
print '(just under your jawline)'
print 'Count the number of beats you feel for 15 seconds'
beats == ask 'How many beats do you feel in 15 seconds?'
heartbeat = beats*4
print 'Your heartbeat is ' heartbeat
if heartbeat >= 60 or heartbeat <= 100
print 'Your heartbeat seems fine'
else
if heartbeat > 60
print 'Your heartbeat seems to be too low'
if heartbeat < 100
print 'Your heartbeat seems to be too high'
print 'You might want to contact a medical professional'
measure_heartbeat = ask 'Would you like to measure your heartbeat?'
if measure_heartbeat = 'yes'
call measure_heartbeat
else
'no problem'
```
print '(just under your jawline)'
print 'Count the number of beats you feel for 15 seconds'
beats == ask 'How many beats do you feel in 15 seconds?'
heartbeat = beats*4
print 'Your heartbeat is ' heartbeat
if heartbeat >= 60 or heartbeat <= 100
print 'Your heartbeat seems fine'
else
if heartbeat > 60
print 'Your heartbeat seems to be too low'
if heartbeat < 100
print 'Your heartbeat seems to be too high'
print 'You might want to contact a medical professional'
measure_heartbeat = ask 'Would you like to measure your heartbeat?'
if measure_heartbeat = 'yes'
call measure_heartbeat
else
'no problem'
15:
story_text: |-
### Exercice
Déboguez cette histoire pour enfants. Bonne chance !
example_code: |
**Attention ! Ce code doit être débuggé !**
```
names = 'Tanya', 'Romy', 'Kayla', 'Aldrin', 'Ali'
verbs='walking', 'skipping', 'cycling', 'driving', 'running'
locations = 'on a mountaintop', 'in the supermarket', 'to the swimming pool'
hiding_spots = 'behind a tree', under a table', in a box'
sounds = 'a trumpet', 'a car crash', 'thunder'
causes_of_noise = 'a television', 'a kid with firecrackers', 'a magic elephant', 'a dream'
chosen_ name = names at random
chosen_verb = verbs at random
chosen_location = 'locations at random'
chosen_sounds = noises at random
chosen_spot = hiding_spots random
chosen_causes = causes_of_noise at random
print chosen_name ' was ' chosen_verb ' ' chosen_location
print 'when they suddenly heard a sound like ' sounds at random
print chosen_name ' looked around, but they couldn't discover where the noise came from'
print chosen_name ' hid ' chosen_spot'
print 'They tried to look around, but couldn't see anything from there'
hidden = 'yes'
while hidden = 'yes'
print chosen_name 'still didn't see anything'
answer = ask 'does ' chosen_name ' move from their hiding spot?'
if answer = 'yes'
hidden == 'no'
print 'chosen_name moved from' chosen_spot
print 'And then they saw it was just' chosen_cause
print chosen_name 'laughed and went on with their day'
print The End
```
16:
story_text: |-
### Exercice
Déboguer ce code. Bonne chance !
Astuce : Assurez-vous de ne voir votre score qu'une fois à la fin.
example_code: |
**Attention ! Ce code doit être débuggé !**
```
country = ['The Netherlands', 'Poland', 'Turkey', 'Zimbabwe', 'Thailand', 'Brasil', 'Peru', 'Australia', 'India', 'Romania' ]
capitals = 'Amsterdam', 'Warshaw' 'Istanbul', 'Harare', 'Bangkok', 'Brasilia', 'Lima', 'Canberra', 'New Delhi', 'Bucharest'
score = 0
for i in range 0 to 10
answer = ask 'What's the capital of ' countries[i]
correct = capital[i]
if answer = correct
print 'Correct!'
score = score + 1
else
print 'Wrong,' capitals[i] 'in the capital of' countries[i]
print 'You scored ' score ' out of 10'
```
17:
story_text: |-
### Exercice
Déboguez ce code. Bonne chance !
example_code: |
**Attention ! Ce code doit être débuggé !**
```
define food_order
toppings = ask 'pepperoni, tuna, veggie or cheese?'
size = ask 'big, medium or small?'
number_of_pizza = ask 'How many these pizzas would you like?'
print 'YOU ORDERED'
print number_of_pizzas ' size ' topping ' pizza'
define drinks_order
drink = ask 'water, coke, icetea, lemonade or coffee?'
number_of_drinks = ask 'How many of these drinks would you like?'
print 'YOU ORDERED'
print number_of_drinks ' ' drink
'Welcome to Hedy pizza'
more_food = ask 'Would you like to order a pizza?'
while more_food = 'yes'
return food_order
more_food = ask 'Would you like to order a pizza?'
more_drinks = ask 'Would you like to order some drinks?'
while more_drinks == 'yes'
call drink_order
more_drinks == ask 'Would you like to order more drinks?'
print 'Thanks for ordering!'
```
18:
example_code: |
**Attention ! Ce code doit être débuggé !**
```
animals = ['pig', 'dog', 'cow']
sounds = ['oink', 'woof', 'moo']
for i in range 1 to 3
animal = animals[i]
sound = sounds[i]
print 'Old MacDonald had a farm'
print 'E I E I O!'
print 'and on that farm he had a ' animal
print 'E I E I O!'
print 'with a ' sound sound ' here'
print 'and a ' sound sound ' there'
print 'here a ' sound
print 'there a ' sound
print 'everywhere a ' sound sound
```
default:
description: Explication du niveau
levels:
Expand Down
14 changes: 0 additions & 14 deletions content/adventures/fr_CA.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -532,20 +532,6 @@ adventures:
description: Calculatrice 2
levels:
14:
story_text: |
### Exercise 2
**This is the second part of this adventure.** The adventure starts in the previous tab.
Of course, you don't always want to calculate the mean of 4 tests. You might want to calculate the mean of 10 tests or only 2...
We can fix this problem by adding the argument and variable 'amount_of_tests'.
* Start a new line on line 3. Set the amount_of_tests argument by asking the student how many tests they have made.
* Change the 4 in line 4 to the new argument amount_of_tests.
* Lastly, change the 4 in line 6 to amount_of_tests
Try out your new program. Does it work ?
### Exercise 3
Did you want to make your program even better ? Great ! In the previous program you could only calculate the mean grade of 1 subject, but it would be better if you could calculate the mean grade for all subjects you want !
We won't tell you how to do it, but we will give you one tip : Start your code in line 1 with : define calculate_mean_grade with subject.
example_code: |
```
# Utilise ton code de l'aventure précédente.
Expand Down
Loading

0 comments on commit 7fdaf40

Please sign in to comment.