From 13350d572eb656fe0b67d03c9b14ae95f2bd93b4 Mon Sep 17 00:00:00 2001 From: MarleenGilsing <80678586+MarleenGilsing@users.noreply.github.com> Date: Fri, 19 Apr 2024 08:27:25 +0200 Subject: [PATCH 1/9] =?UTF-8?q?=F0=9F=93=9C=20Adds=20more=20debugging=20sl?= =?UTF-8?q?ides=20(#5435)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds more debugging slides in all languages --- content/slides/ar.yaml | 85 +++++++++++++++++++++++++++++++++++-- content/slides/bg.yaml | 85 +++++++++++++++++++++++++++++++++++-- content/slides/bn.yaml | 85 +++++++++++++++++++++++++++++++++++-- content/slides/ca.yaml | 85 +++++++++++++++++++++++++++++++++++-- content/slides/cs.yaml | 85 +++++++++++++++++++++++++++++++++++-- content/slides/cy.yaml | 85 +++++++++++++++++++++++++++++++++++-- content/slides/da.yaml | 85 +++++++++++++++++++++++++++++++++++-- content/slides/de.yaml | 85 +++++++++++++++++++++++++++++++++++-- content/slides/el.yaml | 85 +++++++++++++++++++++++++++++++++++-- content/slides/en.yaml | 81 +++++++++++++++++++++++++++++++++++ content/slides/eo.yaml | 85 +++++++++++++++++++++++++++++++++++-- content/slides/es.yaml | 81 +++++++++++++++++++++++++++++++++++ content/slides/et.yaml | 85 +++++++++++++++++++++++++++++++++++-- content/slides/fa.yaml | 85 +++++++++++++++++++++++++++++++++++-- content/slides/fi.yaml | 85 +++++++++++++++++++++++++++++++++++-- content/slides/fr.yaml | 85 +++++++++++++++++++++++++++++++++++-- content/slides/fy.yaml | 85 +++++++++++++++++++++++++++++++++++-- content/slides/he.yaml | 85 +++++++++++++++++++++++++++++++++++-- content/slides/hi.yaml | 85 +++++++++++++++++++++++++++++++++++-- content/slides/hu.yaml | 85 +++++++++++++++++++++++++++++++++++-- content/slides/ia.yaml | 85 +++++++++++++++++++++++++++++++++++-- content/slides/id.yaml | 81 +++++++++++++++++++++++++++++++++++ content/slides/it.yaml | 85 +++++++++++++++++++++++++++++++++++-- content/slides/ja.yaml | 85 +++++++++++++++++++++++++++++++++++-- content/slides/kmr.yaml | 85 +++++++++++++++++++++++++++++++++++-- content/slides/ko.yaml | 81 +++++++++++++++++++++++++++++++++++ content/slides/mi.yaml | 85 +++++++++++++++++++++++++++++++++++-- content/slides/nb_NO.yaml | 85 +++++++++++++++++++++++++++++++++++-- content/slides/nl.yaml | 81 +++++++++++++++++++++++++++++++++++ content/slides/pa_PK.yaml | 85 +++++++++++++++++++++++++++++++++++-- content/slides/pap.yaml | 85 +++++++++++++++++++++++++++++++++++-- content/slides/pl.yaml | 85 +++++++++++++++++++++++++++++++++++-- content/slides/pt_BR.yaml | 85 +++++++++++++++++++++++++++++++++++-- content/slides/pt_PT.yaml | 85 +++++++++++++++++++++++++++++++++++-- content/slides/ro.yaml | 85 +++++++++++++++++++++++++++++++++++-- content/slides/ru.yaml | 85 +++++++++++++++++++++++++++++++++++-- content/slides/sl.yaml | 85 +++++++++++++++++++++++++++++++++++-- content/slides/sq.yaml | 85 +++++++++++++++++++++++++++++++++++-- content/slides/sr.yaml | 85 +++++++++++++++++++++++++++++++++++-- content/slides/sv.yaml | 59 +++++++++++++++++++++++++ content/slides/sw.yaml | 85 +++++++++++++++++++++++++++++++++++-- content/slides/te.yaml | 85 +++++++++++++++++++++++++++++++++++-- content/slides/th.yaml | 85 +++++++++++++++++++++++++++++++++++-- content/slides/tl.yaml | 85 +++++++++++++++++++++++++++++++++++-- content/slides/tn.yaml | 85 +++++++++++++++++++++++++++++++++++-- content/slides/tr.yaml | 81 +++++++++++++++++++++++++++++++++++ content/slides/uk.yaml | 85 +++++++++++++++++++++++++++++++++++-- content/slides/ur.yaml | 85 +++++++++++++++++++++++++++++++++++-- content/slides/vi.yaml | 85 +++++++++++++++++++++++++++++++++++-- content/slides/zh_Hans.yaml | 81 +++++++++++++++++++++++++++++++++++ content/slides/zh_Hant.yaml | 85 +++++++++++++++++++++++++++++++++++-- 51 files changed, 4109 insertions(+), 172 deletions(-) diff --git a/content/slides/ar.yaml b/content/slides/ar.yaml index 5aa223eca50..fe6dbe01012 100644 --- a/content/slides/ar.yaml +++ b/content/slides/ar.yaml @@ -1043,6 +1043,32 @@ levels: answer = {ask} 'What is 5 times 5?' {print} 'A correct answer has been given' 3: + header: Debugging + text: Let's debug this code! + code: |- + numbers = 1, 2 + + {for} i {in} {range} 3 {to} 50 + {add} x {to} numbers + i = + 1 + + random_number = numbers {random} + guesses = 10 + + {while} guess = 0 + answer = 'Guess my number:' + {if} answer >= random_number + {print} 'lower' + guesses = guesses -1 + {if} answer > random_number + {print} 'higher!' + guesses = guesses + {else} answer = random_number + {print} 'correct' + guesses = 10 + + debug: 'True' + 4: header: Let's try it out! text: Enjoy the adventures in level 15! 16: @@ -1062,8 +1088,39 @@ levels: {for} i {in} {range} 1 {to} 3 {print} friends[i] 's lucky number is ' lucky_numbers[i] 3: - header: Let's try it out! - text: Enjoy the adventures in level 16! + header: Debugging + text: Let's debug this code! + code: |- + {print} 'Friendship test' + {subjects} = ['song', 'movie', 'food', 'drink'] + answers_player_1 = [] + answers_player_2 = [] + score = 100 + + {for} i {in} {range} 1 {to} 4 + answer = {ask} 'what is your favorite ' subjects[i] + {add} answer {to} answers_player_1 + + {print} 'Player 2, your turn!' + {for} i {in} {range} 0 {to} 4 + answer_player_2 = {ask} 'what is player 1s favorite ' subjects + {add} answer_player_2 {in} answers_player_2 + {if} answers_player_2[2] == answers_player_1[1] + {print} 'Correct!' + {else} + {print} 'Wrong!' + score = score - 25 + + {print} 'Player 2, you've scored ' score '%' + + {if} score = 100 + {print} 'You are an amazing friend' + {if} score < 100 {or} score >= 50 + {print} 'You could do better' + {else} score < 50 + {print} 'Do you even know this person?!' + debug: 'True' + 4: 17: 1: header: Welcome to level 17 @@ -1093,8 +1150,28 @@ levels: {else}: {print} 'Better luck next time..' 4: - header: Let's try it out! - text: Enjoy the adventures in level 17! + header: Debugging + text: Let's debug this code! + code: |- + {define} ask_direction + direction = {ask} 'Where do you want to go?' + {if} direction = 'backwards' + {turn} 180 + {else} direction == 'right' + {turn} 90 + {else} direction == 'left' + {turn} 270 + {forward} 100 + + continue = 'yes' + + {while} continue == 'yes' + {print} ask_direction + {sleep} + continue = 'do you want to draw some more?' + {sleep} + debug: 'True' + 5: 18: 1: header: Welcome to level 18 diff --git a/content/slides/bg.yaml b/content/slides/bg.yaml index c24831668ed..fc67d5e9300 100644 --- a/content/slides/bg.yaml +++ b/content/slides/bg.yaml @@ -1044,6 +1044,32 @@ levels: answer = {ask} 'What is 5 times 5?' {print} 'A correct answer has been given' 3: + header: Debugging + text: Let's debug this code! + code: |- + numbers = 1, 2 + + {for} i {in} {range} 3 {to} 50 + {add} x {to} numbers + i = + 1 + + random_number = numbers {random} + guesses = 10 + + {while} guess = 0 + answer = 'Guess my number:' + {if} answer >= random_number + {print} 'lower' + guesses = guesses -1 + {if} answer > random_number + {print} 'higher!' + guesses = guesses + {else} answer = random_number + {print} 'correct' + guesses = 10 + + debug: 'True' + 4: header: Let's try it out! text: Enjoy the adventures in level 15! 16: @@ -1063,8 +1089,39 @@ levels: {for} i {in} {range} 1 {to} 3 {print} friends[i] 's lucky number is ' lucky_numbers[i] 3: - header: Let's try it out! - text: Enjoy the adventures in level 16! + header: Debugging + text: Let's debug this code! + code: |- + {print} 'Friendship test' + {subjects} = ['song', 'movie', 'food', 'drink'] + answers_player_1 = [] + answers_player_2 = [] + score = 100 + + {for} i {in} {range} 1 {to} 4 + answer = {ask} 'what is your favorite ' subjects[i] + {add} answer {to} answers_player_1 + + {print} 'Player 2, your turn!' + {for} i {in} {range} 0 {to} 4 + answer_player_2 = {ask} 'what is player 1s favorite ' subjects + {add} answer_player_2 {in} answers_player_2 + {if} answers_player_2[2] == answers_player_1[1] + {print} 'Correct!' + {else} + {print} 'Wrong!' + score = score - 25 + + {print} 'Player 2, you've scored ' score '%' + + {if} score = 100 + {print} 'You are an amazing friend' + {if} score < 100 {or} score >= 50 + {print} 'You could do better' + {else} score < 50 + {print} 'Do you even know this person?!' + debug: 'True' + 4: 17: 1: header: Welcome to level 17 @@ -1094,8 +1151,28 @@ levels: {else}: {print} 'Better luck next time..' 4: - header: Let's try it out! - text: Enjoy the adventures in level 17! + header: Debugging + text: Let's debug this code! + code: |- + {define} ask_direction + direction = {ask} 'Where do you want to go?' + {if} direction = 'backwards' + {turn} 180 + {else} direction == 'right' + {turn} 90 + {else} direction == 'left' + {turn} 270 + {forward} 100 + + continue = 'yes' + + {while} continue == 'yes' + {print} ask_direction + {sleep} + continue = 'do you want to draw some more?' + {sleep} + debug: 'True' + 5: 18: 1: header: Welcome to level 18 diff --git a/content/slides/bn.yaml b/content/slides/bn.yaml index 9479d65a273..041f16037b5 100644 --- a/content/slides/bn.yaml +++ b/content/slides/bn.yaml @@ -1042,6 +1042,32 @@ levels: answer = {ask} 'What is 5 times 5?' {print} 'A correct answer has been given' 3: + header: Debugging + text: Let's debug this code! + code: |- + numbers = 1, 2 + + {for} i {in} {range} 3 {to} 50 + {add} x {to} numbers + i = + 1 + + random_number = numbers {random} + guesses = 10 + + {while} guess = 0 + answer = 'Guess my number:' + {if} answer >= random_number + {print} 'lower' + guesses = guesses -1 + {if} answer > random_number + {print} 'higher!' + guesses = guesses + {else} answer = random_number + {print} 'correct' + guesses = 10 + + debug: 'True' + 4: header: Let's try it out! text: Enjoy the adventures in level 15! 16: @@ -1061,8 +1087,39 @@ levels: {for} i {in} {range} 1 {to} 3 {print} friends[i] 's lucky number is ' lucky_numbers[i] 3: - header: Let's try it out! - text: Enjoy the adventures in level 16! + header: Debugging + text: Let's debug this code! + code: |- + {print} 'Friendship test' + {subjects} = ['song', 'movie', 'food', 'drink'] + answers_player_1 = [] + answers_player_2 = [] + score = 100 + + {for} i {in} {range} 1 {to} 4 + answer = {ask} 'what is your favorite ' subjects[i] + {add} answer {to} answers_player_1 + + {print} 'Player 2, your turn!' + {for} i {in} {range} 0 {to} 4 + answer_player_2 = {ask} 'what is player 1s favorite ' subjects + {add} answer_player_2 {in} answers_player_2 + {if} answers_player_2[2] == answers_player_1[1] + {print} 'Correct!' + {else} + {print} 'Wrong!' + score = score - 25 + + {print} 'Player 2, you've scored ' score '%' + + {if} score = 100 + {print} 'You are an amazing friend' + {if} score < 100 {or} score >= 50 + {print} 'You could do better' + {else} score < 50 + {print} 'Do you even know this person?!' + debug: 'True' + 4: 17: 1: header: Welcome to level 17 @@ -1092,8 +1149,28 @@ levels: {else}: {print} 'Better luck next time..' 4: - header: Let's try it out! - text: Enjoy the adventures in level 17! + header: Debugging + text: Let's debug this code! + code: |- + {define} ask_direction + direction = {ask} 'Where do you want to go?' + {if} direction = 'backwards' + {turn} 180 + {else} direction == 'right' + {turn} 90 + {else} direction == 'left' + {turn} 270 + {forward} 100 + + continue = 'yes' + + {while} continue == 'yes' + {print} ask_direction + {sleep} + continue = 'do you want to draw some more?' + {sleep} + debug: 'True' + 5: 18: 1: header: Welcome to level 18 diff --git a/content/slides/ca.yaml b/content/slides/ca.yaml index af79ab2926a..ac1c7016e41 100644 --- a/content/slides/ca.yaml +++ b/content/slides/ca.yaml @@ -1044,6 +1044,32 @@ levels: answer = {ask} 'What is 5 times 5?' {print} 'A correct answer has been given' 3: + header: Debugging + text: Let's debug this code! + code: |- + numbers = 1, 2 + + {for} i {in} {range} 3 {to} 50 + {add} x {to} numbers + i = + 1 + + random_number = numbers {random} + guesses = 10 + + {while} guess = 0 + answer = 'Guess my number:' + {if} answer >= random_number + {print} 'lower' + guesses = guesses -1 + {if} answer > random_number + {print} 'higher!' + guesses = guesses + {else} answer = random_number + {print} 'correct' + guesses = 10 + + debug: 'True' + 4: header: Let's try it out! text: Enjoy the adventures in level 15! 16: @@ -1063,8 +1089,39 @@ levels: {for} i {in} {range} 1 {to} 3 {print} friends[i] 's lucky number is ' lucky_numbers[i] 3: - header: Let's try it out! - text: Enjoy the adventures in level 16! + header: Debugging + text: Let's debug this code! + code: |- + {print} 'Friendship test' + {subjects} = ['song', 'movie', 'food', 'drink'] + answers_player_1 = [] + answers_player_2 = [] + score = 100 + + {for} i {in} {range} 1 {to} 4 + answer = {ask} 'what is your favorite ' subjects[i] + {add} answer {to} answers_player_1 + + {print} 'Player 2, your turn!' + {for} i {in} {range} 0 {to} 4 + answer_player_2 = {ask} 'what is player 1s favorite ' subjects + {add} answer_player_2 {in} answers_player_2 + {if} answers_player_2[2] == answers_player_1[1] + {print} 'Correct!' + {else} + {print} 'Wrong!' + score = score - 25 + + {print} 'Player 2, you've scored ' score '%' + + {if} score = 100 + {print} 'You are an amazing friend' + {if} score < 100 {or} score >= 50 + {print} 'You could do better' + {else} score < 50 + {print} 'Do you even know this person?!' + debug: 'True' + 4: 17: 1: header: Welcome to level 17 @@ -1094,8 +1151,28 @@ levels: {else}: {print} 'Better luck next time..' 4: - header: Let's try it out! - text: Enjoy the adventures in level 17! + header: Debugging + text: Let's debug this code! + code: |- + {define} ask_direction + direction = {ask} 'Where do you want to go?' + {if} direction = 'backwards' + {turn} 180 + {else} direction == 'right' + {turn} 90 + {else} direction == 'left' + {turn} 270 + {forward} 100 + + continue = 'yes' + + {while} continue == 'yes' + {print} ask_direction + {sleep} + continue = 'do you want to draw some more?' + {sleep} + debug: 'True' + 5: 18: 1: header: Welcome to level 18 diff --git a/content/slides/cs.yaml b/content/slides/cs.yaml index 9479d65a273..041f16037b5 100644 --- a/content/slides/cs.yaml +++ b/content/slides/cs.yaml @@ -1042,6 +1042,32 @@ levels: answer = {ask} 'What is 5 times 5?' {print} 'A correct answer has been given' 3: + header: Debugging + text: Let's debug this code! + code: |- + numbers = 1, 2 + + {for} i {in} {range} 3 {to} 50 + {add} x {to} numbers + i = + 1 + + random_number = numbers {random} + guesses = 10 + + {while} guess = 0 + answer = 'Guess my number:' + {if} answer >= random_number + {print} 'lower' + guesses = guesses -1 + {if} answer > random_number + {print} 'higher!' + guesses = guesses + {else} answer = random_number + {print} 'correct' + guesses = 10 + + debug: 'True' + 4: header: Let's try it out! text: Enjoy the adventures in level 15! 16: @@ -1061,8 +1087,39 @@ levels: {for} i {in} {range} 1 {to} 3 {print} friends[i] 's lucky number is ' lucky_numbers[i] 3: - header: Let's try it out! - text: Enjoy the adventures in level 16! + header: Debugging + text: Let's debug this code! + code: |- + {print} 'Friendship test' + {subjects} = ['song', 'movie', 'food', 'drink'] + answers_player_1 = [] + answers_player_2 = [] + score = 100 + + {for} i {in} {range} 1 {to} 4 + answer = {ask} 'what is your favorite ' subjects[i] + {add} answer {to} answers_player_1 + + {print} 'Player 2, your turn!' + {for} i {in} {range} 0 {to} 4 + answer_player_2 = {ask} 'what is player 1s favorite ' subjects + {add} answer_player_2 {in} answers_player_2 + {if} answers_player_2[2] == answers_player_1[1] + {print} 'Correct!' + {else} + {print} 'Wrong!' + score = score - 25 + + {print} 'Player 2, you've scored ' score '%' + + {if} score = 100 + {print} 'You are an amazing friend' + {if} score < 100 {or} score >= 50 + {print} 'You could do better' + {else} score < 50 + {print} 'Do you even know this person?!' + debug: 'True' + 4: 17: 1: header: Welcome to level 17 @@ -1092,8 +1149,28 @@ levels: {else}: {print} 'Better luck next time..' 4: - header: Let's try it out! - text: Enjoy the adventures in level 17! + header: Debugging + text: Let's debug this code! + code: |- + {define} ask_direction + direction = {ask} 'Where do you want to go?' + {if} direction = 'backwards' + {turn} 180 + {else} direction == 'right' + {turn} 90 + {else} direction == 'left' + {turn} 270 + {forward} 100 + + continue = 'yes' + + {while} continue == 'yes' + {print} ask_direction + {sleep} + continue = 'do you want to draw some more?' + {sleep} + debug: 'True' + 5: 18: 1: header: Welcome to level 18 diff --git a/content/slides/cy.yaml b/content/slides/cy.yaml index 9479d65a273..041f16037b5 100644 --- a/content/slides/cy.yaml +++ b/content/slides/cy.yaml @@ -1042,6 +1042,32 @@ levels: answer = {ask} 'What is 5 times 5?' {print} 'A correct answer has been given' 3: + header: Debugging + text: Let's debug this code! + code: |- + numbers = 1, 2 + + {for} i {in} {range} 3 {to} 50 + {add} x {to} numbers + i = + 1 + + random_number = numbers {random} + guesses = 10 + + {while} guess = 0 + answer = 'Guess my number:' + {if} answer >= random_number + {print} 'lower' + guesses = guesses -1 + {if} answer > random_number + {print} 'higher!' + guesses = guesses + {else} answer = random_number + {print} 'correct' + guesses = 10 + + debug: 'True' + 4: header: Let's try it out! text: Enjoy the adventures in level 15! 16: @@ -1061,8 +1087,39 @@ levels: {for} i {in} {range} 1 {to} 3 {print} friends[i] 's lucky number is ' lucky_numbers[i] 3: - header: Let's try it out! - text: Enjoy the adventures in level 16! + header: Debugging + text: Let's debug this code! + code: |- + {print} 'Friendship test' + {subjects} = ['song', 'movie', 'food', 'drink'] + answers_player_1 = [] + answers_player_2 = [] + score = 100 + + {for} i {in} {range} 1 {to} 4 + answer = {ask} 'what is your favorite ' subjects[i] + {add} answer {to} answers_player_1 + + {print} 'Player 2, your turn!' + {for} i {in} {range} 0 {to} 4 + answer_player_2 = {ask} 'what is player 1s favorite ' subjects + {add} answer_player_2 {in} answers_player_2 + {if} answers_player_2[2] == answers_player_1[1] + {print} 'Correct!' + {else} + {print} 'Wrong!' + score = score - 25 + + {print} 'Player 2, you've scored ' score '%' + + {if} score = 100 + {print} 'You are an amazing friend' + {if} score < 100 {or} score >= 50 + {print} 'You could do better' + {else} score < 50 + {print} 'Do you even know this person?!' + debug: 'True' + 4: 17: 1: header: Welcome to level 17 @@ -1092,8 +1149,28 @@ levels: {else}: {print} 'Better luck next time..' 4: - header: Let's try it out! - text: Enjoy the adventures in level 17! + header: Debugging + text: Let's debug this code! + code: |- + {define} ask_direction + direction = {ask} 'Where do you want to go?' + {if} direction = 'backwards' + {turn} 180 + {else} direction == 'right' + {turn} 90 + {else} direction == 'left' + {turn} 270 + {forward} 100 + + continue = 'yes' + + {while} continue == 'yes' + {print} ask_direction + {sleep} + continue = 'do you want to draw some more?' + {sleep} + debug: 'True' + 5: 18: 1: header: Welcome to level 18 diff --git a/content/slides/da.yaml b/content/slides/da.yaml index 9479d65a273..041f16037b5 100644 --- a/content/slides/da.yaml +++ b/content/slides/da.yaml @@ -1042,6 +1042,32 @@ levels: answer = {ask} 'What is 5 times 5?' {print} 'A correct answer has been given' 3: + header: Debugging + text: Let's debug this code! + code: |- + numbers = 1, 2 + + {for} i {in} {range} 3 {to} 50 + {add} x {to} numbers + i = + 1 + + random_number = numbers {random} + guesses = 10 + + {while} guess = 0 + answer = 'Guess my number:' + {if} answer >= random_number + {print} 'lower' + guesses = guesses -1 + {if} answer > random_number + {print} 'higher!' + guesses = guesses + {else} answer = random_number + {print} 'correct' + guesses = 10 + + debug: 'True' + 4: header: Let's try it out! text: Enjoy the adventures in level 15! 16: @@ -1061,8 +1087,39 @@ levels: {for} i {in} {range} 1 {to} 3 {print} friends[i] 's lucky number is ' lucky_numbers[i] 3: - header: Let's try it out! - text: Enjoy the adventures in level 16! + header: Debugging + text: Let's debug this code! + code: |- + {print} 'Friendship test' + {subjects} = ['song', 'movie', 'food', 'drink'] + answers_player_1 = [] + answers_player_2 = [] + score = 100 + + {for} i {in} {range} 1 {to} 4 + answer = {ask} 'what is your favorite ' subjects[i] + {add} answer {to} answers_player_1 + + {print} 'Player 2, your turn!' + {for} i {in} {range} 0 {to} 4 + answer_player_2 = {ask} 'what is player 1s favorite ' subjects + {add} answer_player_2 {in} answers_player_2 + {if} answers_player_2[2] == answers_player_1[1] + {print} 'Correct!' + {else} + {print} 'Wrong!' + score = score - 25 + + {print} 'Player 2, you've scored ' score '%' + + {if} score = 100 + {print} 'You are an amazing friend' + {if} score < 100 {or} score >= 50 + {print} 'You could do better' + {else} score < 50 + {print} 'Do you even know this person?!' + debug: 'True' + 4: 17: 1: header: Welcome to level 17 @@ -1092,8 +1149,28 @@ levels: {else}: {print} 'Better luck next time..' 4: - header: Let's try it out! - text: Enjoy the adventures in level 17! + header: Debugging + text: Let's debug this code! + code: |- + {define} ask_direction + direction = {ask} 'Where do you want to go?' + {if} direction = 'backwards' + {turn} 180 + {else} direction == 'right' + {turn} 90 + {else} direction == 'left' + {turn} 270 + {forward} 100 + + continue = 'yes' + + {while} continue == 'yes' + {print} ask_direction + {sleep} + continue = 'do you want to draw some more?' + {sleep} + debug: 'True' + 5: 18: 1: header: Welcome to level 18 diff --git a/content/slides/de.yaml b/content/slides/de.yaml index 707c9bc4464..d648d8bcb60 100644 --- a/content/slides/de.yaml +++ b/content/slides/de.yaml @@ -1044,6 +1044,32 @@ levels: answer = {ask} 'What is 5 times 5?' {print} 'A correct answer has been given' 3: + header: Debugging + text: Let's debug this code! + code: |- + numbers = 1, 2 + + {for} i {in} {range} 3 {to} 50 + {add} x {to} numbers + i = + 1 + + random_number = numbers {random} + guesses = 10 + + {while} guess = 0 + answer = 'Guess my number:' + {if} answer >= random_number + {print} 'lower' + guesses = guesses -1 + {if} answer > random_number + {print} 'higher!' + guesses = guesses + {else} answer = random_number + {print} 'correct' + guesses = 10 + + debug: 'True' + 4: header: Let's try it out! text: Enjoy the adventures in level 15! 16: @@ -1063,8 +1089,39 @@ levels: {for} i {in} {range} 1 {to} 3 {print} friends[i] 's lucky number is ' lucky_numbers[i] 3: - header: Let's try it out! - text: Enjoy the adventures in level 16! + header: Debugging + text: Let's debug this code! + code: |- + {print} 'Friendship test' + {subjects} = ['song', 'movie', 'food', 'drink'] + answers_player_1 = [] + answers_player_2 = [] + score = 100 + + {for} i {in} {range} 1 {to} 4 + answer = {ask} 'what is your favorite ' subjects[i] + {add} answer {to} answers_player_1 + + {print} 'Player 2, your turn!' + {for} i {in} {range} 0 {to} 4 + answer_player_2 = {ask} 'what is player 1s favorite ' subjects + {add} answer_player_2 {in} answers_player_2 + {if} answers_player_2[2] == answers_player_1[1] + {print} 'Correct!' + {else} + {print} 'Wrong!' + score = score - 25 + + {print} 'Player 2, you've scored ' score '%' + + {if} score = 100 + {print} 'You are an amazing friend' + {if} score < 100 {or} score >= 50 + {print} 'You could do better' + {else} score < 50 + {print} 'Do you even know this person?!' + debug: 'True' + 4: 17: 1: header: Welcome to level 17 @@ -1094,8 +1151,28 @@ levels: {else}: {print} 'Better luck next time..' 4: - header: Let's try it out! - text: Enjoy the adventures in level 17! + header: Debugging + text: Let's debug this code! + code: |- + {define} ask_direction + direction = {ask} 'Where do you want to go?' + {if} direction = 'backwards' + {turn} 180 + {else} direction == 'right' + {turn} 90 + {else} direction == 'left' + {turn} 270 + {forward} 100 + + continue = 'yes' + + {while} continue == 'yes' + {print} ask_direction + {sleep} + continue = 'do you want to draw some more?' + {sleep} + debug: 'True' + 5: 18: 1: header: Welcome to level 18 diff --git a/content/slides/el.yaml b/content/slides/el.yaml index 9479d65a273..041f16037b5 100644 --- a/content/slides/el.yaml +++ b/content/slides/el.yaml @@ -1042,6 +1042,32 @@ levels: answer = {ask} 'What is 5 times 5?' {print} 'A correct answer has been given' 3: + header: Debugging + text: Let's debug this code! + code: |- + numbers = 1, 2 + + {for} i {in} {range} 3 {to} 50 + {add} x {to} numbers + i = + 1 + + random_number = numbers {random} + guesses = 10 + + {while} guess = 0 + answer = 'Guess my number:' + {if} answer >= random_number + {print} 'lower' + guesses = guesses -1 + {if} answer > random_number + {print} 'higher!' + guesses = guesses + {else} answer = random_number + {print} 'correct' + guesses = 10 + + debug: 'True' + 4: header: Let's try it out! text: Enjoy the adventures in level 15! 16: @@ -1061,8 +1087,39 @@ levels: {for} i {in} {range} 1 {to} 3 {print} friends[i] 's lucky number is ' lucky_numbers[i] 3: - header: Let's try it out! - text: Enjoy the adventures in level 16! + header: Debugging + text: Let's debug this code! + code: |- + {print} 'Friendship test' + {subjects} = ['song', 'movie', 'food', 'drink'] + answers_player_1 = [] + answers_player_2 = [] + score = 100 + + {for} i {in} {range} 1 {to} 4 + answer = {ask} 'what is your favorite ' subjects[i] + {add} answer {to} answers_player_1 + + {print} 'Player 2, your turn!' + {for} i {in} {range} 0 {to} 4 + answer_player_2 = {ask} 'what is player 1s favorite ' subjects + {add} answer_player_2 {in} answers_player_2 + {if} answers_player_2[2] == answers_player_1[1] + {print} 'Correct!' + {else} + {print} 'Wrong!' + score = score - 25 + + {print} 'Player 2, you've scored ' score '%' + + {if} score = 100 + {print} 'You are an amazing friend' + {if} score < 100 {or} score >= 50 + {print} 'You could do better' + {else} score < 50 + {print} 'Do you even know this person?!' + debug: 'True' + 4: 17: 1: header: Welcome to level 17 @@ -1092,8 +1149,28 @@ levels: {else}: {print} 'Better luck next time..' 4: - header: Let's try it out! - text: Enjoy the adventures in level 17! + header: Debugging + text: Let's debug this code! + code: |- + {define} ask_direction + direction = {ask} 'Where do you want to go?' + {if} direction = 'backwards' + {turn} 180 + {else} direction == 'right' + {turn} 90 + {else} direction == 'left' + {turn} 270 + {forward} 100 + + continue = 'yes' + + {while} continue == 'yes' + {print} ask_direction + {sleep} + continue = 'do you want to draw some more?' + {sleep} + debug: 'True' + 5: 18: 1: header: Welcome to level 18 diff --git a/content/slides/en.yaml b/content/slides/en.yaml index 0eabd68e833..d8450538917 100644 --- a/content/slides/en.yaml +++ b/content/slides/en.yaml @@ -1050,6 +1050,32 @@ levels: answer = {ask} 'What is 5 times 5?' {print} 'A correct answer has been given' 3: + header: Debugging + text: Let's debug this code! + code: |- + numbers = 1, 2 + + {for} i {in} {range} 3 {to} 50 + {add} x {to} numbers + i = + 1 + + random_number = numbers {random} + guesses = 10 + + {while} guess = 0 + answer = 'Guess my number:' + {if} answer >= random_number + {print} 'lower' + guesses = guesses -1 + {if} answer > random_number + {print} 'higher!' + guesses = guesses + {else} answer = random_number + {print} 'correct' + guesses = 10 + + debug: 'True' + 4: header: Let's try it out! text: Enjoy the adventures in level 15! 16: @@ -1069,6 +1095,39 @@ levels: {for} i {in} {range} 1 {to} 3 {print} friends[i] 's lucky number is ' lucky_numbers[i] 3: + header: Debugging + text: Let's debug this code! + code: |- + {print} 'Friendship test' + {subjects} = ['song', 'movie', 'food', 'drink'] + answers_player_1 = [] + answers_player_2 = [] + score = 100 + + {for} i {in} {range} 1 {to} 4 + answer = {ask} 'what is your favorite ' subjects[i] + {add} answer {to} answers_player_1 + + {print} 'Player 2, your turn!' + {for} i {in} {range} 0 {to} 4 + answer_player_2 = {ask} 'what is player 1s favorite ' subjects + {add} answer_player_2 {in} answers_player_2 + {if} answers_player_2[2] == answers_player_1[1] + {print} 'Correct!' + {else} + {print} 'Wrong!' + score = score - 25 + + {print} 'Player 2, you've scored ' score '%' + + {if} score = 100 + {print} 'You are an amazing friend' + {if} score < 100 {or} score >= 50 + {print} 'You could do better' + {else} score < 50 + {print} 'Do you even know this person?!' + debug: 'True' + 4: header: Let's try it out! text: Enjoy the adventures in level 16! 17: @@ -1100,6 +1159,28 @@ levels: {else}: {print} 'Better luck next time..' 4: + header: Debugging + text: Let's debug this code! + code: |- + {define} ask_direction + direction = {ask} 'Where do you want to go?' + {if} direction = 'backwards' + {turn} 180 + {else} direction == 'right' + {turn} 90 + {else} direction == 'left' + {turn} 270 + {forward} 100 + + continue = 'yes' + + {while} continue == 'yes' + {print} ask_direction + {sleep} + continue = 'do you want to draw some more?' + {sleep} + debug: 'True' + 5: header: Let's try it out! text: Enjoy the adventures in level 17! 18: diff --git a/content/slides/eo.yaml b/content/slides/eo.yaml index 30f995448ee..f641416ef30 100644 --- a/content/slides/eo.yaml +++ b/content/slides/eo.yaml @@ -1042,6 +1042,32 @@ levels: answer = {ask} 'What is 5 times 5?' {print} 'A correct answer has been given' 3: + header: Debugging + text: Let's debug this code! + code: |- + numbers = 1, 2 + + {for} i {in} {range} 3 {to} 50 + {add} x {to} numbers + i = + 1 + + random_number = numbers {random} + guesses = 10 + + {while} guess = 0 + answer = 'Guess my number:' + {if} answer >= random_number + {print} 'lower' + guesses = guesses -1 + {if} answer > random_number + {print} 'higher!' + guesses = guesses + {else} answer = random_number + {print} 'correct' + guesses = 10 + + debug: 'True' + 4: header: Let's try it out! text: Enjoy the adventures in level 15! 16: @@ -1061,8 +1087,39 @@ levels: {for} i {in} {range} 1 {to} 3 {print} friends[i] 's lucky number is ' lucky_numbers[i] 3: - header: Let's try it out! - text: Enjoy the adventures in level 16! + header: Debugging + text: Let's debug this code! + code: |- + {print} 'Friendship test' + {subjects} = ['song', 'movie', 'food', 'drink'] + answers_player_1 = [] + answers_player_2 = [] + score = 100 + + {for} i {in} {range} 1 {to} 4 + answer = {ask} 'what is your favorite ' subjects[i] + {add} answer {to} answers_player_1 + + {print} 'Player 2, your turn!' + {for} i {in} {range} 0 {to} 4 + answer_player_2 = {ask} 'what is player 1s favorite ' subjects + {add} answer_player_2 {in} answers_player_2 + {if} answers_player_2[2] == answers_player_1[1] + {print} 'Correct!' + {else} + {print} 'Wrong!' + score = score - 25 + + {print} 'Player 2, you've scored ' score '%' + + {if} score = 100 + {print} 'You are an amazing friend' + {if} score < 100 {or} score >= 50 + {print} 'You could do better' + {else} score < 50 + {print} 'Do you even know this person?!' + debug: 'True' + 4: 17: 1: header: Welcome to level 17 @@ -1092,8 +1149,28 @@ levels: {else}: {print} 'Better luck next time..' 4: - header: Let's try it out! - text: Enjoy the adventures in level 17! + header: Debugging + text: Let's debug this code! + code: |- + {define} ask_direction + direction = {ask} 'Where do you want to go?' + {if} direction = 'backwards' + {turn} 180 + {else} direction == 'right' + {turn} 90 + {else} direction == 'left' + {turn} 270 + {forward} 100 + + continue = 'yes' + + {while} continue == 'yes' + {print} ask_direction + {sleep} + continue = 'do you want to draw some more?' + {sleep} + debug: 'True' + 5: 18: 1: header: Welcome to level 18 diff --git a/content/slides/es.yaml b/content/slides/es.yaml index 3a9fd1c7461..1546e783370 100644 --- a/content/slides/es.yaml +++ b/content/slides/es.yaml @@ -1049,6 +1049,32 @@ levels: respuesta = {ask} '¿Cuánto es 5 veces 5?' {print} 'Se ha dado una respuesta correcta' 3: + header: Debugging + text: Let's debug this code! + code: |- + numbers = 1, 2 + + {for} i {in} {range} 3 {to} 50 + {add} x {to} numbers + i = + 1 + + random_number = numbers {random} + guesses = 10 + + {while} guess = 0 + answer = 'Guess my number:' + {if} answer >= random_number + {print} 'lower' + guesses = guesses -1 + {if} answer > random_number + {print} 'higher!' + guesses = guesses + {else} answer = random_number + {print} 'correct' + guesses = 10 + + debug: 'True' + 4: header: ¡Vamos a probarlo! text: ¡Disfruta las aventuras en el nivel 15! 16: @@ -1068,6 +1094,39 @@ levels: {for} i {in} {range} 1 {to} 3 {print} 'El número de la suerte de 'amigos[i] ' es ' numeros_suerte[i] 3: + header: Debugging + text: Let's debug this code! + code: |- + {print} 'Friendship test' + {subjects} = ['song', 'movie', 'food', 'drink'] + answers_player_1 = [] + answers_player_2 = [] + score = 100 + + {for} i {in} {range} 1 {to} 4 + answer = {ask} 'what is your favorite ' subjects[i] + {add} answer {to} answers_player_1 + + {print} 'Player 2, your turn!' + {for} i {in} {range} 0 {to} 4 + answer_player_2 = {ask} 'what is player 1s favorite ' subjects + {add} answer_player_2 {in} answers_player_2 + {if} answers_player_2[2] == answers_player_1[1] + {print} 'Correct!' + {else} + {print} 'Wrong!' + score = score - 25 + + {print} 'Player 2, you've scored ' score '%' + + {if} score = 100 + {print} 'You are an amazing friend' + {if} score < 100 {or} score >= 50 + {print} 'You could do better' + {else} score < 50 + {print} 'Do you even know this person?!' + debug: 'True' + 4: header: ¡Vamos a probarlo! text: ¡Disfruta las aventuras en el nivel 16! 17: @@ -1099,6 +1158,28 @@ levels: {else}: {print} 'Más suerte la próxima vez..' 4: + header: Debugging + text: Let's debug this code! + code: |- + {define} ask_direction + direction = {ask} 'Where do you want to go?' + {if} direction = 'backwards' + {turn} 180 + {else} direction == 'right' + {turn} 90 + {else} direction == 'left' + {turn} 270 + {forward} 100 + + continue = 'yes' + + {while} continue == 'yes' + {print} ask_direction + {sleep} + continue = 'do you want to draw some more?' + {sleep} + debug: 'True' + 5: header: ¡Vamos a probarlo! text: ¡Disfruta las aventuras en el nivel 17! 18: diff --git a/content/slides/et.yaml b/content/slides/et.yaml index 9479d65a273..041f16037b5 100644 --- a/content/slides/et.yaml +++ b/content/slides/et.yaml @@ -1042,6 +1042,32 @@ levels: answer = {ask} 'What is 5 times 5?' {print} 'A correct answer has been given' 3: + header: Debugging + text: Let's debug this code! + code: |- + numbers = 1, 2 + + {for} i {in} {range} 3 {to} 50 + {add} x {to} numbers + i = + 1 + + random_number = numbers {random} + guesses = 10 + + {while} guess = 0 + answer = 'Guess my number:' + {if} answer >= random_number + {print} 'lower' + guesses = guesses -1 + {if} answer > random_number + {print} 'higher!' + guesses = guesses + {else} answer = random_number + {print} 'correct' + guesses = 10 + + debug: 'True' + 4: header: Let's try it out! text: Enjoy the adventures in level 15! 16: @@ -1061,8 +1087,39 @@ levels: {for} i {in} {range} 1 {to} 3 {print} friends[i] 's lucky number is ' lucky_numbers[i] 3: - header: Let's try it out! - text: Enjoy the adventures in level 16! + header: Debugging + text: Let's debug this code! + code: |- + {print} 'Friendship test' + {subjects} = ['song', 'movie', 'food', 'drink'] + answers_player_1 = [] + answers_player_2 = [] + score = 100 + + {for} i {in} {range} 1 {to} 4 + answer = {ask} 'what is your favorite ' subjects[i] + {add} answer {to} answers_player_1 + + {print} 'Player 2, your turn!' + {for} i {in} {range} 0 {to} 4 + answer_player_2 = {ask} 'what is player 1s favorite ' subjects + {add} answer_player_2 {in} answers_player_2 + {if} answers_player_2[2] == answers_player_1[1] + {print} 'Correct!' + {else} + {print} 'Wrong!' + score = score - 25 + + {print} 'Player 2, you've scored ' score '%' + + {if} score = 100 + {print} 'You are an amazing friend' + {if} score < 100 {or} score >= 50 + {print} 'You could do better' + {else} score < 50 + {print} 'Do you even know this person?!' + debug: 'True' + 4: 17: 1: header: Welcome to level 17 @@ -1092,8 +1149,28 @@ levels: {else}: {print} 'Better luck next time..' 4: - header: Let's try it out! - text: Enjoy the adventures in level 17! + header: Debugging + text: Let's debug this code! + code: |- + {define} ask_direction + direction = {ask} 'Where do you want to go?' + {if} direction = 'backwards' + {turn} 180 + {else} direction == 'right' + {turn} 90 + {else} direction == 'left' + {turn} 270 + {forward} 100 + + continue = 'yes' + + {while} continue == 'yes' + {print} ask_direction + {sleep} + continue = 'do you want to draw some more?' + {sleep} + debug: 'True' + 5: 18: 1: header: Welcome to level 18 diff --git a/content/slides/fa.yaml b/content/slides/fa.yaml index 9479d65a273..041f16037b5 100644 --- a/content/slides/fa.yaml +++ b/content/slides/fa.yaml @@ -1042,6 +1042,32 @@ levels: answer = {ask} 'What is 5 times 5?' {print} 'A correct answer has been given' 3: + header: Debugging + text: Let's debug this code! + code: |- + numbers = 1, 2 + + {for} i {in} {range} 3 {to} 50 + {add} x {to} numbers + i = + 1 + + random_number = numbers {random} + guesses = 10 + + {while} guess = 0 + answer = 'Guess my number:' + {if} answer >= random_number + {print} 'lower' + guesses = guesses -1 + {if} answer > random_number + {print} 'higher!' + guesses = guesses + {else} answer = random_number + {print} 'correct' + guesses = 10 + + debug: 'True' + 4: header: Let's try it out! text: Enjoy the adventures in level 15! 16: @@ -1061,8 +1087,39 @@ levels: {for} i {in} {range} 1 {to} 3 {print} friends[i] 's lucky number is ' lucky_numbers[i] 3: - header: Let's try it out! - text: Enjoy the adventures in level 16! + header: Debugging + text: Let's debug this code! + code: |- + {print} 'Friendship test' + {subjects} = ['song', 'movie', 'food', 'drink'] + answers_player_1 = [] + answers_player_2 = [] + score = 100 + + {for} i {in} {range} 1 {to} 4 + answer = {ask} 'what is your favorite ' subjects[i] + {add} answer {to} answers_player_1 + + {print} 'Player 2, your turn!' + {for} i {in} {range} 0 {to} 4 + answer_player_2 = {ask} 'what is player 1s favorite ' subjects + {add} answer_player_2 {in} answers_player_2 + {if} answers_player_2[2] == answers_player_1[1] + {print} 'Correct!' + {else} + {print} 'Wrong!' + score = score - 25 + + {print} 'Player 2, you've scored ' score '%' + + {if} score = 100 + {print} 'You are an amazing friend' + {if} score < 100 {or} score >= 50 + {print} 'You could do better' + {else} score < 50 + {print} 'Do you even know this person?!' + debug: 'True' + 4: 17: 1: header: Welcome to level 17 @@ -1092,8 +1149,28 @@ levels: {else}: {print} 'Better luck next time..' 4: - header: Let's try it out! - text: Enjoy the adventures in level 17! + header: Debugging + text: Let's debug this code! + code: |- + {define} ask_direction + direction = {ask} 'Where do you want to go?' + {if} direction = 'backwards' + {turn} 180 + {else} direction == 'right' + {turn} 90 + {else} direction == 'left' + {turn} 270 + {forward} 100 + + continue = 'yes' + + {while} continue == 'yes' + {print} ask_direction + {sleep} + continue = 'do you want to draw some more?' + {sleep} + debug: 'True' + 5: 18: 1: header: Welcome to level 18 diff --git a/content/slides/fi.yaml b/content/slides/fi.yaml index 9479d65a273..041f16037b5 100644 --- a/content/slides/fi.yaml +++ b/content/slides/fi.yaml @@ -1042,6 +1042,32 @@ levels: answer = {ask} 'What is 5 times 5?' {print} 'A correct answer has been given' 3: + header: Debugging + text: Let's debug this code! + code: |- + numbers = 1, 2 + + {for} i {in} {range} 3 {to} 50 + {add} x {to} numbers + i = + 1 + + random_number = numbers {random} + guesses = 10 + + {while} guess = 0 + answer = 'Guess my number:' + {if} answer >= random_number + {print} 'lower' + guesses = guesses -1 + {if} answer > random_number + {print} 'higher!' + guesses = guesses + {else} answer = random_number + {print} 'correct' + guesses = 10 + + debug: 'True' + 4: header: Let's try it out! text: Enjoy the adventures in level 15! 16: @@ -1061,8 +1087,39 @@ levels: {for} i {in} {range} 1 {to} 3 {print} friends[i] 's lucky number is ' lucky_numbers[i] 3: - header: Let's try it out! - text: Enjoy the adventures in level 16! + header: Debugging + text: Let's debug this code! + code: |- + {print} 'Friendship test' + {subjects} = ['song', 'movie', 'food', 'drink'] + answers_player_1 = [] + answers_player_2 = [] + score = 100 + + {for} i {in} {range} 1 {to} 4 + answer = {ask} 'what is your favorite ' subjects[i] + {add} answer {to} answers_player_1 + + {print} 'Player 2, your turn!' + {for} i {in} {range} 0 {to} 4 + answer_player_2 = {ask} 'what is player 1s favorite ' subjects + {add} answer_player_2 {in} answers_player_2 + {if} answers_player_2[2] == answers_player_1[1] + {print} 'Correct!' + {else} + {print} 'Wrong!' + score = score - 25 + + {print} 'Player 2, you've scored ' score '%' + + {if} score = 100 + {print} 'You are an amazing friend' + {if} score < 100 {or} score >= 50 + {print} 'You could do better' + {else} score < 50 + {print} 'Do you even know this person?!' + debug: 'True' + 4: 17: 1: header: Welcome to level 17 @@ -1092,8 +1149,28 @@ levels: {else}: {print} 'Better luck next time..' 4: - header: Let's try it out! - text: Enjoy the adventures in level 17! + header: Debugging + text: Let's debug this code! + code: |- + {define} ask_direction + direction = {ask} 'Where do you want to go?' + {if} direction = 'backwards' + {turn} 180 + {else} direction == 'right' + {turn} 90 + {else} direction == 'left' + {turn} 270 + {forward} 100 + + continue = 'yes' + + {while} continue == 'yes' + {print} ask_direction + {sleep} + continue = 'do you want to draw some more?' + {sleep} + debug: 'True' + 5: 18: 1: header: Welcome to level 18 diff --git a/content/slides/fr.yaml b/content/slides/fr.yaml index 2e871fba46b..38d2c11c976 100644 --- a/content/slides/fr.yaml +++ b/content/slides/fr.yaml @@ -1049,6 +1049,32 @@ levels: answer = {ask} 'What is 5 times 5?' {print} 'A correct answer has been given' 3: + header: Debugging + text: Let's debug this code! + code: |- + numbers = 1, 2 + + {for} i {in} {range} 3 {to} 50 + {add} x {to} numbers + i = + 1 + + random_number = numbers {random} + guesses = 10 + + {while} guess = 0 + answer = 'Guess my number:' + {if} answer >= random_number + {print} 'lower' + guesses = guesses -1 + {if} answer > random_number + {print} 'higher!' + guesses = guesses + {else} answer = random_number + {print} 'correct' + guesses = 10 + + debug: 'True' + 4: header: Let's try it out! text: Enjoy the adventures in level 15! 16: @@ -1068,8 +1094,39 @@ levels: {for} i {in} {range} 1 {to} 3 {print} friends[i] 's lucky number is ' lucky_numbers[i] 3: - header: Let's try it out! - text: Enjoy the adventures in level 16! + header: Debugging + text: Let's debug this code! + code: |- + {print} 'Friendship test' + {subjects} = ['song', 'movie', 'food', 'drink'] + answers_player_1 = [] + answers_player_2 = [] + score = 100 + + {for} i {in} {range} 1 {to} 4 + answer = {ask} 'what is your favorite ' subjects[i] + {add} answer {to} answers_player_1 + + {print} 'Player 2, your turn!' + {for} i {in} {range} 0 {to} 4 + answer_player_2 = {ask} 'what is player 1s favorite ' subjects + {add} answer_player_2 {in} answers_player_2 + {if} answers_player_2[2] == answers_player_1[1] + {print} 'Correct!' + {else} + {print} 'Wrong!' + score = score - 25 + + {print} 'Player 2, you've scored ' score '%' + + {if} score = 100 + {print} 'You are an amazing friend' + {if} score < 100 {or} score >= 50 + {print} 'You could do better' + {else} score < 50 + {print} 'Do you even know this person?!' + debug: 'True' + 4: 17: 1: header: Welcome to level 17 @@ -1099,8 +1156,28 @@ levels: {else}: {print} 'Better luck next time..' 4: - header: Let's try it out! - text: Enjoy the adventures in level 17! + header: Debugging + text: Let's debug this code! + code: |- + {define} ask_direction + direction = {ask} 'Where do you want to go?' + {if} direction = 'backwards' + {turn} 180 + {else} direction == 'right' + {turn} 90 + {else} direction == 'left' + {turn} 270 + {forward} 100 + + continue = 'yes' + + {while} continue == 'yes' + {print} ask_direction + {sleep} + continue = 'do you want to draw some more?' + {sleep} + debug: 'True' + 5: 18: 1: header: Welcome to level 18 diff --git a/content/slides/fy.yaml b/content/slides/fy.yaml index 9479d65a273..041f16037b5 100644 --- a/content/slides/fy.yaml +++ b/content/slides/fy.yaml @@ -1042,6 +1042,32 @@ levels: answer = {ask} 'What is 5 times 5?' {print} 'A correct answer has been given' 3: + header: Debugging + text: Let's debug this code! + code: |- + numbers = 1, 2 + + {for} i {in} {range} 3 {to} 50 + {add} x {to} numbers + i = + 1 + + random_number = numbers {random} + guesses = 10 + + {while} guess = 0 + answer = 'Guess my number:' + {if} answer >= random_number + {print} 'lower' + guesses = guesses -1 + {if} answer > random_number + {print} 'higher!' + guesses = guesses + {else} answer = random_number + {print} 'correct' + guesses = 10 + + debug: 'True' + 4: header: Let's try it out! text: Enjoy the adventures in level 15! 16: @@ -1061,8 +1087,39 @@ levels: {for} i {in} {range} 1 {to} 3 {print} friends[i] 's lucky number is ' lucky_numbers[i] 3: - header: Let's try it out! - text: Enjoy the adventures in level 16! + header: Debugging + text: Let's debug this code! + code: |- + {print} 'Friendship test' + {subjects} = ['song', 'movie', 'food', 'drink'] + answers_player_1 = [] + answers_player_2 = [] + score = 100 + + {for} i {in} {range} 1 {to} 4 + answer = {ask} 'what is your favorite ' subjects[i] + {add} answer {to} answers_player_1 + + {print} 'Player 2, your turn!' + {for} i {in} {range} 0 {to} 4 + answer_player_2 = {ask} 'what is player 1s favorite ' subjects + {add} answer_player_2 {in} answers_player_2 + {if} answers_player_2[2] == answers_player_1[1] + {print} 'Correct!' + {else} + {print} 'Wrong!' + score = score - 25 + + {print} 'Player 2, you've scored ' score '%' + + {if} score = 100 + {print} 'You are an amazing friend' + {if} score < 100 {or} score >= 50 + {print} 'You could do better' + {else} score < 50 + {print} 'Do you even know this person?!' + debug: 'True' + 4: 17: 1: header: Welcome to level 17 @@ -1092,8 +1149,28 @@ levels: {else}: {print} 'Better luck next time..' 4: - header: Let's try it out! - text: Enjoy the adventures in level 17! + header: Debugging + text: Let's debug this code! + code: |- + {define} ask_direction + direction = {ask} 'Where do you want to go?' + {if} direction = 'backwards' + {turn} 180 + {else} direction == 'right' + {turn} 90 + {else} direction == 'left' + {turn} 270 + {forward} 100 + + continue = 'yes' + + {while} continue == 'yes' + {print} ask_direction + {sleep} + continue = 'do you want to draw some more?' + {sleep} + debug: 'True' + 5: 18: 1: header: Welcome to level 18 diff --git a/content/slides/he.yaml b/content/slides/he.yaml index 9479d65a273..041f16037b5 100644 --- a/content/slides/he.yaml +++ b/content/slides/he.yaml @@ -1042,6 +1042,32 @@ levels: answer = {ask} 'What is 5 times 5?' {print} 'A correct answer has been given' 3: + header: Debugging + text: Let's debug this code! + code: |- + numbers = 1, 2 + + {for} i {in} {range} 3 {to} 50 + {add} x {to} numbers + i = + 1 + + random_number = numbers {random} + guesses = 10 + + {while} guess = 0 + answer = 'Guess my number:' + {if} answer >= random_number + {print} 'lower' + guesses = guesses -1 + {if} answer > random_number + {print} 'higher!' + guesses = guesses + {else} answer = random_number + {print} 'correct' + guesses = 10 + + debug: 'True' + 4: header: Let's try it out! text: Enjoy the adventures in level 15! 16: @@ -1061,8 +1087,39 @@ levels: {for} i {in} {range} 1 {to} 3 {print} friends[i] 's lucky number is ' lucky_numbers[i] 3: - header: Let's try it out! - text: Enjoy the adventures in level 16! + header: Debugging + text: Let's debug this code! + code: |- + {print} 'Friendship test' + {subjects} = ['song', 'movie', 'food', 'drink'] + answers_player_1 = [] + answers_player_2 = [] + score = 100 + + {for} i {in} {range} 1 {to} 4 + answer = {ask} 'what is your favorite ' subjects[i] + {add} answer {to} answers_player_1 + + {print} 'Player 2, your turn!' + {for} i {in} {range} 0 {to} 4 + answer_player_2 = {ask} 'what is player 1s favorite ' subjects + {add} answer_player_2 {in} answers_player_2 + {if} answers_player_2[2] == answers_player_1[1] + {print} 'Correct!' + {else} + {print} 'Wrong!' + score = score - 25 + + {print} 'Player 2, you've scored ' score '%' + + {if} score = 100 + {print} 'You are an amazing friend' + {if} score < 100 {or} score >= 50 + {print} 'You could do better' + {else} score < 50 + {print} 'Do you even know this person?!' + debug: 'True' + 4: 17: 1: header: Welcome to level 17 @@ -1092,8 +1149,28 @@ levels: {else}: {print} 'Better luck next time..' 4: - header: Let's try it out! - text: Enjoy the adventures in level 17! + header: Debugging + text: Let's debug this code! + code: |- + {define} ask_direction + direction = {ask} 'Where do you want to go?' + {if} direction = 'backwards' + {turn} 180 + {else} direction == 'right' + {turn} 90 + {else} direction == 'left' + {turn} 270 + {forward} 100 + + continue = 'yes' + + {while} continue == 'yes' + {print} ask_direction + {sleep} + continue = 'do you want to draw some more?' + {sleep} + debug: 'True' + 5: 18: 1: header: Welcome to level 18 diff --git a/content/slides/hi.yaml b/content/slides/hi.yaml index 061184dd041..a0d0a21b34b 100644 --- a/content/slides/hi.yaml +++ b/content/slides/hi.yaml @@ -1042,6 +1042,32 @@ levels: answer = {ask} 'What is 5 times 5?' {print} 'A correct answer has been given' 3: + header: Debugging + text: Let's debug this code! + code: |- + numbers = 1, 2 + + {for} i {in} {range} 3 {to} 50 + {add} x {to} numbers + i = + 1 + + random_number = numbers {random} + guesses = 10 + + {while} guess = 0 + answer = 'Guess my number:' + {if} answer >= random_number + {print} 'lower' + guesses = guesses -1 + {if} answer > random_number + {print} 'higher!' + guesses = guesses + {else} answer = random_number + {print} 'correct' + guesses = 10 + + debug: 'True' + 4: header: Let's try it out! text: Enjoy the adventures in level 15! 16: @@ -1061,8 +1087,39 @@ levels: {for} i {in} {range} 1 {to} 3 {print} friends[i] 's lucky number is ' lucky_numbers[i] 3: - header: Let's try it out! - text: Enjoy the adventures in level 16! + header: Debugging + text: Let's debug this code! + code: |- + {print} 'Friendship test' + {subjects} = ['song', 'movie', 'food', 'drink'] + answers_player_1 = [] + answers_player_2 = [] + score = 100 + + {for} i {in} {range} 1 {to} 4 + answer = {ask} 'what is your favorite ' subjects[i] + {add} answer {to} answers_player_1 + + {print} 'Player 2, your turn!' + {for} i {in} {range} 0 {to} 4 + answer_player_2 = {ask} 'what is player 1s favorite ' subjects + {add} answer_player_2 {in} answers_player_2 + {if} answers_player_2[2] == answers_player_1[1] + {print} 'Correct!' + {else} + {print} 'Wrong!' + score = score - 25 + + {print} 'Player 2, you've scored ' score '%' + + {if} score = 100 + {print} 'You are an amazing friend' + {if} score < 100 {or} score >= 50 + {print} 'You could do better' + {else} score < 50 + {print} 'Do you even know this person?!' + debug: 'True' + 4: 17: 1: header: Welcome to level 17 @@ -1092,8 +1149,28 @@ levels: {else}: {print} 'Better luck next time..' 4: - header: Let's try it out! - text: Enjoy the adventures in level 17! + header: Debugging + text: Let's debug this code! + code: |- + {define} ask_direction + direction = {ask} 'Where do you want to go?' + {if} direction = 'backwards' + {turn} 180 + {else} direction == 'right' + {turn} 90 + {else} direction == 'left' + {turn} 270 + {forward} 100 + + continue = 'yes' + + {while} continue == 'yes' + {print} ask_direction + {sleep} + continue = 'do you want to draw some more?' + {sleep} + debug: 'True' + 5: 18: 1: header: Welcome to level 18 diff --git a/content/slides/hu.yaml b/content/slides/hu.yaml index 59f536db558..ebc97c20f46 100644 --- a/content/slides/hu.yaml +++ b/content/slides/hu.yaml @@ -1042,6 +1042,32 @@ levels: answer = {ask} 'What is 5 times 5?' {print} 'A correct answer has been given' 3: + header: Debugging + text: Let's debug this code! + code: |- + numbers = 1, 2 + + {for} i {in} {range} 3 {to} 50 + {add} x {to} numbers + i = + 1 + + random_number = numbers {random} + guesses = 10 + + {while} guess = 0 + answer = 'Guess my number:' + {if} answer >= random_number + {print} 'lower' + guesses = guesses -1 + {if} answer > random_number + {print} 'higher!' + guesses = guesses + {else} answer = random_number + {print} 'correct' + guesses = 10 + + debug: 'True' + 4: header: Let's try it out! text: Enjoy the adventures in level 15! 16: @@ -1061,8 +1087,39 @@ levels: {for} i {in} {range} 1 {to} 3 {print} friends[i] 's lucky number is ' lucky_numbers[i] 3: - header: Let's try it out! - text: Enjoy the adventures in level 16! + header: Debugging + text: Let's debug this code! + code: |- + {print} 'Friendship test' + {subjects} = ['song', 'movie', 'food', 'drink'] + answers_player_1 = [] + answers_player_2 = [] + score = 100 + + {for} i {in} {range} 1 {to} 4 + answer = {ask} 'what is your favorite ' subjects[i] + {add} answer {to} answers_player_1 + + {print} 'Player 2, your turn!' + {for} i {in} {range} 0 {to} 4 + answer_player_2 = {ask} 'what is player 1s favorite ' subjects + {add} answer_player_2 {in} answers_player_2 + {if} answers_player_2[2] == answers_player_1[1] + {print} 'Correct!' + {else} + {print} 'Wrong!' + score = score - 25 + + {print} 'Player 2, you've scored ' score '%' + + {if} score = 100 + {print} 'You are an amazing friend' + {if} score < 100 {or} score >= 50 + {print} 'You could do better' + {else} score < 50 + {print} 'Do you even know this person?!' + debug: 'True' + 4: 17: 1: header: Welcome to level 17 @@ -1092,8 +1149,28 @@ levels: {else}: {print} 'Better luck next time..' 4: - header: Let's try it out! - text: Enjoy the adventures in level 17! + header: Debugging + text: Let's debug this code! + code: |- + {define} ask_direction + direction = {ask} 'Where do you want to go?' + {if} direction = 'backwards' + {turn} 180 + {else} direction == 'right' + {turn} 90 + {else} direction == 'left' + {turn} 270 + {forward} 100 + + continue = 'yes' + + {while} continue == 'yes' + {print} ask_direction + {sleep} + continue = 'do you want to draw some more?' + {sleep} + debug: 'True' + 5: 18: 1: header: Welcome to level 18 diff --git a/content/slides/ia.yaml b/content/slides/ia.yaml index 0eabd68e833..1bd47e90838 100644 --- a/content/slides/ia.yaml +++ b/content/slides/ia.yaml @@ -1050,6 +1050,32 @@ levels: answer = {ask} 'What is 5 times 5?' {print} 'A correct answer has been given' 3: + header: Debugging + text: Let's debug this code! + code: |- + numbers = 1, 2 + + {for} i {in} {range} 3 {to} 50 + {add} x {to} numbers + i = + 1 + + random_number = numbers {random} + guesses = 10 + + {while} guess = 0 + answer = 'Guess my number:' + {if} answer >= random_number + {print} 'lower' + guesses = guesses -1 + {if} answer > random_number + {print} 'higher!' + guesses = guesses + {else} answer = random_number + {print} 'correct' + guesses = 10 + + debug: 'True' + 4: header: Let's try it out! text: Enjoy the adventures in level 15! 16: @@ -1069,8 +1095,39 @@ levels: {for} i {in} {range} 1 {to} 3 {print} friends[i] 's lucky number is ' lucky_numbers[i] 3: - header: Let's try it out! - text: Enjoy the adventures in level 16! + header: Debugging + text: Let's debug this code! + code: |- + {print} 'Friendship test' + {subjects} = ['song', 'movie', 'food', 'drink'] + answers_player_1 = [] + answers_player_2 = [] + score = 100 + + {for} i {in} {range} 1 {to} 4 + answer = {ask} 'what is your favorite ' subjects[i] + {add} answer {to} answers_player_1 + + {print} 'Player 2, your turn!' + {for} i {in} {range} 0 {to} 4 + answer_player_2 = {ask} 'what is player 1s favorite ' subjects + {add} answer_player_2 {in} answers_player_2 + {if} answers_player_2[2] == answers_player_1[1] + {print} 'Correct!' + {else} + {print} 'Wrong!' + score = score - 25 + + {print} 'Player 2, you've scored ' score '%' + + {if} score = 100 + {print} 'You are an amazing friend' + {if} score < 100 {or} score >= 50 + {print} 'You could do better' + {else} score < 50 + {print} 'Do you even know this person?!' + debug: 'True' + 4: 17: 1: header: Welcome to level 17 @@ -1100,8 +1157,28 @@ levels: {else}: {print} 'Better luck next time..' 4: - header: Let's try it out! - text: Enjoy the adventures in level 17! + header: Debugging + text: Let's debug this code! + code: |- + {define} ask_direction + direction = {ask} 'Where do you want to go?' + {if} direction = 'backwards' + {turn} 180 + {else} direction == 'right' + {turn} 90 + {else} direction == 'left' + {turn} 270 + {forward} 100 + + continue = 'yes' + + {while} continue == 'yes' + {print} ask_direction + {sleep} + continue = 'do you want to draw some more?' + {sleep} + debug: 'True' + 5: 18: 1: header: Welcome to level 18 diff --git a/content/slides/id.yaml b/content/slides/id.yaml index 5d96d3b0026..faaace1957f 100644 --- a/content/slides/id.yaml +++ b/content/slides/id.yaml @@ -1053,6 +1053,32 @@ levels: answer = {ask} 'What is 5 times 5?' {print} 'A correct answer has been given' 3: + header: Debugging + text: Let's debug this code! + code: |- + numbers = 1, 2 + + {for} i {in} {range} 3 {to} 50 + {add} x {to} numbers + i = + 1 + + random_number = numbers {random} + guesses = 10 + + {while} guess = 0 + answer = 'Guess my number:' + {if} answer >= random_number + {print} 'lower' + guesses = guesses -1 + {if} answer > random_number + {print} 'higher!' + guesses = guesses + {else} answer = random_number + {print} 'correct' + guesses = 10 + + debug: 'True' + 4: header: Mari kita mencobanya! text: Nikmati petualangan di level 15! 16: @@ -1072,6 +1098,39 @@ levels: {for} i {in} {range} 1 {to} 3 {print} friends[i] 's lucky number is ' lucky_numbers[i] 3: + header: Debugging + text: Let's debug this code! + code: |- + {print} 'Friendship test' + {subjects} = ['song', 'movie', 'food', 'drink'] + answers_player_1 = [] + answers_player_2 = [] + score = 100 + + {for} i {in} {range} 1 {to} 4 + answer = {ask} 'what is your favorite ' subjects[i] + {add} answer {to} answers_player_1 + + {print} 'Player 2, your turn!' + {for} i {in} {range} 0 {to} 4 + answer_player_2 = {ask} 'what is player 1s favorite ' subjects + {add} answer_player_2 {in} answers_player_2 + {if} answers_player_2[2] == answers_player_1[1] + {print} 'Correct!' + {else} + {print} 'Wrong!' + score = score - 25 + + {print} 'Player 2, you've scored ' score '%' + + {if} score = 100 + {print} 'You are an amazing friend' + {if} score < 100 {or} score >= 50 + {print} 'You could do better' + {else} score < 50 + {print} 'Do you even know this person?!' + debug: 'True' + 4: header: Mari kita mencobanya! text: Nikmati petualangan di level 16! 17: @@ -1103,6 +1162,28 @@ levels: {else}: {print} 'Better luck next time..' 4: + header: Debugging + text: Let's debug this code! + code: |- + {define} ask_direction + direction = {ask} 'Where do you want to go?' + {if} direction = 'backwards' + {turn} 180 + {else} direction == 'right' + {turn} 90 + {else} direction == 'left' + {turn} 270 + {forward} 100 + + continue = 'yes' + + {while} continue == 'yes' + {print} ask_direction + {sleep} + continue = 'do you want to draw some more?' + {sleep} + debug: 'True' + 5: header: Mari kita coba! text: Nikmati petualangan di level 17! 18: diff --git a/content/slides/it.yaml b/content/slides/it.yaml index 0985d402bc8..5a8c8ee09fa 100644 --- a/content/slides/it.yaml +++ b/content/slides/it.yaml @@ -1046,6 +1046,32 @@ levels: answer = {ask} 'What is 5 times 5?' {print} 'A correct answer has been given' 3: + header: Debugging + text: Let's debug this code! + code: |- + numbers = 1, 2 + + {for} i {in} {range} 3 {to} 50 + {add} x {to} numbers + i = + 1 + + random_number = numbers {random} + guesses = 10 + + {while} guess = 0 + answer = 'Guess my number:' + {if} answer >= random_number + {print} 'lower' + guesses = guesses -1 + {if} answer > random_number + {print} 'higher!' + guesses = guesses + {else} answer = random_number + {print} 'correct' + guesses = 10 + + debug: 'True' + 4: header: Let's try it out! text: Enjoy the adventures in level 15! 16: @@ -1065,8 +1091,39 @@ levels: {for} i {in} {range} 1 {to} 3 {print} friends[i] 's lucky number is ' lucky_numbers[i] 3: - header: Let's try it out! - text: Enjoy the adventures in level 16! + header: Debugging + text: Let's debug this code! + code: |- + {print} 'Friendship test' + {subjects} = ['song', 'movie', 'food', 'drink'] + answers_player_1 = [] + answers_player_2 = [] + score = 100 + + {for} i {in} {range} 1 {to} 4 + answer = {ask} 'what is your favorite ' subjects[i] + {add} answer {to} answers_player_1 + + {print} 'Player 2, your turn!' + {for} i {in} {range} 0 {to} 4 + answer_player_2 = {ask} 'what is player 1s favorite ' subjects + {add} answer_player_2 {in} answers_player_2 + {if} answers_player_2[2] == answers_player_1[1] + {print} 'Correct!' + {else} + {print} 'Wrong!' + score = score - 25 + + {print} 'Player 2, you've scored ' score '%' + + {if} score = 100 + {print} 'You are an amazing friend' + {if} score < 100 {or} score >= 50 + {print} 'You could do better' + {else} score < 50 + {print} 'Do you even know this person?!' + debug: 'True' + 4: 17: 1: header: Welcome to level 17 @@ -1096,8 +1153,28 @@ levels: {else}: {print} 'Better luck next time..' 4: - header: Let's try it out! - text: Enjoy the adventures in level 17! + header: Debugging + text: Let's debug this code! + code: |- + {define} ask_direction + direction = {ask} 'Where do you want to go?' + {if} direction = 'backwards' + {turn} 180 + {else} direction == 'right' + {turn} 90 + {else} direction == 'left' + {turn} 270 + {forward} 100 + + continue = 'yes' + + {while} continue == 'yes' + {print} ask_direction + {sleep} + continue = 'do you want to draw some more?' + {sleep} + debug: 'True' + 5: 18: 1: header: Welcome to level 18 diff --git a/content/slides/ja.yaml b/content/slides/ja.yaml index 745d0c3161e..432f5437985 100644 --- a/content/slides/ja.yaml +++ b/content/slides/ja.yaml @@ -1042,6 +1042,32 @@ levels: answer = {ask} 'What is 5 times 5?' {print} 'A correct answer has been given' 3: + header: Debugging + text: Let's debug this code! + code: |- + numbers = 1, 2 + + {for} i {in} {range} 3 {to} 50 + {add} x {to} numbers + i = + 1 + + random_number = numbers {random} + guesses = 10 + + {while} guess = 0 + answer = 'Guess my number:' + {if} answer >= random_number + {print} 'lower' + guesses = guesses -1 + {if} answer > random_number + {print} 'higher!' + guesses = guesses + {else} answer = random_number + {print} 'correct' + guesses = 10 + + debug: 'True' + 4: header: Let's try it out! text: Enjoy the adventures in level 15! 16: @@ -1061,8 +1087,39 @@ levels: {for} i {in} {range} 1 {to} 3 {print} friends[i] 's lucky number is ' lucky_numbers[i] 3: - header: Let's try it out! - text: Enjoy the adventures in level 16! + header: Debugging + text: Let's debug this code! + code: |- + {print} 'Friendship test' + {subjects} = ['song', 'movie', 'food', 'drink'] + answers_player_1 = [] + answers_player_2 = [] + score = 100 + + {for} i {in} {range} 1 {to} 4 + answer = {ask} 'what is your favorite ' subjects[i] + {add} answer {to} answers_player_1 + + {print} 'Player 2, your turn!' + {for} i {in} {range} 0 {to} 4 + answer_player_2 = {ask} 'what is player 1s favorite ' subjects + {add} answer_player_2 {in} answers_player_2 + {if} answers_player_2[2] == answers_player_1[1] + {print} 'Correct!' + {else} + {print} 'Wrong!' + score = score - 25 + + {print} 'Player 2, you've scored ' score '%' + + {if} score = 100 + {print} 'You are an amazing friend' + {if} score < 100 {or} score >= 50 + {print} 'You could do better' + {else} score < 50 + {print} 'Do you even know this person?!' + debug: 'True' + 4: 17: 1: header: Welcome to level 17 @@ -1092,8 +1149,28 @@ levels: {else}: {print} 'Better luck next time..' 4: - header: Let's try it out! - text: Enjoy the adventures in level 17! + header: Debugging + text: Let's debug this code! + code: |- + {define} ask_direction + direction = {ask} 'Where do you want to go?' + {if} direction = 'backwards' + {turn} 180 + {else} direction == 'right' + {turn} 90 + {else} direction == 'left' + {turn} 270 + {forward} 100 + + continue = 'yes' + + {while} continue == 'yes' + {print} ask_direction + {sleep} + continue = 'do you want to draw some more?' + {sleep} + debug: 'True' + 5: 18: 1: header: Welcome to level 18 diff --git a/content/slides/kmr.yaml b/content/slides/kmr.yaml index 2786f4ff3ee..d5c2a6a0e29 100644 --- a/content/slides/kmr.yaml +++ b/content/slides/kmr.yaml @@ -1040,6 +1040,32 @@ levels: answer = {ask} 'What is 5 times 5?' {print} 'A correct answer has been given' 3: + header: Debugging + text: Let's debug this code! + code: |- + numbers = 1, 2 + + {for} i {in} {range} 3 {to} 50 + {add} x {to} numbers + i = + 1 + + random_number = numbers {random} + guesses = 10 + + {while} guess = 0 + answer = 'Guess my number:' + {if} answer >= random_number + {print} 'lower' + guesses = guesses -1 + {if} answer > random_number + {print} 'higher!' + guesses = guesses + {else} answer = random_number + {print} 'correct' + guesses = 10 + + debug: 'True' + 4: header: Let's try it out! text: Enjoy the adventures in level 15! 16: @@ -1059,8 +1085,39 @@ levels: {for} i {in} {range} 1 {to} 3 {print} friends[i] 's lucky number is ' lucky_numbers[i] 3: - header: Let's try it out! - text: Enjoy the adventures in level 16! + header: Debugging + text: Let's debug this code! + code: |- + {print} 'Friendship test' + {subjects} = ['song', 'movie', 'food', 'drink'] + answers_player_1 = [] + answers_player_2 = [] + score = 100 + + {for} i {in} {range} 1 {to} 4 + answer = {ask} 'what is your favorite ' subjects[i] + {add} answer {to} answers_player_1 + + {print} 'Player 2, your turn!' + {for} i {in} {range} 0 {to} 4 + answer_player_2 = {ask} 'what is player 1s favorite ' subjects + {add} answer_player_2 {in} answers_player_2 + {if} answers_player_2[2] == answers_player_1[1] + {print} 'Correct!' + {else} + {print} 'Wrong!' + score = score - 25 + + {print} 'Player 2, you've scored ' score '%' + + {if} score = 100 + {print} 'You are an amazing friend' + {if} score < 100 {or} score >= 50 + {print} 'You could do better' + {else} score < 50 + {print} 'Do you even know this person?!' + debug: 'True' + 4: 17: 1: header: Welcome to level 17 @@ -1090,8 +1147,28 @@ levels: {else}: {print} 'Better luck next time..' 4: - header: Let's try it out! - text: Enjoy the adventures in level 17! + header: Debugging + text: Let's debug this code! + code: |- + {define} ask_direction + direction = {ask} 'Where do you want to go?' + {if} direction = 'backwards' + {turn} 180 + {else} direction == 'right' + {turn} 90 + {else} direction == 'left' + {turn} 270 + {forward} 100 + + continue = 'yes' + + {while} continue == 'yes' + {print} ask_direction + {sleep} + continue = 'do you want to draw some more?' + {sleep} + debug: 'True' + 5: 18: 1: header: Welcome to level 18 diff --git a/content/slides/ko.yaml b/content/slides/ko.yaml index bc20ca5a38e..8fe7ca0fc4e 100644 --- a/content/slides/ko.yaml +++ b/content/slides/ko.yaml @@ -955,6 +955,32 @@ levels: answer = {ask} 'What is 5 times 5?' {print} 'A correct answer has been given' 3: + header: Debugging + text: Let's debug this code! + code: |- + numbers = 1, 2 + + {for} i {in} {range} 3 {to} 50 + {add} x {to} numbers + i = + 1 + + random_number = numbers {random} + guesses = 10 + + {while} guess = 0 + answer = 'Guess my number:' + {if} answer >= random_number + {print} 'lower' + guesses = guesses -1 + {if} answer > random_number + {print} 'higher!' + guesses = guesses + {else} answer = random_number + {print} 'correct' + guesses = 10 + + debug: 'True' + 4: header: 한번 해보자! text: 레벨 15의 모험을 즐기세요! 16: @@ -974,6 +1000,39 @@ levels: {for} i {in} {range} 1 {to} 3 {print} friends[i] 's lucky number is ' lucky_numbers[i] 3: + header: Debugging + text: Let's debug this code! + code: |- + {print} 'Friendship test' + {subjects} = ['song', 'movie', 'food', 'drink'] + answers_player_1 = [] + answers_player_2 = [] + score = 100 + + {for} i {in} {range} 1 {to} 4 + answer = {ask} 'what is your favorite ' subjects[i] + {add} answer {to} answers_player_1 + + {print} 'Player 2, your turn!' + {for} i {in} {range} 0 {to} 4 + answer_player_2 = {ask} 'what is player 1s favorite ' subjects + {add} answer_player_2 {in} answers_player_2 + {if} answers_player_2[2] == answers_player_1[1] + {print} 'Correct!' + {else} + {print} 'Wrong!' + score = score - 25 + + {print} 'Player 2, you've scored ' score '%' + + {if} score = 100 + {print} 'You are an amazing friend' + {if} score < 100 {or} score >= 50 + {print} 'You could do better' + {else} score < 50 + {print} 'Do you even know this person?!' + debug: 'True' + 4: header: 한번 해보자! text: 레벨 16의 모험을 즐기세요! 17: @@ -1005,6 +1064,28 @@ levels: {else}: {print} 'Better luck next time..' 4: + header: Debugging + text: Let's debug this code! + code: |- + {define} ask_direction + direction = {ask} 'Where do you want to go?' + {if} direction = 'backwards' + {turn} 180 + {else} direction == 'right' + {turn} 90 + {else} direction == 'left' + {turn} 270 + {forward} 100 + + continue = 'yes' + + {while} continue == 'yes' + {print} ask_direction + {sleep} + continue = 'do you want to draw some more?' + {sleep} + debug: 'True' + 5: header: 한번 해보자! text: 레벨 17의 모험을 즐기세요! 18: diff --git a/content/slides/mi.yaml b/content/slides/mi.yaml index b2799d6c230..c8fccba9a22 100644 --- a/content/slides/mi.yaml +++ b/content/slides/mi.yaml @@ -1052,6 +1052,32 @@ levels: answer = {ask} 'What is 5 times 5?' {print} 'A correct answer has been given' 3: + header: Debugging + text: Let's debug this code! + code: |- + numbers = 1, 2 + + {for} i {in} {range} 3 {to} 50 + {add} x {to} numbers + i = + 1 + + random_number = numbers {random} + guesses = 10 + + {while} guess = 0 + answer = 'Guess my number:' + {if} answer >= random_number + {print} 'lower' + guesses = guesses -1 + {if} answer > random_number + {print} 'higher!' + guesses = guesses + {else} answer = random_number + {print} 'correct' + guesses = 10 + + debug: 'True' + 4: header: Let's try it out! text: Enjoy the adventures in level 15! 16: @@ -1071,8 +1097,39 @@ levels: {for} i {in} {range} 1 {to} 3 {print} friends[i] 's lucky number is ' lucky_numbers[i] 3: - header: Let's try it out! - text: Enjoy the adventures in level 16! + header: Debugging + text: Let's debug this code! + code: |- + {print} 'Friendship test' + {subjects} = ['song', 'movie', 'food', 'drink'] + answers_player_1 = [] + answers_player_2 = [] + score = 100 + + {for} i {in} {range} 1 {to} 4 + answer = {ask} 'what is your favorite ' subjects[i] + {add} answer {to} answers_player_1 + + {print} 'Player 2, your turn!' + {for} i {in} {range} 0 {to} 4 + answer_player_2 = {ask} 'what is player 1s favorite ' subjects + {add} answer_player_2 {in} answers_player_2 + {if} answers_player_2[2] == answers_player_1[1] + {print} 'Correct!' + {else} + {print} 'Wrong!' + score = score - 25 + + {print} 'Player 2, you've scored ' score '%' + + {if} score = 100 + {print} 'You are an amazing friend' + {if} score < 100 {or} score >= 50 + {print} 'You could do better' + {else} score < 50 + {print} 'Do you even know this person?!' + debug: 'True' + 4: 17: 1: header: Welcome to level 17 @@ -1102,8 +1159,28 @@ levels: {else}: {print} 'Better luck next time..' 4: - header: Let's try it out! - text: Enjoy the adventures in level 17! + header: Debugging + text: Let's debug this code! + code: |- + {define} ask_direction + direction = {ask} 'Where do you want to go?' + {if} direction = 'backwards' + {turn} 180 + {else} direction == 'right' + {turn} 90 + {else} direction == 'left' + {turn} 270 + {forward} 100 + + continue = 'yes' + + {while} continue == 'yes' + {print} ask_direction + {sleep} + continue = 'do you want to draw some more?' + {sleep} + debug: 'True' + 5: 18: 1: header: Welcome to level 18 diff --git a/content/slides/nb_NO.yaml b/content/slides/nb_NO.yaml index c353d40bc11..03837893d73 100644 --- a/content/slides/nb_NO.yaml +++ b/content/slides/nb_NO.yaml @@ -1044,6 +1044,32 @@ levels: answer = {ask} 'What is 5 times 5?' {print} 'A correct answer has been given' 3: + header: Debugging + text: Let's debug this code! + code: |- + numbers = 1, 2 + + {for} i {in} {range} 3 {to} 50 + {add} x {to} numbers + i = + 1 + + random_number = numbers {random} + guesses = 10 + + {while} guess = 0 + answer = 'Guess my number:' + {if} answer >= random_number + {print} 'lower' + guesses = guesses -1 + {if} answer > random_number + {print} 'higher!' + guesses = guesses + {else} answer = random_number + {print} 'correct' + guesses = 10 + + debug: 'True' + 4: header: Let's try it out! text: Enjoy the adventures in level 15! 16: @@ -1063,8 +1089,39 @@ levels: {for} i {in} {range} 1 {to} 3 {print} friends[i] 's lucky number is ' lucky_numbers[i] 3: - header: Let's try it out! - text: Enjoy the adventures in level 16! + header: Debugging + text: Let's debug this code! + code: |- + {print} 'Friendship test' + {subjects} = ['song', 'movie', 'food', 'drink'] + answers_player_1 = [] + answers_player_2 = [] + score = 100 + + {for} i {in} {range} 1 {to} 4 + answer = {ask} 'what is your favorite ' subjects[i] + {add} answer {to} answers_player_1 + + {print} 'Player 2, your turn!' + {for} i {in} {range} 0 {to} 4 + answer_player_2 = {ask} 'what is player 1s favorite ' subjects + {add} answer_player_2 {in} answers_player_2 + {if} answers_player_2[2] == answers_player_1[1] + {print} 'Correct!' + {else} + {print} 'Wrong!' + score = score - 25 + + {print} 'Player 2, you've scored ' score '%' + + {if} score = 100 + {print} 'You are an amazing friend' + {if} score < 100 {or} score >= 50 + {print} 'You could do better' + {else} score < 50 + {print} 'Do you even know this person?!' + debug: 'True' + 4: 17: 1: header: Welcome to level 17 @@ -1094,8 +1151,28 @@ levels: {else}: {print} 'Better luck next time..' 4: - header: Let's try it out! - text: Enjoy the adventures in level 17! + header: Debugging + text: Let's debug this code! + code: |- + {define} ask_direction + direction = {ask} 'Where do you want to go?' + {if} direction = 'backwards' + {turn} 180 + {else} direction == 'right' + {turn} 90 + {else} direction == 'left' + {turn} 270 + {forward} 100 + + continue = 'yes' + + {while} continue == 'yes' + {print} ask_direction + {sleep} + continue = 'do you want to draw some more?' + {sleep} + debug: 'True' + 5: 18: 1: header: Welcome to level 18 diff --git a/content/slides/nl.yaml b/content/slides/nl.yaml index f9877deb57c..df690ec4836 100644 --- a/content/slides/nl.yaml +++ b/content/slides/nl.yaml @@ -1037,6 +1037,32 @@ levels: answer = {ask} 'Hoeveel is 5 maal 5?' {print} 'Je antwoord is goed' 3: + header: Debugging + text: Laten we deze code debuggen! + code: |- + getallen = 1, 2 + + {for} i {in} {range} 3 {to} 50 + {add} x {to} getal + i = + 1 + + random_getal = getallen {random} + gokjes = 10 + + {while} guess = 0 + antwoord = 'Raad mijn getal:' + {if} antwoord >= random_getal + {print} 'Lager!' + gokjes = gok -1 + {if} antwoord > random_getal + {print} 'Hoger!' + gokjes = gokjes + {else} antwoord = random_getal + {print} 'Goedzo! Je hebt het geraden' + gokjes = 10 + + debug: 'True' + 4: header: Proberen maar! text: Veel plezier met de avonturen in level 15! 16: @@ -1056,6 +1082,39 @@ levels: {for} i {in} {range} 1 {to} 3 {print} vrienden[i] 'zijn geluks nummer is ' geluks_nummers[i] 3: + header: Debugging + text: Laten we deze code debuggen! + code: |- + {print} 'Test je vriendschap' + {onderwerpen} = ['lied', 'film', 'eten', 'drinken'] + antwoorden_speler_1 = [] + antwoorden_speler_2 = [] + score = 100 + + {for} i {in} {range} 1 {to} 4 + antwoord = {ask} 'Wat is je favoriete ' onderwerpen[i] + {add} answer {to} antwoorden_speler_1 + + {print} 'Speler 2, jouw beurt!' + {for} i {in} {range} 0 {to} 4 + antwoorden_speler_2 = {ask} 'Wat is speler 2s favoriete ' onderwerpen + {add} antwoorden_speler_2 {in} antwoorden_speler_2 + {if} antwoorden_speler_2[2] == antwoorden_speler[1] + {print} 'Juist!' + {else} + {print} 'Fout!' + score = score - 25 + + {print} 'Je hebt een score van ' score '%' + + {if} score = 100 + {print} 'Je bent een geweldige vriend(in)' + {if} score < 100 {or} score >= 50 + {print} 'Dat kan beter' + {else} score < 50 + {print} 'Jij noemt jezelf een vriend(in)?!' + debug: 'True' + 4: header: Proberen maar! text: Veel plezier met de avonturen in level 16! 17: @@ -1087,6 +1146,28 @@ levels: {else}: {print} 'Meer geluk volgende keer..' 4: + header: Debugging + text: Laten we deze code debuggen! + code: |- + {define} vraag_richting + richting = {ask} 'Waar wil je heen?' + {if} richting = 'terug' + {turn} 180 + {else} richting == 'rechts' + {turn} 90 + {else} richting == 'links' + {turn} 270 + {forward} 100 + + doorspelen = 'yes' + + {while} doorspelen == 'yes' + {print} vraag_richting + {sleep} + doorspelen = 'Wil je nog iets tekenen?' + {sleep} + debug: 'True' + 5: header: Aan het werk! text: Veel plezier met de avonturen in level 17! 18: diff --git a/content/slides/pa_PK.yaml b/content/slides/pa_PK.yaml index 9479d65a273..041f16037b5 100644 --- a/content/slides/pa_PK.yaml +++ b/content/slides/pa_PK.yaml @@ -1042,6 +1042,32 @@ levels: answer = {ask} 'What is 5 times 5?' {print} 'A correct answer has been given' 3: + header: Debugging + text: Let's debug this code! + code: |- + numbers = 1, 2 + + {for} i {in} {range} 3 {to} 50 + {add} x {to} numbers + i = + 1 + + random_number = numbers {random} + guesses = 10 + + {while} guess = 0 + answer = 'Guess my number:' + {if} answer >= random_number + {print} 'lower' + guesses = guesses -1 + {if} answer > random_number + {print} 'higher!' + guesses = guesses + {else} answer = random_number + {print} 'correct' + guesses = 10 + + debug: 'True' + 4: header: Let's try it out! text: Enjoy the adventures in level 15! 16: @@ -1061,8 +1087,39 @@ levels: {for} i {in} {range} 1 {to} 3 {print} friends[i] 's lucky number is ' lucky_numbers[i] 3: - header: Let's try it out! - text: Enjoy the adventures in level 16! + header: Debugging + text: Let's debug this code! + code: |- + {print} 'Friendship test' + {subjects} = ['song', 'movie', 'food', 'drink'] + answers_player_1 = [] + answers_player_2 = [] + score = 100 + + {for} i {in} {range} 1 {to} 4 + answer = {ask} 'what is your favorite ' subjects[i] + {add} answer {to} answers_player_1 + + {print} 'Player 2, your turn!' + {for} i {in} {range} 0 {to} 4 + answer_player_2 = {ask} 'what is player 1s favorite ' subjects + {add} answer_player_2 {in} answers_player_2 + {if} answers_player_2[2] == answers_player_1[1] + {print} 'Correct!' + {else} + {print} 'Wrong!' + score = score - 25 + + {print} 'Player 2, you've scored ' score '%' + + {if} score = 100 + {print} 'You are an amazing friend' + {if} score < 100 {or} score >= 50 + {print} 'You could do better' + {else} score < 50 + {print} 'Do you even know this person?!' + debug: 'True' + 4: 17: 1: header: Welcome to level 17 @@ -1092,8 +1149,28 @@ levels: {else}: {print} 'Better luck next time..' 4: - header: Let's try it out! - text: Enjoy the adventures in level 17! + header: Debugging + text: Let's debug this code! + code: |- + {define} ask_direction + direction = {ask} 'Where do you want to go?' + {if} direction = 'backwards' + {turn} 180 + {else} direction == 'right' + {turn} 90 + {else} direction == 'left' + {turn} 270 + {forward} 100 + + continue = 'yes' + + {while} continue == 'yes' + {print} ask_direction + {sleep} + continue = 'do you want to draw some more?' + {sleep} + debug: 'True' + 5: 18: 1: header: Welcome to level 18 diff --git a/content/slides/pap.yaml b/content/slides/pap.yaml index b2799d6c230..c8fccba9a22 100644 --- a/content/slides/pap.yaml +++ b/content/slides/pap.yaml @@ -1052,6 +1052,32 @@ levels: answer = {ask} 'What is 5 times 5?' {print} 'A correct answer has been given' 3: + header: Debugging + text: Let's debug this code! + code: |- + numbers = 1, 2 + + {for} i {in} {range} 3 {to} 50 + {add} x {to} numbers + i = + 1 + + random_number = numbers {random} + guesses = 10 + + {while} guess = 0 + answer = 'Guess my number:' + {if} answer >= random_number + {print} 'lower' + guesses = guesses -1 + {if} answer > random_number + {print} 'higher!' + guesses = guesses + {else} answer = random_number + {print} 'correct' + guesses = 10 + + debug: 'True' + 4: header: Let's try it out! text: Enjoy the adventures in level 15! 16: @@ -1071,8 +1097,39 @@ levels: {for} i {in} {range} 1 {to} 3 {print} friends[i] 's lucky number is ' lucky_numbers[i] 3: - header: Let's try it out! - text: Enjoy the adventures in level 16! + header: Debugging + text: Let's debug this code! + code: |- + {print} 'Friendship test' + {subjects} = ['song', 'movie', 'food', 'drink'] + answers_player_1 = [] + answers_player_2 = [] + score = 100 + + {for} i {in} {range} 1 {to} 4 + answer = {ask} 'what is your favorite ' subjects[i] + {add} answer {to} answers_player_1 + + {print} 'Player 2, your turn!' + {for} i {in} {range} 0 {to} 4 + answer_player_2 = {ask} 'what is player 1s favorite ' subjects + {add} answer_player_2 {in} answers_player_2 + {if} answers_player_2[2] == answers_player_1[1] + {print} 'Correct!' + {else} + {print} 'Wrong!' + score = score - 25 + + {print} 'Player 2, you've scored ' score '%' + + {if} score = 100 + {print} 'You are an amazing friend' + {if} score < 100 {or} score >= 50 + {print} 'You could do better' + {else} score < 50 + {print} 'Do you even know this person?!' + debug: 'True' + 4: 17: 1: header: Welcome to level 17 @@ -1102,8 +1159,28 @@ levels: {else}: {print} 'Better luck next time..' 4: - header: Let's try it out! - text: Enjoy the adventures in level 17! + header: Debugging + text: Let's debug this code! + code: |- + {define} ask_direction + direction = {ask} 'Where do you want to go?' + {if} direction = 'backwards' + {turn} 180 + {else} direction == 'right' + {turn} 90 + {else} direction == 'left' + {turn} 270 + {forward} 100 + + continue = 'yes' + + {while} continue == 'yes' + {print} ask_direction + {sleep} + continue = 'do you want to draw some more?' + {sleep} + debug: 'True' + 5: 18: 1: header: Welcome to level 18 diff --git a/content/slides/pl.yaml b/content/slides/pl.yaml index ec5c0a6eb26..0b697b00785 100644 --- a/content/slides/pl.yaml +++ b/content/slides/pl.yaml @@ -1048,6 +1048,32 @@ levels: answer = {ask} 'What is 5 times 5?' {print} 'A correct answer has been given' 3: + header: Debugging + text: Let's debug this code! + code: |- + numbers = 1, 2 + + {for} i {in} {range} 3 {to} 50 + {add} x {to} numbers + i = + 1 + + random_number = numbers {random} + guesses = 10 + + {while} guess = 0 + answer = 'Guess my number:' + {if} answer >= random_number + {print} 'lower' + guesses = guesses -1 + {if} answer > random_number + {print} 'higher!' + guesses = guesses + {else} answer = random_number + {print} 'correct' + guesses = 10 + + debug: 'True' + 4: header: Let's try it out! text: Enjoy the adventures in level 15! 16: @@ -1067,8 +1093,39 @@ levels: {for} i {in} {range} 1 {to} 3 {print} friends[i] 's lucky number is ' lucky_numbers[i] 3: - header: Let's try it out! - text: Enjoy the adventures in level 16! + header: Debugging + text: Let's debug this code! + code: |- + {print} 'Friendship test' + {subjects} = ['song', 'movie', 'food', 'drink'] + answers_player_1 = [] + answers_player_2 = [] + score = 100 + + {for} i {in} {range} 1 {to} 4 + answer = {ask} 'what is your favorite ' subjects[i] + {add} answer {to} answers_player_1 + + {print} 'Player 2, your turn!' + {for} i {in} {range} 0 {to} 4 + answer_player_2 = {ask} 'what is player 1s favorite ' subjects + {add} answer_player_2 {in} answers_player_2 + {if} answers_player_2[2] == answers_player_1[1] + {print} 'Correct!' + {else} + {print} 'Wrong!' + score = score - 25 + + {print} 'Player 2, you've scored ' score '%' + + {if} score = 100 + {print} 'You are an amazing friend' + {if} score < 100 {or} score >= 50 + {print} 'You could do better' + {else} score < 50 + {print} 'Do you even know this person?!' + debug: 'True' + 4: 17: 1: header: Welcome to level 17 @@ -1098,8 +1155,28 @@ levels: {else}: {print} 'Better luck next time..' 4: - header: Let's try it out! - text: Enjoy the adventures in level 17! + header: Debugging + text: Let's debug this code! + code: |- + {define} ask_direction + direction = {ask} 'Where do you want to go?' + {if} direction = 'backwards' + {turn} 180 + {else} direction == 'right' + {turn} 90 + {else} direction == 'left' + {turn} 270 + {forward} 100 + + continue = 'yes' + + {while} continue == 'yes' + {print} ask_direction + {sleep} + continue = 'do you want to draw some more?' + {sleep} + debug: 'True' + 5: 18: 1: header: Welcome to level 18 diff --git a/content/slides/pt_BR.yaml b/content/slides/pt_BR.yaml index b38d4fbb0b0..c9a611dd23b 100644 --- a/content/slides/pt_BR.yaml +++ b/content/slides/pt_BR.yaml @@ -1041,6 +1041,32 @@ levels: answer = {ask} 'What is 5 times 5?' {print} 'A correct answer has been given' 3: + header: Debugging + text: Let's debug this code! + code: |- + numbers = 1, 2 + + {for} i {in} {range} 3 {to} 50 + {add} x {to} numbers + i = + 1 + + random_number = numbers {random} + guesses = 10 + + {while} guess = 0 + answer = 'Guess my number:' + {if} answer >= random_number + {print} 'lower' + guesses = guesses -1 + {if} answer > random_number + {print} 'higher!' + guesses = guesses + {else} answer = random_number + {print} 'correct' + guesses = 10 + + debug: 'True' + 4: header: Let's try it out! text: Enjoy the adventures in level 15! 16: @@ -1060,8 +1086,39 @@ levels: {for} i {in} {range} 1 {to} 3 {print} friends[i] 's lucky number is ' lucky_numbers[i] 3: - header: Let's try it out! - text: Enjoy the adventures in level 16! + header: Debugging + text: Let's debug this code! + code: |- + {print} 'Friendship test' + {subjects} = ['song', 'movie', 'food', 'drink'] + answers_player_1 = [] + answers_player_2 = [] + score = 100 + + {for} i {in} {range} 1 {to} 4 + answer = {ask} 'what is your favorite ' subjects[i] + {add} answer {to} answers_player_1 + + {print} 'Player 2, your turn!' + {for} i {in} {range} 0 {to} 4 + answer_player_2 = {ask} 'what is player 1s favorite ' subjects + {add} answer_player_2 {in} answers_player_2 + {if} answers_player_2[2] == answers_player_1[1] + {print} 'Correct!' + {else} + {print} 'Wrong!' + score = score - 25 + + {print} 'Player 2, you've scored ' score '%' + + {if} score = 100 + {print} 'You are an amazing friend' + {if} score < 100 {or} score >= 50 + {print} 'You could do better' + {else} score < 50 + {print} 'Do you even know this person?!' + debug: 'True' + 4: 17: 1: header: Bem-vindo(a) ao nível 17 @@ -1091,8 +1148,28 @@ levels: {else}: {print} 'Better luck next time..' 4: - header: Let's try it out! - text: Enjoy the adventures in level 17! + header: Debugging + text: Let's debug this code! + code: |- + {define} ask_direction + direction = {ask} 'Where do you want to go?' + {if} direction = 'backwards' + {turn} 180 + {else} direction == 'right' + {turn} 90 + {else} direction == 'left' + {turn} 270 + {forward} 100 + + continue = 'yes' + + {while} continue == 'yes' + {print} ask_direction + {sleep} + continue = 'do you want to draw some more?' + {sleep} + debug: 'True' + 5: 18: 1: header: Bem-vindo(a) ao nível 18 diff --git a/content/slides/pt_PT.yaml b/content/slides/pt_PT.yaml index 9479d65a273..041f16037b5 100644 --- a/content/slides/pt_PT.yaml +++ b/content/slides/pt_PT.yaml @@ -1042,6 +1042,32 @@ levels: answer = {ask} 'What is 5 times 5?' {print} 'A correct answer has been given' 3: + header: Debugging + text: Let's debug this code! + code: |- + numbers = 1, 2 + + {for} i {in} {range} 3 {to} 50 + {add} x {to} numbers + i = + 1 + + random_number = numbers {random} + guesses = 10 + + {while} guess = 0 + answer = 'Guess my number:' + {if} answer >= random_number + {print} 'lower' + guesses = guesses -1 + {if} answer > random_number + {print} 'higher!' + guesses = guesses + {else} answer = random_number + {print} 'correct' + guesses = 10 + + debug: 'True' + 4: header: Let's try it out! text: Enjoy the adventures in level 15! 16: @@ -1061,8 +1087,39 @@ levels: {for} i {in} {range} 1 {to} 3 {print} friends[i] 's lucky number is ' lucky_numbers[i] 3: - header: Let's try it out! - text: Enjoy the adventures in level 16! + header: Debugging + text: Let's debug this code! + code: |- + {print} 'Friendship test' + {subjects} = ['song', 'movie', 'food', 'drink'] + answers_player_1 = [] + answers_player_2 = [] + score = 100 + + {for} i {in} {range} 1 {to} 4 + answer = {ask} 'what is your favorite ' subjects[i] + {add} answer {to} answers_player_1 + + {print} 'Player 2, your turn!' + {for} i {in} {range} 0 {to} 4 + answer_player_2 = {ask} 'what is player 1s favorite ' subjects + {add} answer_player_2 {in} answers_player_2 + {if} answers_player_2[2] == answers_player_1[1] + {print} 'Correct!' + {else} + {print} 'Wrong!' + score = score - 25 + + {print} 'Player 2, you've scored ' score '%' + + {if} score = 100 + {print} 'You are an amazing friend' + {if} score < 100 {or} score >= 50 + {print} 'You could do better' + {else} score < 50 + {print} 'Do you even know this person?!' + debug: 'True' + 4: 17: 1: header: Welcome to level 17 @@ -1092,8 +1149,28 @@ levels: {else}: {print} 'Better luck next time..' 4: - header: Let's try it out! - text: Enjoy the adventures in level 17! + header: Debugging + text: Let's debug this code! + code: |- + {define} ask_direction + direction = {ask} 'Where do you want to go?' + {if} direction = 'backwards' + {turn} 180 + {else} direction == 'right' + {turn} 90 + {else} direction == 'left' + {turn} 270 + {forward} 100 + + continue = 'yes' + + {while} continue == 'yes' + {print} ask_direction + {sleep} + continue = 'do you want to draw some more?' + {sleep} + debug: 'True' + 5: 18: 1: header: Welcome to level 18 diff --git a/content/slides/ro.yaml b/content/slides/ro.yaml index 8370ade7137..aee79b50cc1 100644 --- a/content/slides/ro.yaml +++ b/content/slides/ro.yaml @@ -1041,6 +1041,32 @@ levels: answer = {ask} 'What is 5 times 5?' {print} 'A correct answer has been given' 3: + header: Debugging + text: Let's debug this code! + code: |- + numbers = 1, 2 + + {for} i {in} {range} 3 {to} 50 + {add} x {to} numbers + i = + 1 + + random_number = numbers {random} + guesses = 10 + + {while} guess = 0 + answer = 'Guess my number:' + {if} answer >= random_number + {print} 'lower' + guesses = guesses -1 + {if} answer > random_number + {print} 'higher!' + guesses = guesses + {else} answer = random_number + {print} 'correct' + guesses = 10 + + debug: 'True' + 4: header: Let's try it out! text: Enjoy the adventures in level 15! 16: @@ -1060,8 +1086,39 @@ levels: {for} i {in} {range} 1 {to} 3 {print} friends[i] 's lucky number is ' lucky_numbers[i] 3: - header: Let's try it out! - text: Enjoy the adventures in level 16! + header: Debugging + text: Let's debug this code! + code: |- + {print} 'Friendship test' + {subjects} = ['song', 'movie', 'food', 'drink'] + answers_player_1 = [] + answers_player_2 = [] + score = 100 + + {for} i {in} {range} 1 {to} 4 + answer = {ask} 'what is your favorite ' subjects[i] + {add} answer {to} answers_player_1 + + {print} 'Player 2, your turn!' + {for} i {in} {range} 0 {to} 4 + answer_player_2 = {ask} 'what is player 1s favorite ' subjects + {add} answer_player_2 {in} answers_player_2 + {if} answers_player_2[2] == answers_player_1[1] + {print} 'Correct!' + {else} + {print} 'Wrong!' + score = score - 25 + + {print} 'Player 2, you've scored ' score '%' + + {if} score = 100 + {print} 'You are an amazing friend' + {if} score < 100 {or} score >= 50 + {print} 'You could do better' + {else} score < 50 + {print} 'Do you even know this person?!' + debug: 'True' + 4: 17: 1: header: Welcome to level 17 @@ -1091,8 +1148,28 @@ levels: {else}: {print} 'Better luck next time..' 4: - header: Let's try it out! - text: Enjoy the adventures in level 17! + header: Debugging + text: Let's debug this code! + code: |- + {define} ask_direction + direction = {ask} 'Where do you want to go?' + {if} direction = 'backwards' + {turn} 180 + {else} direction == 'right' + {turn} 90 + {else} direction == 'left' + {turn} 270 + {forward} 100 + + continue = 'yes' + + {while} continue == 'yes' + {print} ask_direction + {sleep} + continue = 'do you want to draw some more?' + {sleep} + debug: 'True' + 5: 18: 1: header: Welcome to level 18 diff --git a/content/slides/ru.yaml b/content/slides/ru.yaml index 24740dcd08e..8c3c704401c 100644 --- a/content/slides/ru.yaml +++ b/content/slides/ru.yaml @@ -1044,6 +1044,32 @@ levels: answer = {ask} 'What is 5 times 5?' {print} 'A correct answer has been given' 3: + header: Debugging + text: Let's debug this code! + code: |- + numbers = 1, 2 + + {for} i {in} {range} 3 {to} 50 + {add} x {to} numbers + i = + 1 + + random_number = numbers {random} + guesses = 10 + + {while} guess = 0 + answer = 'Guess my number:' + {if} answer >= random_number + {print} 'lower' + guesses = guesses -1 + {if} answer > random_number + {print} 'higher!' + guesses = guesses + {else} answer = random_number + {print} 'correct' + guesses = 10 + + debug: 'True' + 4: header: Let's try it out! text: Enjoy the adventures in level 15! 16: @@ -1063,8 +1089,39 @@ levels: {for} i {in} {range} 1 {to} 3 {print} friends[i] 's lucky number is ' lucky_numbers[i] 3: - header: Let's try it out! - text: Enjoy the adventures in level 16! + header: Debugging + text: Let's debug this code! + code: |- + {print} 'Friendship test' + {subjects} = ['song', 'movie', 'food', 'drink'] + answers_player_1 = [] + answers_player_2 = [] + score = 100 + + {for} i {in} {range} 1 {to} 4 + answer = {ask} 'what is your favorite ' subjects[i] + {add} answer {to} answers_player_1 + + {print} 'Player 2, your turn!' + {for} i {in} {range} 0 {to} 4 + answer_player_2 = {ask} 'what is player 1s favorite ' subjects + {add} answer_player_2 {in} answers_player_2 + {if} answers_player_2[2] == answers_player_1[1] + {print} 'Correct!' + {else} + {print} 'Wrong!' + score = score - 25 + + {print} 'Player 2, you've scored ' score '%' + + {if} score = 100 + {print} 'You are an amazing friend' + {if} score < 100 {or} score >= 50 + {print} 'You could do better' + {else} score < 50 + {print} 'Do you even know this person?!' + debug: 'True' + 4: 17: 1: header: Welcome to level 17 @@ -1094,8 +1151,28 @@ levels: {else}: {print} 'Better luck next time..' 4: - header: Let's try it out! - text: Enjoy the adventures in level 17! + header: Debugging + text: Let's debug this code! + code: |- + {define} ask_direction + direction = {ask} 'Where do you want to go?' + {if} direction = 'backwards' + {turn} 180 + {else} direction == 'right' + {turn} 90 + {else} direction == 'left' + {turn} 270 + {forward} 100 + + continue = 'yes' + + {while} continue == 'yes' + {print} ask_direction + {sleep} + continue = 'do you want to draw some more?' + {sleep} + debug: 'True' + 5: 18: 1: header: Welcome to level 18 diff --git a/content/slides/sl.yaml b/content/slides/sl.yaml index ff5777c06f4..72f7c366b1d 100644 --- a/content/slides/sl.yaml +++ b/content/slides/sl.yaml @@ -509,6 +509,32 @@ levels: text: "We are going to learn a new loop, the while loop! The loop continues as long as the statement is true. So don't forget to change the value in the loop.\n\nIn the example code, we continue until a correct answer has been given. If the correct answer is never given, the loop will never end!" code: "answer = 0\n{while} answer != 25\n answer = {ask} 'What is 5 times 5?'\n{print} 'A correct answer has been given'" 3: + header: Debugging + text: Let's debug this code! + code: |- + numbers = 1, 2 + + {for} i {in} {range} 3 {to} 50 + {add} x {to} numbers + i = + 1 + + random_number = numbers {random} + guesses = 10 + + {while} guess = 0 + answer = 'Guess my number:' + {if} answer >= random_number + {print} 'lower' + guesses = guesses -1 + {if} answer > random_number + {print} 'higher!' + guesses = guesses + {else} answer = random_number + {print} 'correct' + guesses = 10 + + debug: 'True' + 4: header: Let's try it out! text: Enjoy the adventures in level 15! 16: @@ -520,8 +546,39 @@ levels: text: We are going to make lists the Python way, with square brackets around the lists! We also keep the quotation marks around each item like we have learned in previous levels. We use square brackets to point out a place in a list. The at random command can not be used anymore. code: "friends = ['Ahmed', 'Ben', 'Cayden']\n{print} friends[1] ' is the first friend on the list.'\n{print} friends[2] ' is the second friend on the list.'\n{print} friends[3] ' is the third friend on the list.'\n#now we will match 2 lists using the variable i\nlucky_numbers = [15, 18, 6]\n{for} i {in} {range} 1 {to} 3\n {print} friends[i] 's lucky number is ' lucky_numbers[i]" 3: - header: Let's try it out! - text: Enjoy the adventures in level 16! + header: Debugging + text: Let's debug this code! + code: |- + {print} 'Friendship test' + {subjects} = ['song', 'movie', 'food', 'drink'] + answers_player_1 = [] + answers_player_2 = [] + score = 100 + + {for} i {in} {range} 1 {to} 4 + answer = {ask} 'what is your favorite ' subjects[i] + {add} answer {to} answers_player_1 + + {print} 'Player 2, your turn!' + {for} i {in} {range} 0 {to} 4 + answer_player_2 = {ask} 'what is player 1s favorite ' subjects + {add} answer_player_2 {in} answers_player_2 + {if} answers_player_2[2] == answers_player_1[1] + {print} 'Correct!' + {else} + {print} 'Wrong!' + score = score - 25 + + {print} 'Player 2, you've scored ' score '%' + + {if} score = 100 + {print} 'You are an amazing friend' + {if} score < 100 {or} score >= 50 + {print} 'You could do better' + {else} score < 50 + {print} 'Do you even know this person?!' + debug: 'True' + 4: 17: 1: header: Welcome to level 17 @@ -535,8 +592,28 @@ levels: text: 'In this level you can also use a new command: elif. elif is short for else if and you need it when you want to make 3 (or more!) options. Check it out!' code: "prices = ['1 million dollars', 'an apple pie', 'nothing']\nyour_price = prices[{random}]\n{print} 'You win ' your_price\n{if} your_price == '1 million dollars' :\n {print} 'Yeah! You are rich!'\n{elif} your_price == 'an apple pie' :\n {print} 'Lovely, an apple pie!'\n{else}:\n {print} 'Better luck next time..'" 4: - header: Let's try it out! - text: Enjoy the adventures in level 17! + header: Debugging + text: Let's debug this code! + code: |- + {define} ask_direction + direction = {ask} 'Where do you want to go?' + {if} direction = 'backwards' + {turn} 180 + {else} direction == 'right' + {turn} 90 + {else} direction == 'left' + {turn} 270 + {forward} 100 + + continue = 'yes' + + {while} continue == 'yes' + {print} ask_direction + {sleep} + continue = 'do you want to draw some more?' + {sleep} + debug: 'True' + 5: 18: 1: header: Welcome to level 18 diff --git a/content/slides/sq.yaml b/content/slides/sq.yaml index 9479d65a273..041f16037b5 100644 --- a/content/slides/sq.yaml +++ b/content/slides/sq.yaml @@ -1042,6 +1042,32 @@ levels: answer = {ask} 'What is 5 times 5?' {print} 'A correct answer has been given' 3: + header: Debugging + text: Let's debug this code! + code: |- + numbers = 1, 2 + + {for} i {in} {range} 3 {to} 50 + {add} x {to} numbers + i = + 1 + + random_number = numbers {random} + guesses = 10 + + {while} guess = 0 + answer = 'Guess my number:' + {if} answer >= random_number + {print} 'lower' + guesses = guesses -1 + {if} answer > random_number + {print} 'higher!' + guesses = guesses + {else} answer = random_number + {print} 'correct' + guesses = 10 + + debug: 'True' + 4: header: Let's try it out! text: Enjoy the adventures in level 15! 16: @@ -1061,8 +1087,39 @@ levels: {for} i {in} {range} 1 {to} 3 {print} friends[i] 's lucky number is ' lucky_numbers[i] 3: - header: Let's try it out! - text: Enjoy the adventures in level 16! + header: Debugging + text: Let's debug this code! + code: |- + {print} 'Friendship test' + {subjects} = ['song', 'movie', 'food', 'drink'] + answers_player_1 = [] + answers_player_2 = [] + score = 100 + + {for} i {in} {range} 1 {to} 4 + answer = {ask} 'what is your favorite ' subjects[i] + {add} answer {to} answers_player_1 + + {print} 'Player 2, your turn!' + {for} i {in} {range} 0 {to} 4 + answer_player_2 = {ask} 'what is player 1s favorite ' subjects + {add} answer_player_2 {in} answers_player_2 + {if} answers_player_2[2] == answers_player_1[1] + {print} 'Correct!' + {else} + {print} 'Wrong!' + score = score - 25 + + {print} 'Player 2, you've scored ' score '%' + + {if} score = 100 + {print} 'You are an amazing friend' + {if} score < 100 {or} score >= 50 + {print} 'You could do better' + {else} score < 50 + {print} 'Do you even know this person?!' + debug: 'True' + 4: 17: 1: header: Welcome to level 17 @@ -1092,8 +1149,28 @@ levels: {else}: {print} 'Better luck next time..' 4: - header: Let's try it out! - text: Enjoy the adventures in level 17! + header: Debugging + text: Let's debug this code! + code: |- + {define} ask_direction + direction = {ask} 'Where do you want to go?' + {if} direction = 'backwards' + {turn} 180 + {else} direction == 'right' + {turn} 90 + {else} direction == 'left' + {turn} 270 + {forward} 100 + + continue = 'yes' + + {while} continue == 'yes' + {print} ask_direction + {sleep} + continue = 'do you want to draw some more?' + {sleep} + debug: 'True' + 5: 18: 1: header: Welcome to level 18 diff --git a/content/slides/sr.yaml b/content/slides/sr.yaml index 8ed647d0572..2041f437216 100644 --- a/content/slides/sr.yaml +++ b/content/slides/sr.yaml @@ -1042,6 +1042,32 @@ levels: answer = {ask} 'What is 5 times 5?' {print} 'A correct answer has been given' 3: + header: Debugging + text: Let's debug this code! + code: |- + numbers = 1, 2 + + {for} i {in} {range} 3 {to} 50 + {add} x {to} numbers + i = + 1 + + random_number = numbers {random} + guesses = 10 + + {while} guess = 0 + answer = 'Guess my number:' + {if} answer >= random_number + {print} 'lower' + guesses = guesses -1 + {if} answer > random_number + {print} 'higher!' + guesses = guesses + {else} answer = random_number + {print} 'correct' + guesses = 10 + + debug: 'True' + 4: header: Let's try it out! text: Enjoy the adventures in level 15! 16: @@ -1061,8 +1087,39 @@ levels: {for} i {in} {range} 1 {to} 3 {print} friends[i] 's lucky number is ' lucky_numbers[i] 3: - header: Let's try it out! - text: Enjoy the adventures in level 16! + header: Debugging + text: Let's debug this code! + code: |- + {print} 'Friendship test' + {subjects} = ['song', 'movie', 'food', 'drink'] + answers_player_1 = [] + answers_player_2 = [] + score = 100 + + {for} i {in} {range} 1 {to} 4 + answer = {ask} 'what is your favorite ' subjects[i] + {add} answer {to} answers_player_1 + + {print} 'Player 2, your turn!' + {for} i {in} {range} 0 {to} 4 + answer_player_2 = {ask} 'what is player 1s favorite ' subjects + {add} answer_player_2 {in} answers_player_2 + {if} answers_player_2[2] == answers_player_1[1] + {print} 'Correct!' + {else} + {print} 'Wrong!' + score = score - 25 + + {print} 'Player 2, you've scored ' score '%' + + {if} score = 100 + {print} 'You are an amazing friend' + {if} score < 100 {or} score >= 50 + {print} 'You could do better' + {else} score < 50 + {print} 'Do you even know this person?!' + debug: 'True' + 4: 17: 1: header: Welcome to level 17 @@ -1092,8 +1149,28 @@ levels: {else}: {print} 'Better luck next time..' 4: - header: Let's try it out! - text: Enjoy the adventures in level 17! + header: Debugging + text: Let's debug this code! + code: |- + {define} ask_direction + direction = {ask} 'Where do you want to go?' + {if} direction = 'backwards' + {turn} 180 + {else} direction == 'right' + {turn} 90 + {else} direction == 'left' + {turn} 270 + {forward} 100 + + continue = 'yes' + + {while} continue == 'yes' + {print} ask_direction + {sleep} + continue = 'do you want to draw some more?' + {sleep} + debug: 'True' + 5: 18: 1: header: Welcome to level 18 diff --git a/content/slides/sv.yaml b/content/slides/sv.yaml index 1fc3be2943e..73cbb252492 100644 --- a/content/slides/sv.yaml +++ b/content/slides/sv.yaml @@ -1046,6 +1046,32 @@ levels: answer = {ask} 'What is 5 times 5?' {print} 'A correct answer has been given' 3: + header: Debugging + text: Let's debug this code! + code: |- + numbers = 1, 2 + + {for} i {in} {range} 3 {to} 50 + {add} x {to} numbers + i = + 1 + + random_number = numbers {random} + guesses = 10 + + {while} guess = 0 + answer = 'Guess my number:' + {if} answer >= random_number + {print} 'lower' + guesses = guesses -1 + {if} answer > random_number + {print} 'higher!' + guesses = guesses + {else} answer = random_number + {print} 'correct' + guesses = 10 + + debug: 'True' + 4: header: Vi testar det! text: Ha det kul med äventyren på nivå 15! 16: @@ -1065,6 +1091,39 @@ levels: {for} i {in} {range} 1 {to} 3 {print} friends[i] 's lucky number is ' lucky_numbers[i] 3: + header: Debugging + text: Let's debug this code! + code: |- + {print} 'Friendship test' + {subjects} = ['song', 'movie', 'food', 'drink'] + answers_player_1 = [] + answers_player_2 = [] + score = 100 + + {for} i {in} {range} 1 {to} 4 + answer = {ask} 'what is your favorite ' subjects[i] + {add} answer {to} answers_player_1 + + {print} 'Player 2, your turn!' + {for} i {in} {range} 0 {to} 4 + answer_player_2 = {ask} 'what is player 1s favorite ' subjects + {add} answer_player_2 {in} answers_player_2 + {if} answers_player_2[2] == answers_player_1[1] + {print} 'Correct!' + {else} + {print} 'Wrong!' + score = score - 25 + + {print} 'Player 2, you've scored ' score '%' + + {if} score = 100 + {print} 'You are an amazing friend' + {if} score < 100 {or} score >= 50 + {print} 'You could do better' + {else} score < 50 + {print} 'Do you even know this person?!' + debug: 'True' + 4: header: Vi testar det! text: Ha det kul med äventyren på nivå 16! 17: diff --git a/content/slides/sw.yaml b/content/slides/sw.yaml index 9479d65a273..041f16037b5 100644 --- a/content/slides/sw.yaml +++ b/content/slides/sw.yaml @@ -1042,6 +1042,32 @@ levels: answer = {ask} 'What is 5 times 5?' {print} 'A correct answer has been given' 3: + header: Debugging + text: Let's debug this code! + code: |- + numbers = 1, 2 + + {for} i {in} {range} 3 {to} 50 + {add} x {to} numbers + i = + 1 + + random_number = numbers {random} + guesses = 10 + + {while} guess = 0 + answer = 'Guess my number:' + {if} answer >= random_number + {print} 'lower' + guesses = guesses -1 + {if} answer > random_number + {print} 'higher!' + guesses = guesses + {else} answer = random_number + {print} 'correct' + guesses = 10 + + debug: 'True' + 4: header: Let's try it out! text: Enjoy the adventures in level 15! 16: @@ -1061,8 +1087,39 @@ levels: {for} i {in} {range} 1 {to} 3 {print} friends[i] 's lucky number is ' lucky_numbers[i] 3: - header: Let's try it out! - text: Enjoy the adventures in level 16! + header: Debugging + text: Let's debug this code! + code: |- + {print} 'Friendship test' + {subjects} = ['song', 'movie', 'food', 'drink'] + answers_player_1 = [] + answers_player_2 = [] + score = 100 + + {for} i {in} {range} 1 {to} 4 + answer = {ask} 'what is your favorite ' subjects[i] + {add} answer {to} answers_player_1 + + {print} 'Player 2, your turn!' + {for} i {in} {range} 0 {to} 4 + answer_player_2 = {ask} 'what is player 1s favorite ' subjects + {add} answer_player_2 {in} answers_player_2 + {if} answers_player_2[2] == answers_player_1[1] + {print} 'Correct!' + {else} + {print} 'Wrong!' + score = score - 25 + + {print} 'Player 2, you've scored ' score '%' + + {if} score = 100 + {print} 'You are an amazing friend' + {if} score < 100 {or} score >= 50 + {print} 'You could do better' + {else} score < 50 + {print} 'Do you even know this person?!' + debug: 'True' + 4: 17: 1: header: Welcome to level 17 @@ -1092,8 +1149,28 @@ levels: {else}: {print} 'Better luck next time..' 4: - header: Let's try it out! - text: Enjoy the adventures in level 17! + header: Debugging + text: Let's debug this code! + code: |- + {define} ask_direction + direction = {ask} 'Where do you want to go?' + {if} direction = 'backwards' + {turn} 180 + {else} direction == 'right' + {turn} 90 + {else} direction == 'left' + {turn} 270 + {forward} 100 + + continue = 'yes' + + {while} continue == 'yes' + {print} ask_direction + {sleep} + continue = 'do you want to draw some more?' + {sleep} + debug: 'True' + 5: 18: 1: header: Welcome to level 18 diff --git a/content/slides/te.yaml b/content/slides/te.yaml index 9479d65a273..041f16037b5 100644 --- a/content/slides/te.yaml +++ b/content/slides/te.yaml @@ -1042,6 +1042,32 @@ levels: answer = {ask} 'What is 5 times 5?' {print} 'A correct answer has been given' 3: + header: Debugging + text: Let's debug this code! + code: |- + numbers = 1, 2 + + {for} i {in} {range} 3 {to} 50 + {add} x {to} numbers + i = + 1 + + random_number = numbers {random} + guesses = 10 + + {while} guess = 0 + answer = 'Guess my number:' + {if} answer >= random_number + {print} 'lower' + guesses = guesses -1 + {if} answer > random_number + {print} 'higher!' + guesses = guesses + {else} answer = random_number + {print} 'correct' + guesses = 10 + + debug: 'True' + 4: header: Let's try it out! text: Enjoy the adventures in level 15! 16: @@ -1061,8 +1087,39 @@ levels: {for} i {in} {range} 1 {to} 3 {print} friends[i] 's lucky number is ' lucky_numbers[i] 3: - header: Let's try it out! - text: Enjoy the adventures in level 16! + header: Debugging + text: Let's debug this code! + code: |- + {print} 'Friendship test' + {subjects} = ['song', 'movie', 'food', 'drink'] + answers_player_1 = [] + answers_player_2 = [] + score = 100 + + {for} i {in} {range} 1 {to} 4 + answer = {ask} 'what is your favorite ' subjects[i] + {add} answer {to} answers_player_1 + + {print} 'Player 2, your turn!' + {for} i {in} {range} 0 {to} 4 + answer_player_2 = {ask} 'what is player 1s favorite ' subjects + {add} answer_player_2 {in} answers_player_2 + {if} answers_player_2[2] == answers_player_1[1] + {print} 'Correct!' + {else} + {print} 'Wrong!' + score = score - 25 + + {print} 'Player 2, you've scored ' score '%' + + {if} score = 100 + {print} 'You are an amazing friend' + {if} score < 100 {or} score >= 50 + {print} 'You could do better' + {else} score < 50 + {print} 'Do you even know this person?!' + debug: 'True' + 4: 17: 1: header: Welcome to level 17 @@ -1092,8 +1149,28 @@ levels: {else}: {print} 'Better luck next time..' 4: - header: Let's try it out! - text: Enjoy the adventures in level 17! + header: Debugging + text: Let's debug this code! + code: |- + {define} ask_direction + direction = {ask} 'Where do you want to go?' + {if} direction = 'backwards' + {turn} 180 + {else} direction == 'right' + {turn} 90 + {else} direction == 'left' + {turn} 270 + {forward} 100 + + continue = 'yes' + + {while} continue == 'yes' + {print} ask_direction + {sleep} + continue = 'do you want to draw some more?' + {sleep} + debug: 'True' + 5: 18: 1: header: Welcome to level 18 diff --git a/content/slides/th.yaml b/content/slides/th.yaml index e8a7fceec9b..5ea8251c0ea 100644 --- a/content/slides/th.yaml +++ b/content/slides/th.yaml @@ -1044,6 +1044,32 @@ levels: answer = {ask} 'What is 5 times 5?' {print} 'A correct answer has been given' 3: + header: Debugging + text: Let's debug this code! + code: |- + numbers = 1, 2 + + {for} i {in} {range} 3 {to} 50 + {add} x {to} numbers + i = + 1 + + random_number = numbers {random} + guesses = 10 + + {while} guess = 0 + answer = 'Guess my number:' + {if} answer >= random_number + {print} 'lower' + guesses = guesses -1 + {if} answer > random_number + {print} 'higher!' + guesses = guesses + {else} answer = random_number + {print} 'correct' + guesses = 10 + + debug: 'True' + 4: header: Let's try it out! text: Enjoy the adventures in level 15! 16: @@ -1063,8 +1089,39 @@ levels: {for} i {in} {range} 1 {to} 3 {print} friends[i] 's lucky number is ' lucky_numbers[i] 3: - header: Let's try it out! - text: Enjoy the adventures in level 16! + header: Debugging + text: Let's debug this code! + code: |- + {print} 'Friendship test' + {subjects} = ['song', 'movie', 'food', 'drink'] + answers_player_1 = [] + answers_player_2 = [] + score = 100 + + {for} i {in} {range} 1 {to} 4 + answer = {ask} 'what is your favorite ' subjects[i] + {add} answer {to} answers_player_1 + + {print} 'Player 2, your turn!' + {for} i {in} {range} 0 {to} 4 + answer_player_2 = {ask} 'what is player 1s favorite ' subjects + {add} answer_player_2 {in} answers_player_2 + {if} answers_player_2[2] == answers_player_1[1] + {print} 'Correct!' + {else} + {print} 'Wrong!' + score = score - 25 + + {print} 'Player 2, you've scored ' score '%' + + {if} score = 100 + {print} 'You are an amazing friend' + {if} score < 100 {or} score >= 50 + {print} 'You could do better' + {else} score < 50 + {print} 'Do you even know this person?!' + debug: 'True' + 4: 17: 1: header: Welcome to level 17 @@ -1094,8 +1151,28 @@ levels: {else}: {print} 'Better luck next time..' 4: - header: Let's try it out! - text: Enjoy the adventures in level 17! + header: Debugging + text: Let's debug this code! + code: |- + {define} ask_direction + direction = {ask} 'Where do you want to go?' + {if} direction = 'backwards' + {turn} 180 + {else} direction == 'right' + {turn} 90 + {else} direction == 'left' + {turn} 270 + {forward} 100 + + continue = 'yes' + + {while} continue == 'yes' + {print} ask_direction + {sleep} + continue = 'do you want to draw some more?' + {sleep} + debug: 'True' + 5: 18: 1: header: Welcome to level 18 diff --git a/content/slides/tl.yaml b/content/slides/tl.yaml index 9479d65a273..041f16037b5 100644 --- a/content/slides/tl.yaml +++ b/content/slides/tl.yaml @@ -1042,6 +1042,32 @@ levels: answer = {ask} 'What is 5 times 5?' {print} 'A correct answer has been given' 3: + header: Debugging + text: Let's debug this code! + code: |- + numbers = 1, 2 + + {for} i {in} {range} 3 {to} 50 + {add} x {to} numbers + i = + 1 + + random_number = numbers {random} + guesses = 10 + + {while} guess = 0 + answer = 'Guess my number:' + {if} answer >= random_number + {print} 'lower' + guesses = guesses -1 + {if} answer > random_number + {print} 'higher!' + guesses = guesses + {else} answer = random_number + {print} 'correct' + guesses = 10 + + debug: 'True' + 4: header: Let's try it out! text: Enjoy the adventures in level 15! 16: @@ -1061,8 +1087,39 @@ levels: {for} i {in} {range} 1 {to} 3 {print} friends[i] 's lucky number is ' lucky_numbers[i] 3: - header: Let's try it out! - text: Enjoy the adventures in level 16! + header: Debugging + text: Let's debug this code! + code: |- + {print} 'Friendship test' + {subjects} = ['song', 'movie', 'food', 'drink'] + answers_player_1 = [] + answers_player_2 = [] + score = 100 + + {for} i {in} {range} 1 {to} 4 + answer = {ask} 'what is your favorite ' subjects[i] + {add} answer {to} answers_player_1 + + {print} 'Player 2, your turn!' + {for} i {in} {range} 0 {to} 4 + answer_player_2 = {ask} 'what is player 1s favorite ' subjects + {add} answer_player_2 {in} answers_player_2 + {if} answers_player_2[2] == answers_player_1[1] + {print} 'Correct!' + {else} + {print} 'Wrong!' + score = score - 25 + + {print} 'Player 2, you've scored ' score '%' + + {if} score = 100 + {print} 'You are an amazing friend' + {if} score < 100 {or} score >= 50 + {print} 'You could do better' + {else} score < 50 + {print} 'Do you even know this person?!' + debug: 'True' + 4: 17: 1: header: Welcome to level 17 @@ -1092,8 +1149,28 @@ levels: {else}: {print} 'Better luck next time..' 4: - header: Let's try it out! - text: Enjoy the adventures in level 17! + header: Debugging + text: Let's debug this code! + code: |- + {define} ask_direction + direction = {ask} 'Where do you want to go?' + {if} direction = 'backwards' + {turn} 180 + {else} direction == 'right' + {turn} 90 + {else} direction == 'left' + {turn} 270 + {forward} 100 + + continue = 'yes' + + {while} continue == 'yes' + {print} ask_direction + {sleep} + continue = 'do you want to draw some more?' + {sleep} + debug: 'True' + 5: 18: 1: header: Welcome to level 18 diff --git a/content/slides/tn.yaml b/content/slides/tn.yaml index 9479d65a273..041f16037b5 100644 --- a/content/slides/tn.yaml +++ b/content/slides/tn.yaml @@ -1042,6 +1042,32 @@ levels: answer = {ask} 'What is 5 times 5?' {print} 'A correct answer has been given' 3: + header: Debugging + text: Let's debug this code! + code: |- + numbers = 1, 2 + + {for} i {in} {range} 3 {to} 50 + {add} x {to} numbers + i = + 1 + + random_number = numbers {random} + guesses = 10 + + {while} guess = 0 + answer = 'Guess my number:' + {if} answer >= random_number + {print} 'lower' + guesses = guesses -1 + {if} answer > random_number + {print} 'higher!' + guesses = guesses + {else} answer = random_number + {print} 'correct' + guesses = 10 + + debug: 'True' + 4: header: Let's try it out! text: Enjoy the adventures in level 15! 16: @@ -1061,8 +1087,39 @@ levels: {for} i {in} {range} 1 {to} 3 {print} friends[i] 's lucky number is ' lucky_numbers[i] 3: - header: Let's try it out! - text: Enjoy the adventures in level 16! + header: Debugging + text: Let's debug this code! + code: |- + {print} 'Friendship test' + {subjects} = ['song', 'movie', 'food', 'drink'] + answers_player_1 = [] + answers_player_2 = [] + score = 100 + + {for} i {in} {range} 1 {to} 4 + answer = {ask} 'what is your favorite ' subjects[i] + {add} answer {to} answers_player_1 + + {print} 'Player 2, your turn!' + {for} i {in} {range} 0 {to} 4 + answer_player_2 = {ask} 'what is player 1s favorite ' subjects + {add} answer_player_2 {in} answers_player_2 + {if} answers_player_2[2] == answers_player_1[1] + {print} 'Correct!' + {else} + {print} 'Wrong!' + score = score - 25 + + {print} 'Player 2, you've scored ' score '%' + + {if} score = 100 + {print} 'You are an amazing friend' + {if} score < 100 {or} score >= 50 + {print} 'You could do better' + {else} score < 50 + {print} 'Do you even know this person?!' + debug: 'True' + 4: 17: 1: header: Welcome to level 17 @@ -1092,8 +1149,28 @@ levels: {else}: {print} 'Better luck next time..' 4: - header: Let's try it out! - text: Enjoy the adventures in level 17! + header: Debugging + text: Let's debug this code! + code: |- + {define} ask_direction + direction = {ask} 'Where do you want to go?' + {if} direction = 'backwards' + {turn} 180 + {else} direction == 'right' + {turn} 90 + {else} direction == 'left' + {turn} 270 + {forward} 100 + + continue = 'yes' + + {while} continue == 'yes' + {print} ask_direction + {sleep} + continue = 'do you want to draw some more?' + {sleep} + debug: 'True' + 5: 18: 1: header: Welcome to level 18 diff --git a/content/slides/tr.yaml b/content/slides/tr.yaml index 5e0aa554ffc..e61684dce09 100644 --- a/content/slides/tr.yaml +++ b/content/slides/tr.yaml @@ -1046,6 +1046,32 @@ levels: answer = {ask} 'What is 5 times 5?' {print} 'A correct answer has been given' 3: + header: Debugging + text: Let's debug this code! + code: |- + numbers = 1, 2 + + {for} i {in} {range} 3 {to} 50 + {add} x {to} numbers + i = + 1 + + random_number = numbers {random} + guesses = 10 + + {while} guess = 0 + answer = 'Guess my number:' + {if} answer >= random_number + {print} 'lower' + guesses = guesses -1 + {if} answer > random_number + {print} 'higher!' + guesses = guesses + {else} answer = random_number + {print} 'correct' + guesses = 10 + + debug: 'True' + 4: header: Hadi deneyelim! text: Seviye 15'teki maceraların tadını çıkarın! 16: @@ -1065,6 +1091,39 @@ levels: {for} i {in} {range} 1 {to} 3 {print} friends[i] 's lucky number is ' lucky_numbers[i] 3: + header: Debugging + text: Let's debug this code! + code: |- + {print} 'Friendship test' + {subjects} = ['song', 'movie', 'food', 'drink'] + answers_player_1 = [] + answers_player_2 = [] + score = 100 + + {for} i {in} {range} 1 {to} 4 + answer = {ask} 'what is your favorite ' subjects[i] + {add} answer {to} answers_player_1 + + {print} 'Player 2, your turn!' + {for} i {in} {range} 0 {to} 4 + answer_player_2 = {ask} 'what is player 1s favorite ' subjects + {add} answer_player_2 {in} answers_player_2 + {if} answers_player_2[2] == answers_player_1[1] + {print} 'Correct!' + {else} + {print} 'Wrong!' + score = score - 25 + + {print} 'Player 2, you've scored ' score '%' + + {if} score = 100 + {print} 'You are an amazing friend' + {if} score < 100 {or} score >= 50 + {print} 'You could do better' + {else} score < 50 + {print} 'Do you even know this person?!' + debug: 'True' + 4: header: Hadi deneyelim! text: Seviye 16'daki maceraların tadını çıkarın! 17: @@ -1096,6 +1155,28 @@ levels: {else}: {print} 'Better luck next time..' 4: + header: Debugging + text: Let's debug this code! + code: |- + {define} ask_direction + direction = {ask} 'Where do you want to go?' + {if} direction = 'backwards' + {turn} 180 + {else} direction == 'right' + {turn} 90 + {else} direction == 'left' + {turn} 270 + {forward} 100 + + continue = 'yes' + + {while} continue == 'yes' + {print} ask_direction + {sleep} + continue = 'do you want to draw some more?' + {sleep} + debug: 'True' + 5: header: Hadi deneyelim! text: Seviye 17'deki maceraların tadını çıkarın! 18: diff --git a/content/slides/uk.yaml b/content/slides/uk.yaml index 058cc78cfe0..6cc84c43431 100644 --- a/content/slides/uk.yaml +++ b/content/slides/uk.yaml @@ -1044,6 +1044,32 @@ levels: answer = {ask} 'What is 5 times 5?' {print} 'A correct answer has been given' 3: + header: Debugging + text: Let's debug this code! + code: |- + numbers = 1, 2 + + {for} i {in} {range} 3 {to} 50 + {add} x {to} numbers + i = + 1 + + random_number = numbers {random} + guesses = 10 + + {while} guess = 0 + answer = 'Guess my number:' + {if} answer >= random_number + {print} 'lower' + guesses = guesses -1 + {if} answer > random_number + {print} 'higher!' + guesses = guesses + {else} answer = random_number + {print} 'correct' + guesses = 10 + + debug: 'True' + 4: header: Let's try it out! text: Enjoy the adventures in level 15! 16: @@ -1063,8 +1089,39 @@ levels: {for} i {in} {range} 1 {to} 3 {print} friends[i] 's lucky number is ' lucky_numbers[i] 3: - header: Let's try it out! - text: Enjoy the adventures in level 16! + header: Debugging + text: Let's debug this code! + code: |- + {print} 'Friendship test' + {subjects} = ['song', 'movie', 'food', 'drink'] + answers_player_1 = [] + answers_player_2 = [] + score = 100 + + {for} i {in} {range} 1 {to} 4 + answer = {ask} 'what is your favorite ' subjects[i] + {add} answer {to} answers_player_1 + + {print} 'Player 2, your turn!' + {for} i {in} {range} 0 {to} 4 + answer_player_2 = {ask} 'what is player 1s favorite ' subjects + {add} answer_player_2 {in} answers_player_2 + {if} answers_player_2[2] == answers_player_1[1] + {print} 'Correct!' + {else} + {print} 'Wrong!' + score = score - 25 + + {print} 'Player 2, you've scored ' score '%' + + {if} score = 100 + {print} 'You are an amazing friend' + {if} score < 100 {or} score >= 50 + {print} 'You could do better' + {else} score < 50 + {print} 'Do you even know this person?!' + debug: 'True' + 4: 17: 1: header: Welcome to level 17 @@ -1094,8 +1151,28 @@ levels: {else}: {print} 'Better luck next time..' 4: - header: Let's try it out! - text: Enjoy the adventures in level 17! + header: Debugging + text: Let's debug this code! + code: |- + {define} ask_direction + direction = {ask} 'Where do you want to go?' + {if} direction = 'backwards' + {turn} 180 + {else} direction == 'right' + {turn} 90 + {else} direction == 'left' + {turn} 270 + {forward} 100 + + continue = 'yes' + + {while} continue == 'yes' + {print} ask_direction + {sleep} + continue = 'do you want to draw some more?' + {sleep} + debug: 'True' + 5: 18: 1: header: Welcome to level 18 diff --git a/content/slides/ur.yaml b/content/slides/ur.yaml index 607d1514d43..f17b7439292 100644 --- a/content/slides/ur.yaml +++ b/content/slides/ur.yaml @@ -1042,6 +1042,32 @@ levels: answer = {ask} 'What is 5 times 5?' {print} 'A correct answer has been given' 3: + header: Debugging + text: Let's debug this code! + code: |- + numbers = 1, 2 + + {for} i {in} {range} 3 {to} 50 + {add} x {to} numbers + i = + 1 + + random_number = numbers {random} + guesses = 10 + + {while} guess = 0 + answer = 'Guess my number:' + {if} answer >= random_number + {print} 'lower' + guesses = guesses -1 + {if} answer > random_number + {print} 'higher!' + guesses = guesses + {else} answer = random_number + {print} 'correct' + guesses = 10 + + debug: 'True' + 4: header: Let's try it out! text: Enjoy the adventures in level 15! 16: @@ -1061,8 +1087,39 @@ levels: {for} i {in} {range} 1 {to} 3 {print} friends[i] 's lucky number is ' lucky_numbers[i] 3: - header: Let's try it out! - text: Enjoy the adventures in level 16! + header: Debugging + text: Let's debug this code! + code: |- + {print} 'Friendship test' + {subjects} = ['song', 'movie', 'food', 'drink'] + answers_player_1 = [] + answers_player_2 = [] + score = 100 + + {for} i {in} {range} 1 {to} 4 + answer = {ask} 'what is your favorite ' subjects[i] + {add} answer {to} answers_player_1 + + {print} 'Player 2, your turn!' + {for} i {in} {range} 0 {to} 4 + answer_player_2 = {ask} 'what is player 1s favorite ' subjects + {add} answer_player_2 {in} answers_player_2 + {if} answers_player_2[2] == answers_player_1[1] + {print} 'Correct!' + {else} + {print} 'Wrong!' + score = score - 25 + + {print} 'Player 2, you've scored ' score '%' + + {if} score = 100 + {print} 'You are an amazing friend' + {if} score < 100 {or} score >= 50 + {print} 'You could do better' + {else} score < 50 + {print} 'Do you even know this person?!' + debug: 'True' + 4: 17: 1: header: Welcome to level 17 @@ -1092,8 +1149,28 @@ levels: {else}: {print} 'Better luck next time..' 4: - header: Let's try it out! - text: Enjoy the adventures in level 17! + header: Debugging + text: Let's debug this code! + code: |- + {define} ask_direction + direction = {ask} 'Where do you want to go?' + {if} direction = 'backwards' + {turn} 180 + {else} direction == 'right' + {turn} 90 + {else} direction == 'left' + {turn} 270 + {forward} 100 + + continue = 'yes' + + {while} continue == 'yes' + {print} ask_direction + {sleep} + continue = 'do you want to draw some more?' + {sleep} + debug: 'True' + 5: 18: 1: header: Welcome to level 18 diff --git a/content/slides/vi.yaml b/content/slides/vi.yaml index 30f2bd83581..7e84d66cbeb 100644 --- a/content/slides/vi.yaml +++ b/content/slides/vi.yaml @@ -1042,6 +1042,32 @@ levels: answer = {ask} 'What is 5 times 5?' {print} 'A correct answer has been given' 3: + header: Debugging + text: Let's debug this code! + code: |- + numbers = 1, 2 + + {for} i {in} {range} 3 {to} 50 + {add} x {to} numbers + i = + 1 + + random_number = numbers {random} + guesses = 10 + + {while} guess = 0 + answer = 'Guess my number:' + {if} answer >= random_number + {print} 'lower' + guesses = guesses -1 + {if} answer > random_number + {print} 'higher!' + guesses = guesses + {else} answer = random_number + {print} 'correct' + guesses = 10 + + debug: 'True' + 4: header: Let's try it out! text: Enjoy the adventures in level 15! 16: @@ -1061,8 +1087,39 @@ levels: {for} i {in} {range} 1 {to} 3 {print} friends[i] 's lucky number is ' lucky_numbers[i] 3: - header: Let's try it out! - text: Enjoy the adventures in level 16! + header: Debugging + text: Let's debug this code! + code: |- + {print} 'Friendship test' + {subjects} = ['song', 'movie', 'food', 'drink'] + answers_player_1 = [] + answers_player_2 = [] + score = 100 + + {for} i {in} {range} 1 {to} 4 + answer = {ask} 'what is your favorite ' subjects[i] + {add} answer {to} answers_player_1 + + {print} 'Player 2, your turn!' + {for} i {in} {range} 0 {to} 4 + answer_player_2 = {ask} 'what is player 1s favorite ' subjects + {add} answer_player_2 {in} answers_player_2 + {if} answers_player_2[2] == answers_player_1[1] + {print} 'Correct!' + {else} + {print} 'Wrong!' + score = score - 25 + + {print} 'Player 2, you've scored ' score '%' + + {if} score = 100 + {print} 'You are an amazing friend' + {if} score < 100 {or} score >= 50 + {print} 'You could do better' + {else} score < 50 + {print} 'Do you even know this person?!' + debug: 'True' + 4: 17: 1: header: Welcome to level 17 @@ -1092,8 +1149,28 @@ levels: {else}: {print} 'Better luck next time..' 4: - header: Let's try it out! - text: Enjoy the adventures in level 17! + header: Debugging + text: Let's debug this code! + code: |- + {define} ask_direction + direction = {ask} 'Where do you want to go?' + {if} direction = 'backwards' + {turn} 180 + {else} direction == 'right' + {turn} 90 + {else} direction == 'left' + {turn} 270 + {forward} 100 + + continue = 'yes' + + {while} continue == 'yes' + {print} ask_direction + {sleep} + continue = 'do you want to draw some more?' + {sleep} + debug: 'True' + 5: 18: 1: header: Welcome to level 18 diff --git a/content/slides/zh_Hans.yaml b/content/slides/zh_Hans.yaml index f0ab82e0a07..26072f9836b 100644 --- a/content/slides/zh_Hans.yaml +++ b/content/slides/zh_Hans.yaml @@ -1056,6 +1056,32 @@ levels: answer = {ask} '5 乘以 5 是多少?' {print} '已给出正确答案' 3: + header: Debugging + text: Let's debug this code! + code: |- + numbers = 1, 2 + + {for} i {in} {range} 3 {to} 50 + {add} x {to} numbers + i = + 1 + + random_number = numbers {random} + guesses = 10 + + {while} guess = 0 + answer = 'Guess my number:' + {if} answer >= random_number + {print} 'lower' + guesses = guesses -1 + {if} answer > random_number + {print} 'higher!' + guesses = guesses + {else} answer = random_number + {print} 'correct' + guesses = 10 + + debug: 'True' + 4: header: 让我们开始尝试! text: 享受15级的冒险吧! 16: @@ -1075,6 +1101,39 @@ levels: {for} i {in} {range} 1 {to} 3 {print} friends[i] '的幸运数字是 ' lucky_numbers[i] 3: + header: Debugging + text: Let's debug this code! + code: |- + {print} 'Friendship test' + {subjects} = ['song', 'movie', 'food', 'drink'] + answers_player_1 = [] + answers_player_2 = [] + score = 100 + + {for} i {in} {range} 1 {to} 4 + answer = {ask} 'what is your favorite ' subjects[i] + {add} answer {to} answers_player_1 + + {print} 'Player 2, your turn!' + {for} i {in} {range} 0 {to} 4 + answer_player_2 = {ask} 'what is player 1s favorite ' subjects + {add} answer_player_2 {in} answers_player_2 + {if} answers_player_2[2] == answers_player_1[1] + {print} 'Correct!' + {else} + {print} 'Wrong!' + score = score - 25 + + {print} 'Player 2, you've scored ' score '%' + + {if} score = 100 + {print} 'You are an amazing friend' + {if} score < 100 {or} score >= 50 + {print} 'You could do better' + {else} score < 50 + {print} 'Do you even know this person?!' + debug: 'True' + 4: header: 让我们开始尝试! text: 享受16级的冒险吧! 17: @@ -1106,6 +1165,28 @@ levels: {else}: {print} '下次祝你好运..' 4: + header: Debugging + text: Let's debug this code! + code: |- + {define} ask_direction + direction = {ask} 'Where do you want to go?' + {if} direction = 'backwards' + {turn} 180 + {else} direction == 'right' + {turn} 90 + {else} direction == 'left' + {turn} 270 + {forward} 100 + + continue = 'yes' + + {while} continue == 'yes' + {print} ask_direction + {sleep} + continue = 'do you want to draw some more?' + {sleep} + debug: 'True' + 5: header: 我们来试一下! text: 享受第17关的冒险吧! 18: diff --git a/content/slides/zh_Hant.yaml b/content/slides/zh_Hant.yaml index 9479d65a273..041f16037b5 100644 --- a/content/slides/zh_Hant.yaml +++ b/content/slides/zh_Hant.yaml @@ -1042,6 +1042,32 @@ levels: answer = {ask} 'What is 5 times 5?' {print} 'A correct answer has been given' 3: + header: Debugging + text: Let's debug this code! + code: |- + numbers = 1, 2 + + {for} i {in} {range} 3 {to} 50 + {add} x {to} numbers + i = + 1 + + random_number = numbers {random} + guesses = 10 + + {while} guess = 0 + answer = 'Guess my number:' + {if} answer >= random_number + {print} 'lower' + guesses = guesses -1 + {if} answer > random_number + {print} 'higher!' + guesses = guesses + {else} answer = random_number + {print} 'correct' + guesses = 10 + + debug: 'True' + 4: header: Let's try it out! text: Enjoy the adventures in level 15! 16: @@ -1061,8 +1087,39 @@ levels: {for} i {in} {range} 1 {to} 3 {print} friends[i] 's lucky number is ' lucky_numbers[i] 3: - header: Let's try it out! - text: Enjoy the adventures in level 16! + header: Debugging + text: Let's debug this code! + code: |- + {print} 'Friendship test' + {subjects} = ['song', 'movie', 'food', 'drink'] + answers_player_1 = [] + answers_player_2 = [] + score = 100 + + {for} i {in} {range} 1 {to} 4 + answer = {ask} 'what is your favorite ' subjects[i] + {add} answer {to} answers_player_1 + + {print} 'Player 2, your turn!' + {for} i {in} {range} 0 {to} 4 + answer_player_2 = {ask} 'what is player 1s favorite ' subjects + {add} answer_player_2 {in} answers_player_2 + {if} answers_player_2[2] == answers_player_1[1] + {print} 'Correct!' + {else} + {print} 'Wrong!' + score = score - 25 + + {print} 'Player 2, you've scored ' score '%' + + {if} score = 100 + {print} 'You are an amazing friend' + {if} score < 100 {or} score >= 50 + {print} 'You could do better' + {else} score < 50 + {print} 'Do you even know this person?!' + debug: 'True' + 4: 17: 1: header: Welcome to level 17 @@ -1092,8 +1149,28 @@ levels: {else}: {print} 'Better luck next time..' 4: - header: Let's try it out! - text: Enjoy the adventures in level 17! + header: Debugging + text: Let's debug this code! + code: |- + {define} ask_direction + direction = {ask} 'Where do you want to go?' + {if} direction = 'backwards' + {turn} 180 + {else} direction == 'right' + {turn} 90 + {else} direction == 'left' + {turn} 270 + {forward} 100 + + continue = 'yes' + + {while} continue == 'yes' + {print} ask_direction + {sleep} + continue = 'do you want to draw some more?' + {sleep} + debug: 'True' + 5: 18: 1: header: Welcome to level 18 From 582b0af387688131144427db914b90f848b943c7 Mon Sep 17 00:00:00 2001 From: Bob van der Linden Date: Fri, 19 Apr 2024 17:07:23 +0200 Subject: [PATCH 2/9] =?UTF-8?q?=F0=9F=93=9C=20Use=20`{play}`=20template=20?= =?UTF-8?q?instead=20of=20literal=20`play`=20in=20music=20adventure=20(#54?= =?UTF-8?q?36)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Currently when opening the music adventure level 1 in Nederlands you'll get the following instruction: > In dit level leer je het `speel` commando te gebruiken om een muzieknoot te spelen! Though in the example right next to it, it says: ``` play C4 ... ``` This example is English and not Nederlands. It should say: ``` speel C4 ... ``` Other levels of the music adventure _do_ correctly use the `speel` command. There `{play}` template is indeed used. I applied the same template to level 1. Let me know if I should also create an issue for this PR. **How to test** Follow these steps to verify this PR works as intended: * Go to http://localhost:5000/hedy/1#music * Change the language to "Nederlands" * Verify that the example uses `speel` instead of `play` commands. **Checklist** - [x] Contains one of the PR categories in the name - [x] Describes changes in the format above - [ ] Links to an existing issue or discussion - [x] Has a "How to test" section --- content/adventures/ar.yaml | 16 ++++++++-------- content/adventures/bg.yaml | 16 ++++++++-------- content/adventures/bn.yaml | 16 ++++++++-------- content/adventures/ca.yaml | 16 ++++++++-------- content/adventures/cs.yaml | 16 ++++++++-------- content/adventures/cy.yaml | 16 ++++++++-------- content/adventures/da.yaml | 16 ++++++++-------- content/adventures/de.yaml | 16 ++++++++-------- content/adventures/el.yaml | 16 ++++++++-------- content/adventures/eo.yaml | 16 ++++++++-------- content/adventures/es.yaml | 16 ++++++++-------- content/adventures/et.yaml | 16 ++++++++-------- content/adventures/fa.yaml | 16 ++++++++-------- content/adventures/fi.yaml | 16 ++++++++-------- content/adventures/fy.yaml | 16 ++++++++-------- content/adventures/he.yaml | 16 ++++++++-------- content/adventures/hi.yaml | 16 ++++++++-------- content/adventures/hu.yaml | 16 ++++++++-------- content/adventures/ia.yaml | 16 ++++++++-------- content/adventures/id.yaml | 16 ++++++++-------- content/adventures/it.yaml | 16 ++++++++-------- content/adventures/ja.yaml | 16 ++++++++-------- content/adventures/kmr.yaml | 16 ++++++++-------- content/adventures/ko.yaml | 16 ++++++++-------- content/adventures/mi.yaml | 16 ++++++++-------- content/adventures/nb_NO.yaml | 16 ++++++++-------- content/adventures/nl.yaml | 16 ++++++++-------- content/adventures/pa_PK.yaml | 16 ++++++++-------- content/adventures/pap.yaml | 16 ++++++++-------- content/adventures/pl.yaml | 16 ++++++++-------- content/adventures/pt_PT.yaml | 16 ++++++++-------- content/adventures/ro.yaml | 16 ++++++++-------- content/adventures/ru.yaml | 16 ++++++++-------- content/adventures/sq.yaml | 16 ++++++++-------- content/adventures/sr.yaml | 16 ++++++++-------- content/adventures/sv.yaml | 16 ++++++++-------- content/adventures/sw.yaml | 16 ++++++++-------- content/adventures/te.yaml | 16 ++++++++-------- content/adventures/th.yaml | 16 ++++++++-------- content/adventures/tl.yaml | 16 ++++++++-------- content/adventures/tn.yaml | 16 ++++++++-------- content/adventures/tr.yaml | 16 ++++++++-------- content/adventures/uk.yaml | 16 ++++++++-------- content/adventures/ur.yaml | 16 ++++++++-------- content/adventures/vi.yaml | 16 ++++++++-------- content/adventures/zh_Hant.yaml | 16 ++++++++-------- 46 files changed, 368 insertions(+), 368 deletions(-) diff --git a/content/adventures/ar.yaml b/content/adventures/ar.yaml index 7f821ea1069..a833dd2e1e5 100644 --- a/content/adventures/ar.yaml +++ b/content/adventures/ar.yaml @@ -2573,14 +2573,14 @@ adventures: في المستوى التالي ستتعلم كيفية تشغيل بعض الأغاني الموجودة. example_code: |- ``` - play C4 - play D4 - play E4 - play F4 - play G4 - play A4 - play B4 - play C5 + {play} C4 + {play} D4 + {play} E4 + {play} F4 + {play} G4 + {play} A4 + {play} B4 + {play} C5 ``` 2: story_text: | diff --git a/content/adventures/bg.yaml b/content/adventures/bg.yaml index 631ecd76861..aa5f7de60f4 100644 --- a/content/adventures/bg.yaml +++ b/content/adventures/bg.yaml @@ -2726,14 +2726,14 @@ adventures: In the next level you'll learn how to play some existing songs. example_code: |- ``` - play C4 - play D4 - play E4 - play F4 - play G4 - play A4 - play B4 - play C5 + {play} C4 + {play} D4 + {play} E4 + {play} F4 + {play} G4 + {play} A4 + {play} B4 + {play} C5 ``` 2: story_text: | diff --git a/content/adventures/bn.yaml b/content/adventures/bn.yaml index dd31c351e95..35c7bcb170f 100644 --- a/content/adventures/bn.yaml +++ b/content/adventures/bn.yaml @@ -2652,14 +2652,14 @@ adventures: In the next level you'll learn how to play some existing songs। example_code: |- ``` - play C4 - play D4 - play E4 - play F4 - play G4 - play A4 - play B4 - play C5 + {play} C4 + {play} D4 + {play} E4 + {play} F4 + {play} G4 + {play} A4 + {play} B4 + {play} C5 ``` 2: story_text: | diff --git a/content/adventures/ca.yaml b/content/adventures/ca.yaml index 3da27651e9a..80174a1f5ab 100644 --- a/content/adventures/ca.yaml +++ b/content/adventures/ca.yaml @@ -2733,14 +2733,14 @@ adventures: In the next level you'll learn how to play some existing songs. example_code: |- ``` - play C4 - play D4 - play E4 - play F4 - play G4 - play A4 - play B4 - play C5 + {play} C4 + {play} D4 + {play} E4 + {play} F4 + {play} G4 + {play} A4 + {play} B4 + {play} C5 ``` 2: story_text: | diff --git a/content/adventures/cs.yaml b/content/adventures/cs.yaml index 723117ea067..63000a70775 100644 --- a/content/adventures/cs.yaml +++ b/content/adventures/cs.yaml @@ -2724,14 +2724,14 @@ adventures: In the next level you'll learn how to play some existing songs. example_code: |- ``` - play C4 - play D4 - play E4 - play F4 - play G4 - play A4 - play B4 - play C5 + {play} C4 + {play} D4 + {play} E4 + {play} F4 + {play} G4 + {play} A4 + {play} B4 + {play} C5 ``` 2: story_text: | diff --git a/content/adventures/cy.yaml b/content/adventures/cy.yaml index 78453438885..24f6f78bc84 100644 --- a/content/adventures/cy.yaml +++ b/content/adventures/cy.yaml @@ -2716,14 +2716,14 @@ adventures: In the next level you'll learn how to play some existing songs. example_code: |- ``` - play C4 - play D4 - play E4 - play F4 - play G4 - play A4 - play B4 - play C5 + {play} C4 + {play} D4 + {play} E4 + {play} F4 + {play} G4 + {play} A4 + {play} B4 + {play} C5 ``` 2: story_text: | diff --git a/content/adventures/da.yaml b/content/adventures/da.yaml index 2822d13e828..80e9d934637 100644 --- a/content/adventures/da.yaml +++ b/content/adventures/da.yaml @@ -2713,14 +2713,14 @@ adventures: In the next level you'll learn how to play some existing songs. example_code: |- ``` - play C4 - play D4 - play E4 - play F4 - play G4 - play A4 - play B4 - play C5 + {play} C4 + {play} D4 + {play} E4 + {play} F4 + {play} G4 + {play} A4 + {play} B4 + {play} C5 ``` 2: story_text: | diff --git a/content/adventures/de.yaml b/content/adventures/de.yaml index 9fa6e2a9fa5..5ebb04fe33d 100644 --- a/content/adventures/de.yaml +++ b/content/adventures/de.yaml @@ -2768,14 +2768,14 @@ adventures: In the next level you'll learn how to play some existing songs. example_code: |- ``` - play C4 - play D4 - play E4 - play F4 - play G4 - play A4 - play B4 - play C5 + {play} C4 + {play} D4 + {play} E4 + {play} F4 + {play} G4 + {play} A4 + {play} B4 + {play} C5 ``` 2: story_text: | diff --git a/content/adventures/el.yaml b/content/adventures/el.yaml index c702f9315e1..c035859237f 100644 --- a/content/adventures/el.yaml +++ b/content/adventures/el.yaml @@ -2603,14 +2603,14 @@ adventures: In the next level you'll learn how to play some existing songs. example_code: |- ``` - play C4 - play D4 - play E4 - play F4 - play G4 - play A4 - play B4 - play C5 + {play} C4 + {play} D4 + {play} E4 + {play} F4 + {play} G4 + {play} A4 + {play} B4 + {play} C5 ``` 2: story_text: | diff --git a/content/adventures/eo.yaml b/content/adventures/eo.yaml index b3d68062887..0eafd591328 100644 --- a/content/adventures/eo.yaml +++ b/content/adventures/eo.yaml @@ -2682,14 +2682,14 @@ adventures: In the next level you'll learn how to play some existing songs. example_code: |- ``` - play C4 - play D4 - play E4 - play F4 - play G4 - play A4 - play B4 - play C5 + {play} C4 + {play} D4 + {play} E4 + {play} F4 + {play} G4 + {play} A4 + {play} B4 + {play} C5 ``` 2: story_text: | diff --git a/content/adventures/es.yaml b/content/adventures/es.yaml index 8d25009c5ce..30aefa6c2d9 100644 --- a/content/adventures/es.yaml +++ b/content/adventures/es.yaml @@ -2731,14 +2731,14 @@ adventures: In the next level you'll learn how to play some existing songs. example_code: |- ``` - play C4 - play D4 - play E4 - play F4 - play G4 - play A4 - play B4 - play C5 + {play} C4 + {play} D4 + {play} E4 + {play} F4 + {play} G4 + {play} A4 + {play} B4 + {play} C5 ``` 2: story_text: | diff --git a/content/adventures/et.yaml b/content/adventures/et.yaml index a7f5ebfdd4e..bc2ffa7b030 100644 --- a/content/adventures/et.yaml +++ b/content/adventures/et.yaml @@ -2696,14 +2696,14 @@ adventures: In the next level you'll learn how to play some existing songs. example_code: |- ``` - play C4 - play D4 - play E4 - play F4 - play G4 - play A4 - play B4 - play C5 + {play} C4 + {play} D4 + {play} E4 + {play} F4 + {play} G4 + {play} A4 + {play} B4 + {play} C5 ``` 2: story_text: | diff --git a/content/adventures/fa.yaml b/content/adventures/fa.yaml index 1b8b3682e71..68757c8e9a2 100644 --- a/content/adventures/fa.yaml +++ b/content/adventures/fa.yaml @@ -2691,14 +2691,14 @@ adventures: In the next level you'll learn how to play some existing songs. example_code: |- ``` - play C4 - play D4 - play E4 - play F4 - play G4 - play A4 - play B4 - play C5 + {play} C4 + {play} D4 + {play} E4 + {play} F4 + {play} G4 + {play} A4 + {play} B4 + {play} C5 ``` 2: story_text: | diff --git a/content/adventures/fi.yaml b/content/adventures/fi.yaml index 9287fa4269a..dc2b1ec4934 100644 --- a/content/adventures/fi.yaml +++ b/content/adventures/fi.yaml @@ -2714,14 +2714,14 @@ adventures: In the next level you'll learn how to play some existing songs. example_code: |- ``` - play C4 - play D4 - play E4 - play F4 - play G4 - play A4 - play B4 - play C5 + {play} C4 + {play} D4 + {play} E4 + {play} F4 + {play} G4 + {play} A4 + {play} B4 + {play} C5 ``` 2: story_text: | diff --git a/content/adventures/fy.yaml b/content/adventures/fy.yaml index b896b32b643..14bff0e642f 100644 --- a/content/adventures/fy.yaml +++ b/content/adventures/fy.yaml @@ -2772,14 +2772,14 @@ adventures: In the next level you'll learn how to play some existing songs. example_code: |- ``` - play C4 - play D4 - play E4 - play F4 - play G4 - play A4 - play B4 - play C5 + {play} C4 + {play} D4 + {play} E4 + {play} F4 + {play} G4 + {play} A4 + {play} B4 + {play} C5 ``` 2: story_text: | diff --git a/content/adventures/he.yaml b/content/adventures/he.yaml index 91d651c2951..cca15fdd198 100644 --- a/content/adventures/he.yaml +++ b/content/adventures/he.yaml @@ -2680,14 +2680,14 @@ adventures: In the next level you'll learn how to play some existing songs. example_code: |- ``` - play C4 - play D4 - play E4 - play F4 - play G4 - play A4 - play B4 - play C5 + {play} C4 + {play} D4 + {play} E4 + {play} F4 + {play} G4 + {play} A4 + {play} B4 + {play} C5 ``` 2: story_text: | diff --git a/content/adventures/hi.yaml b/content/adventures/hi.yaml index b0dbd0f07f2..c9aef616d7c 100644 --- a/content/adventures/hi.yaml +++ b/content/adventures/hi.yaml @@ -2725,14 +2725,14 @@ adventures: In the next level you'll learn how to play some existing songs। example_code: |- ``` - play C4 - play D4 - play E4 - play F4 - play G4 - play A4 - play B4 - play C5 + {play} C4 + {play} D4 + {play} E4 + {play} F4 + {play} G4 + {play} A4 + {play} B4 + {play} C5 ``` 2: story_text: | diff --git a/content/adventures/hu.yaml b/content/adventures/hu.yaml index ade8a628f84..ecc090f1b0a 100644 --- a/content/adventures/hu.yaml +++ b/content/adventures/hu.yaml @@ -2727,14 +2727,14 @@ adventures: In the next level you'll learn how to play some existing songs. example_code: |- ``` - play C4 - play D4 - play E4 - play F4 - play G4 - play A4 - play B4 - play C5 + {play} C4 + {play} D4 + {play} E4 + {play} F4 + {play} G4 + {play} A4 + {play} B4 + {play} C5 ``` 2: story_text: | diff --git a/content/adventures/ia.yaml b/content/adventures/ia.yaml index 8a49bc71b03..77c6196ce59 100644 --- a/content/adventures/ia.yaml +++ b/content/adventures/ia.yaml @@ -2747,14 +2747,14 @@ adventures: In the next level you'll learn how to play some existing songs. example_code: |- ``` - play C4 - play D4 - play E4 - play F4 - play G4 - play A4 - play B4 - play C5 + {play} C4 + {play} D4 + {play} E4 + {play} F4 + {play} G4 + {play} A4 + {play} B4 + {play} C5 ``` 2: story_text: | diff --git a/content/adventures/id.yaml b/content/adventures/id.yaml index e71f4e15f8b..f498983e8dc 100644 --- a/content/adventures/id.yaml +++ b/content/adventures/id.yaml @@ -2695,14 +2695,14 @@ adventures: In the next level you'll learn how to play some existing songs. example_code: |- ``` - play C4 - play D4 - play E4 - play F4 - play G4 - play A4 - play B4 - play C5 + {play} C4 + {play} D4 + {play} E4 + {play} F4 + {play} G4 + {play} A4 + {play} B4 + {play} C5 ``` 2: story_text: | diff --git a/content/adventures/it.yaml b/content/adventures/it.yaml index 91bbecf0479..528dce81848 100644 --- a/content/adventures/it.yaml +++ b/content/adventures/it.yaml @@ -2768,14 +2768,14 @@ adventures: In the next level you'll learn how to play some existing songs. example_code: |- ``` - play C4 - play D4 - play E4 - play F4 - play G4 - play A4 - play B4 - play C5 + {play} C4 + {play} D4 + {play} E4 + {play} F4 + {play} G4 + {play} A4 + {play} B4 + {play} C5 ``` 2: story_text: | diff --git a/content/adventures/ja.yaml b/content/adventures/ja.yaml index 4f782abc29f..bbfd79ef25c 100644 --- a/content/adventures/ja.yaml +++ b/content/adventures/ja.yaml @@ -2679,14 +2679,14 @@ adventures: In the next level you'll learn how to play some existing songs. example_code: |- ``` - play C4 - play D4 - play E4 - play F4 - play G4 - play A4 - play B4 - play C5 + {play} C4 + {play} D4 + {play} E4 + {play} F4 + {play} G4 + {play} A4 + {play} B4 + {play} C5 ``` 2: story_text: | diff --git a/content/adventures/kmr.yaml b/content/adventures/kmr.yaml index 83fdd0ceeab..77ff41c3a94 100644 --- a/content/adventures/kmr.yaml +++ b/content/adventures/kmr.yaml @@ -2708,14 +2708,14 @@ adventures: In the next level you'll learn how to play some existing songs. example_code: |- ``` - play C4 - play D4 - play E4 - play F4 - play G4 - play A4 - play B4 - play C5 + {play} C4 + {play} D4 + {play} E4 + {play} F4 + {play} G4 + {play} A4 + {play} B4 + {play} C5 ``` 2: story_text: | diff --git a/content/adventures/ko.yaml b/content/adventures/ko.yaml index 0405fbdd02d..8d4f534b487 100644 --- a/content/adventures/ko.yaml +++ b/content/adventures/ko.yaml @@ -2756,14 +2756,14 @@ adventures: In the next level you'll learn how to play some existing songs. example_code: |- ``` - play C4 - play D4 - play E4 - play F4 - play G4 - play A4 - play B4 - play C5 + {play} C4 + {play} D4 + {play} E4 + {play} F4 + {play} G4 + {play} A4 + {play} B4 + {play} C5 ``` 2: story_text: | diff --git a/content/adventures/mi.yaml b/content/adventures/mi.yaml index ab9f6c02f03..823a0534cc1 100644 --- a/content/adventures/mi.yaml +++ b/content/adventures/mi.yaml @@ -2770,14 +2770,14 @@ adventures: In the next level you'll learn how to play some existing songs. example_code: |- ``` - play C4 - play D4 - play E4 - play F4 - play G4 - play A4 - play B4 - play C5 + {play} C4 + {play} D4 + {play} E4 + {play} F4 + {play} G4 + {play} A4 + {play} B4 + {play} C5 ``` 2: story_text: | diff --git a/content/adventures/nb_NO.yaml b/content/adventures/nb_NO.yaml index a458d002fc1..36280384381 100644 --- a/content/adventures/nb_NO.yaml +++ b/content/adventures/nb_NO.yaml @@ -2679,14 +2679,14 @@ adventures: In the next level you'll learn how to play some existing songs. example_code: |- ``` - play C4 - play D4 - play E4 - play F4 - play G4 - play A4 - play B4 - play C5 + {play} C4 + {play} D4 + {play} E4 + {play} F4 + {play} G4 + {play} A4 + {play} B4 + {play} C5 ``` 2: story_text: | diff --git a/content/adventures/nl.yaml b/content/adventures/nl.yaml index d250273ccae..8db7e970561 100644 --- a/content/adventures/nl.yaml +++ b/content/adventures/nl.yaml @@ -2711,14 +2711,14 @@ adventures: In het volgende level leer je enkele bestaande nummer spelen. example_code: |- ``` - play C4 - play D4 - play E4 - play F4 - play G4 - play A4 - play B4 - play C5 + {play} C4 + {play} D4 + {play} E4 + {play} F4 + {play} G4 + {play} A4 + {play} B4 + {play} C5 ``` 2: story_text: | diff --git a/content/adventures/pa_PK.yaml b/content/adventures/pa_PK.yaml index c53d9cec7a3..ad6c2bd850a 100644 --- a/content/adventures/pa_PK.yaml +++ b/content/adventures/pa_PK.yaml @@ -2684,14 +2684,14 @@ adventures: In the next level you'll learn how to play some existing songs. example_code: |- ``` - play C4 - play D4 - play E4 - play F4 - play G4 - play A4 - play B4 - play C5 + {play} C4 + {play} D4 + {play} E4 + {play} F4 + {play} G4 + {play} A4 + {play} B4 + {play} C5 ``` 2: story_text: | diff --git a/content/adventures/pap.yaml b/content/adventures/pap.yaml index d1a37535cbb..09b2e5a8d55 100644 --- a/content/adventures/pap.yaml +++ b/content/adventures/pap.yaml @@ -2745,14 +2745,14 @@ adventures: In the next level you'll learn how to play some existing songs. example_code: |- ``` - play C4 - play D4 - play E4 - play F4 - play G4 - play A4 - play B4 - play C5 + {play} C4 + {play} D4 + {play} E4 + {play} F4 + {play} G4 + {play} A4 + {play} B4 + {play} C5 ``` 2: story_text: | diff --git a/content/adventures/pl.yaml b/content/adventures/pl.yaml index 5464b35c41b..9278e108dd0 100644 --- a/content/adventures/pl.yaml +++ b/content/adventures/pl.yaml @@ -2643,14 +2643,14 @@ adventures: In the next level you'll learn how to play some existing songs. example_code: |- ``` - play C4 - play D4 - play E4 - play F4 - play G4 - play A4 - play B4 - play C5 + {play} C4 + {play} D4 + {play} E4 + {play} F4 + {play} G4 + {play} A4 + {play} B4 + {play} C5 ``` 2: story_text: | diff --git a/content/adventures/pt_PT.yaml b/content/adventures/pt_PT.yaml index a73f078508b..dc99a87f12a 100644 --- a/content/adventures/pt_PT.yaml +++ b/content/adventures/pt_PT.yaml @@ -2608,14 +2608,14 @@ adventures: In the next level you'll learn how to play some existing songs. example_code: |- ``` - play C4 - play D4 - play E4 - play F4 - play G4 - play A4 - play B4 - play C5 + {play} C4 + {play} D4 + {play} E4 + {play} F4 + {play} G4 + {play} A4 + {play} B4 + {play} C5 ``` 2: story_text: | diff --git a/content/adventures/ro.yaml b/content/adventures/ro.yaml index ea77e89756c..6df8a0a55a6 100644 --- a/content/adventures/ro.yaml +++ b/content/adventures/ro.yaml @@ -2708,14 +2708,14 @@ adventures: In the next level you'll learn how to play some existing songs. example_code: |- ``` - play C4 - play D4 - play E4 - play F4 - play G4 - play A4 - play B4 - play C5 + {play} C4 + {play} D4 + {play} E4 + {play} F4 + {play} G4 + {play} A4 + {play} B4 + {play} C5 ``` 2: story_text: | diff --git a/content/adventures/ru.yaml b/content/adventures/ru.yaml index d03c9b0b9a1..0a097bc7b9a 100644 --- a/content/adventures/ru.yaml +++ b/content/adventures/ru.yaml @@ -2668,14 +2668,14 @@ adventures: In the next level you'll learn how to play some existing songs. example_code: |- ``` - play C4 - play D4 - play E4 - play F4 - play G4 - play A4 - play B4 - play C5 + {play} C4 + {play} D4 + {play} E4 + {play} F4 + {play} G4 + {play} A4 + {play} B4 + {play} C5 ``` 2: story_text: | diff --git a/content/adventures/sq.yaml b/content/adventures/sq.yaml index 7d07900973b..c0a3e4e0c2b 100644 --- a/content/adventures/sq.yaml +++ b/content/adventures/sq.yaml @@ -2698,14 +2698,14 @@ adventures: In the next level you'll learn how to play some existing songs. example_code: |- ``` - play C4 - play D4 - play E4 - play F4 - play G4 - play A4 - play B4 - play C5 + {play} C4 + {play} D4 + {play} E4 + {play} F4 + {play} G4 + {play} A4 + {play} B4 + {play} C5 ``` 2: story_text: | diff --git a/content/adventures/sr.yaml b/content/adventures/sr.yaml index 82609719daf..c599ce6a07a 100644 --- a/content/adventures/sr.yaml +++ b/content/adventures/sr.yaml @@ -2675,14 +2675,14 @@ adventures: In the next level you'll learn how to play some existing songs. example_code: |- ``` - play C4 - play D4 - play E4 - play F4 - play G4 - play A4 - play B4 - play C5 + {play} C4 + {play} D4 + {play} E4 + {play} F4 + {play} G4 + {play} A4 + {play} B4 + {play} C5 ``` 2: story_text: | diff --git a/content/adventures/sv.yaml b/content/adventures/sv.yaml index e5c7395c1ad..d90596ab2bd 100644 --- a/content/adventures/sv.yaml +++ b/content/adventures/sv.yaml @@ -2768,14 +2768,14 @@ adventures: In the next level you'll learn how to play some existing songs. example_code: |- ``` - play C4 - play D4 - play E4 - play F4 - play G4 - play A4 - play B4 - play C5 + {play} C4 + {play} D4 + {play} E4 + {play} F4 + {play} G4 + {play} A4 + {play} B4 + {play} C5 ``` 2: story_text: | diff --git a/content/adventures/sw.yaml b/content/adventures/sw.yaml index 0946ea8597b..44c513ebda7 100644 --- a/content/adventures/sw.yaml +++ b/content/adventures/sw.yaml @@ -2750,14 +2750,14 @@ adventures: In the next level you'll learn how to play some existing songs. example_code: |- ``` - play C4 - play D4 - play E4 - play F4 - play G4 - play A4 - play B4 - play C5 + {play} C4 + {play} D4 + {play} E4 + {play} F4 + {play} G4 + {play} A4 + {play} B4 + {play} C5 ``` 2: story_text: | diff --git a/content/adventures/te.yaml b/content/adventures/te.yaml index 86ef9509754..0551ba26105 100644 --- a/content/adventures/te.yaml +++ b/content/adventures/te.yaml @@ -2713,14 +2713,14 @@ adventures: In the next level you'll learn how to play some existing songs. example_code: |- ``` - play C4 - play D4 - play E4 - play F4 - play G4 - play A4 - play B4 - play C5 + {play} C4 + {play} D4 + {play} E4 + {play} F4 + {play} G4 + {play} A4 + {play} B4 + {play} C5 ``` 2: story_text: | diff --git a/content/adventures/th.yaml b/content/adventures/th.yaml index 700a705995b..dda1dab4ae5 100644 --- a/content/adventures/th.yaml +++ b/content/adventures/th.yaml @@ -2686,14 +2686,14 @@ adventures: In the next level you'll learn how to play some existing songs. example_code: |- ``` - play C4 - play D4 - play E4 - play F4 - play G4 - play A4 - play B4 - play C5 + {play} C4 + {play} D4 + {play} E4 + {play} F4 + {play} G4 + {play} A4 + {play} B4 + {play} C5 ``` 2: story_text: | diff --git a/content/adventures/tl.yaml b/content/adventures/tl.yaml index 67e64d186ca..abed053e8e9 100644 --- a/content/adventures/tl.yaml +++ b/content/adventures/tl.yaml @@ -2715,14 +2715,14 @@ adventures: In the next level you'll learn how to play some existing songs. example_code: |- ``` - play C4 - play D4 - play E4 - play F4 - play G4 - play A4 - play B4 - play C5 + {play} C4 + {play} D4 + {play} E4 + {play} F4 + {play} G4 + {play} A4 + {play} B4 + {play} C5 ``` 2: story_text: | diff --git a/content/adventures/tn.yaml b/content/adventures/tn.yaml index 76c344cd9b7..dd351acc60f 100644 --- a/content/adventures/tn.yaml +++ b/content/adventures/tn.yaml @@ -2695,14 +2695,14 @@ adventures: In the next level you'll learn how to play some existing songs. example_code: |- ``` - play C4 - play D4 - play E4 - play F4 - play G4 - play A4 - play B4 - play C5 + {play} C4 + {play} D4 + {play} E4 + {play} F4 + {play} G4 + {play} A4 + {play} B4 + {play} C5 ``` 2: story_text: | diff --git a/content/adventures/tr.yaml b/content/adventures/tr.yaml index 1c0a3ffc4c4..09b8357a9a7 100644 --- a/content/adventures/tr.yaml +++ b/content/adventures/tr.yaml @@ -2792,14 +2792,14 @@ adventures: In the next level you'll learn how to play some existing songs. example_code: |- ``` - play C4 - play D4 - play E4 - play F4 - play G4 - play A4 - play B4 - play C5 + {play} C4 + {play} D4 + {play} E4 + {play} F4 + {play} G4 + {play} A4 + {play} B4 + {play} C5 ``` 2: story_text: | diff --git a/content/adventures/uk.yaml b/content/adventures/uk.yaml index 6ea4934bf12..86da8992a19 100644 --- a/content/adventures/uk.yaml +++ b/content/adventures/uk.yaml @@ -2687,14 +2687,14 @@ adventures: In the next level you'll learn how to play some existing songs. example_code: |- ``` - play C4 - play D4 - play E4 - play F4 - play G4 - play A4 - play B4 - play C5 + {play} C4 + {play} D4 + {play} E4 + {play} F4 + {play} G4 + {play} A4 + {play} B4 + {play} C5 ``` 2: story_text: | diff --git a/content/adventures/ur.yaml b/content/adventures/ur.yaml index 63854f199d0..d448f72dcd7 100644 --- a/content/adventures/ur.yaml +++ b/content/adventures/ur.yaml @@ -2692,14 +2692,14 @@ adventures: In the next level you'll learn how to play some existing songs. example_code: |- ``` - play C4 - play D4 - play E4 - play F4 - play G4 - play A4 - play B4 - play C5 + {play} C4 + {play} D4 + {play} E4 + {play} F4 + {play} G4 + {play} A4 + {play} B4 + {play} C5 ``` 2: story_text: | diff --git a/content/adventures/vi.yaml b/content/adventures/vi.yaml index a2529d8ac85..fc9fa27b583 100644 --- a/content/adventures/vi.yaml +++ b/content/adventures/vi.yaml @@ -2736,14 +2736,14 @@ adventures: In the next level you'll learn how to play some existing songs. example_code: |- ``` - play C4 - play D4 - play E4 - play F4 - play G4 - play A4 - play B4 - play C5 + {play} C4 + {play} D4 + {play} E4 + {play} F4 + {play} G4 + {play} A4 + {play} B4 + {play} C5 ``` 2: story_text: | diff --git a/content/adventures/zh_Hant.yaml b/content/adventures/zh_Hant.yaml index 6e268a215c0..88f415a6168 100644 --- a/content/adventures/zh_Hant.yaml +++ b/content/adventures/zh_Hant.yaml @@ -2715,14 +2715,14 @@ adventures: In the next level you'll learn how to play some existing songs. example_code: |- ``` - play C4 - play D4 - play E4 - play F4 - play G4 - play A4 - play B4 - play C5 + {play} C4 + {play} D4 + {play} E4 + {play} F4 + {play} G4 + {play} A4 + {play} B4 + {play} C5 ``` 2: story_text: | From 703b8d8b27d10850673f07cc7f15c740d4612f0b Mon Sep 17 00:00:00 2001 From: boryanagoncharenko <3010723+boryanagoncharenko@users.noreply.github.com> Date: Sat, 20 Apr 2024 00:27:26 +0300 Subject: [PATCH 3/9] =?UTF-8?q?=F0=9F=AA=B2=20Exclude=20end=20blocks=20fro?= =?UTF-8?q?m=20comments=20(#5409)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #5395 In a specific case, an end block (`#ENDBLOCK`) is parsed as a comment. This PR excludes end blocks from the definition of comments. Note comments are ignored in the parse tree, while end blocks are not. To ensure we will not leak an end block in an parse error message, I altered the textwithoutspaces to include a potential end block. How to test - Ensure that the following program does not produce an error in level 9 ``` repeat 3 times print 3 repeat 5 times print 5 print 1 ``` - Ensure that the following program does not show an error message which leaks a character from the endblock. It should mention that the unexpected character is a new line and not `#`: ``` for i in range 1 to 10 print i ``` --- grammars/level5-Additions.lark | 2 +- grammars/terminals.lark | 10 +++++----- tests/test_level/test_level_09.py | 24 ++++++++++++++++++++++++ tests/test_level/test_level_12.py | 24 ++++++++++++++++++++++++ tests/test_level/test_level_18.py | 26 ++++++++++++++++++++++++++ 5 files changed, 80 insertions(+), 6 deletions(-) diff --git a/grammars/level5-Additions.lark b/grammars/level5-Additions.lark index 0eb0d273f73..98a7e0cbfe1 100644 --- a/grammars/level5-Additions.lark +++ b/grammars/level5-Additions.lark @@ -45,7 +45,7 @@ nospace: /[^\n, ]/ textwithspaces: /(?:[^#\n،,,、 ]| (?!else|başka|faese|अन्यथा|否则|muuten|muidu|senão|ellers|alie|altfel|иначе|inače|altrimenti|інакше|lainnya|arall|annars|değilse|anders|ndryshe|inaczej|sinon|ไม่อย่างนั้น|sonst|లేకపోతే|sino|ورنہ|وکھرا|אחרת|وإلا))+/ -> text //anything can be parsed except for a newline and a comma for list separators //a space is allowed, but it may not be followed by an else. The part " (?!else))" means space not followed by (negative look ahead) else //That is because allowing else in strings leads to issue #303 -textwithoutspaces: /(?:[^#\n،,,、 *+\-\/eidіиlలేไamfnsbअ否אو]|א(?!חרת )|و(?!إلا |کھرا |رنہ)|否(?!则 )|अ(?!न्यथा )|и(?!наче )|m(?!uidu |uuten )|d(?!eğilse )|b(?!aşka )|n(?!dryshe )|ไ(?!ม่อย่างนั้น )|l(?!ainnya )|f(?!aese )|e(?!lse |llers )|s(?!inon |enão |ino |onst )|і(?!накше )|i(?!naczej |nače )|లే (?!కపోతే )|a(?!nders |lie |ltfel |ltrimenti |nnars |rall ))+/ -> text //anything can be parsed except for spaces (plus: a newline and a comma for list separators) +textwithoutspaces: /(?:[^#\n،,,、 *+\-\/eidіиlలేไamfnsbअ否אو]|א(?!חרת )|و(?!إلا |کھرا |رنہ)|否(?!则 )|अ(?!न्यथा )|и(?!наче )|m(?!uidu |uuten )|d(?!eğilse )|b(?!aşka )|n(?!dryshe )|ไ(?!ม่อย่างนั้น )|l(?!ainnya )|f(?!aese )|e(?!lse |llers )|s(?!inon |enão |ino |onst )|і(?!накше )|i(?!naczej |nače )|లే (?!కపోతే )|a(?!nders |lie |ltfel |ltrimenti |nnars |rall ))+/ _END_BLOCK* -> text //anything can be parsed except for spaces (plus: a newline and a comma for list separators) //the part e(?!lse)|i(?!f)) means e not followed by lse, and i not followed by f // this is because allowing else and if in invalid leads to ambiguity in the grammar // note that the i's look similar but are not: inaczej versus інакше! diff --git a/grammars/terminals.lark b/grammars/terminals.lark index a10bb7f1ab0..e5e8db00027 100644 --- a/grammars/terminals.lark +++ b/grammars/terminals.lark @@ -1,6 +1,10 @@ -COMMENT: _HASH /([^\n]*)/ +// A comment has a negative lookahead to ensure it cannot parse _END_BLOCKS +COMMENT: /#(?!ENDBLOCK)[^\n]*/ %ignore COMMENT +// Internal symbol added by the preprocess_blocks function to indicate the end of blocks +_END_BLOCK: "#ENDBLOCK" + NEGATIVE_NUMBER: _MINUS /\p{Nd}+/ ("." /\p{Nd}+/)? POSITIVE_NUMBER: /\p{Nd}+/ ("." /\p{Nd}+/)? NUMBER: NEGATIVE_NUMBER | POSITIVE_NUMBER @@ -14,10 +18,6 @@ NAME: LETTER_OR_UNDERSCORE LETTER_OR_NUMERAL* LETTER_OR_UNDERSCORE: /[\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}_]+/ LETTER_OR_NUMERAL: LETTER_OR_UNDERSCORE | /[\p{Mn}\p{Mc}\p{Nd}\p{Pc}·]+/ -// Internal symbol added by the preprocess_blocks function to indicate the end of blocks -_END_BLOCK: "#ENDBLOCK" - - //symbols. they start with an underscore so they don't appear in the parse tree (Lark convention) _EOL: "\r"?"\n"+ _SPACE: " "+ diff --git a/tests/test_level/test_level_09.py b/tests/test_level/test_level_09.py index 16e4847bb1a..2dbcf498540 100644 --- a/tests/test_level/test_level_09.py +++ b/tests/test_level/test_level_09.py @@ -165,6 +165,30 @@ def test_repeat_nested_in_repeat(self): self.multi_level_tester(code=code, expected=expected, max_level=11) + def test_repeat_nested_multi_commands(self): + code = textwrap.dedent("""\ + repeat 3 times + print 3 + repeat 5 times + print 5 + print 1""") + + expected = textwrap.dedent(f"""\ + for __i in range({self.int_cast_transpiled(3)}): + print(f'3') + for __i in range({self.int_cast_transpiled(5)}): + print(f'5') + time.sleep(0.1) + print(f'1') + time.sleep(0.1)""") + + self.multi_level_tester( + code=code, + expected=expected, + max_level=11, + skip_faulty=False + ) + def test_repeat_no_indentation(self): code = textwrap.dedent("""\ repeat 3 times diff --git a/tests/test_level/test_level_12.py b/tests/test_level/test_level_12.py index 52eff652f7e..e88752f038f 100644 --- a/tests/test_level/test_level_12.py +++ b/tests/test_level/test_level_12.py @@ -1735,6 +1735,30 @@ def test_repeat_nested_in_repeat(self): self.multi_level_tester(code=code, expected=expected, max_level=17) + def test_repeat_nested_multi_commands(self): + code = textwrap.dedent("""\ + repeat 3 times + print 3 + repeat 5 times + print 5 + print 1""") + + expected = textwrap.dedent(f"""\ + for __i in range({self.int_cast_transpiled(3)}): + print(f'''3''') + for __i in range({self.int_cast_transpiled(5)}): + print(f'''5''') + time.sleep(0.1) + print(f'''1''') + time.sleep(0.1)""") + + self.multi_level_tester( + code=code, + expected=expected, + max_level=17, + skip_faulty=False + ) + # # for list command # diff --git a/tests/test_level/test_level_18.py b/tests/test_level/test_level_18.py index 82431bf40c9..5e68d1ce117 100644 --- a/tests/test_level/test_level_18.py +++ b/tests/test_level/test_level_18.py @@ -373,3 +373,29 @@ def test_if_list_access_lhs_and_or(self, op): code=code, expected=expected, ) + + # + # repeat + # + def test_repeat_nested_multi_commands(self): + code = textwrap.dedent("""\ + repeat 3 times + print(3) + repeat 5 times + print(5) + print(1)""") + + expected = textwrap.dedent(f"""\ + for __i in range({self.int_cast_transpiled(3)}): + print(f'''3''') + for __i in range({self.int_cast_transpiled(5)}): + print(f'''5''') + time.sleep(0.1) + print(f'''1''') + time.sleep(0.1)""") + + self.multi_level_tester( + code=code, + expected=expected, + skip_faulty=False + ) From b2324b82817cf6ab50066d522e85c92701a2c19e Mon Sep 17 00:00:00 2001 From: Felienne Hermans Date: Sat, 20 Apr 2024 15:38:31 +0200 Subject: [PATCH 4/9] =?UTF-8?q?=F0=9F=A7=B9=20Fix=20slides=20tester=20(#54?= =?UTF-8?q?40)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/test_snippets/snippet_tester.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_snippets/snippet_tester.py b/tests/test_snippets/snippet_tester.py index bb1810fc0c1..a2859a675aa 100644 --- a/tests/test_snippets/snippet_tester.py +++ b/tests/test_snippets/snippet_tester.py @@ -303,6 +303,8 @@ def __getitem__(self, key): return LocatedYamlValue(ret, self.yaml_path + [key]) def get(self, key, default=None): + if self.inner is None: + return None """Retrieve a single item from the inner value.""" ret = self.inner.get(key, default) if ret is None: From 63f217b24a19e7bbf8e9143d32abbb1a6ad17612 Mon Sep 17 00:00:00 2001 From: MarleenGilsing <80678586+MarleenGilsing@users.noreply.github.com> Date: Sat, 20 Apr 2024 16:07:30 +0200 Subject: [PATCH 5/9] =?UTF-8?q?=F0=9F=93=9C=20Adds=20Snowflake=20drawing?= =?UTF-8?q?=20adventure=20(#5434)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds a snowflake and a snowstorm to the draw it adventures. Fixes #5055 --- content/adventures/ar.yaml | 25 +++++++++++- content/adventures/bg.yaml | 25 +++++++++++- content/adventures/bn.yaml | 25 +++++++++++- content/adventures/ca.yaml | 25 +++++++++++- content/adventures/cs.yaml | 25 +++++++++++- content/adventures/cy.yaml | 25 +++++++++++- content/adventures/da.yaml | 25 +++++++++++- content/adventures/de.yaml | 25 +++++++++++- content/adventures/el.yaml | 25 +++++++++++- content/adventures/en.yaml | 25 +++++++++++- content/adventures/eo.yaml | 25 +++++++++++- content/adventures/es.yaml | 25 +++++++++++- content/adventures/et.yaml | 25 +++++++++++- content/adventures/fa.yaml | 25 +++++++++++- content/adventures/fi.yaml | 25 +++++++++++- content/adventures/fr.yaml | 25 +++++++++++- content/adventures/fy.yaml | 25 +++++++++++- content/adventures/he.yaml | 25 +++++++++++- content/adventures/hi.yaml | 25 +++++++++++- content/adventures/hu.yaml | 25 +++++++++++- content/adventures/ia.yaml | 25 +++++++++++- content/adventures/id.yaml | 25 +++++++++++- content/adventures/it.yaml | 25 +++++++++++- content/adventures/ja.yaml | 25 +++++++++++- content/adventures/kmr.yaml | 25 +++++++++++- content/adventures/ko.yaml | 25 +++++++++++- content/adventures/mi.yaml | 25 +++++++++++- content/adventures/nb_NO.yaml | 25 +++++++++++- content/adventures/nl.yaml | 25 +++++++++++- content/adventures/pa_PK.yaml | 25 +++++++++++- content/adventures/pap.yaml | 25 +++++++++++- content/adventures/pl.yaml | 25 +++++++++++- content/adventures/pt_BR.yaml | 25 +++++++++++- content/adventures/pt_PT.yaml | 25 +++++++++++- content/adventures/ro.yaml | 25 +++++++++++- content/adventures/ru.yaml | 25 +++++++++++- content/adventures/sl.yaml | 68 +++++++++++++++++++++++++++++++-- content/adventures/sq.yaml | 25 +++++++++++- content/adventures/sr.yaml | 25 +++++++++++- content/adventures/sv.yaml | 25 +++++++++++- content/adventures/sw.yaml | 25 +++++++++++- content/adventures/te.yaml | 25 +++++++++++- content/adventures/th.yaml | 25 +++++++++++- content/adventures/tl.yaml | 25 +++++++++++- content/adventures/tn.yaml | 25 +++++++++++- content/adventures/tr.yaml | 25 +++++++++++- content/adventures/uk.yaml | 25 +++++++++++- content/adventures/ur.yaml | 25 +++++++++++- content/adventures/vi.yaml | 25 +++++++++++- content/adventures/zh_Hans.yaml | 26 ++++++++++++- content/adventures/zh_Hant.yaml | 25 +++++++++++- 51 files changed, 1215 insertions(+), 104 deletions(-) diff --git a/content/adventures/ar.yaml b/content/adventures/ar.yaml index a833dd2e1e5..5f33cbb1b7f 100644 --- a/content/adventures/ar.yaml +++ b/content/adventures/ar.yaml @@ -4973,8 +4973,9 @@ adventures: Recreate the drawings with the turtle!
- Beehive (6) - Fan (5) + Beehive (6) + Fan (5) + Snowflake (13)
example_code: | Hint Beehive: @@ -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 @@ -5022,6 +5025,7 @@ adventures: Street in different sizes Colored street + Snow Storm example_code: | Hint Street in different sizes ``` @@ -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 diff --git a/content/adventures/bg.yaml b/content/adventures/bg.yaml index aa5f7de60f4..2679bfb3bba 100644 --- a/content/adventures/bg.yaml +++ b/content/adventures/bg.yaml @@ -5116,8 +5116,9 @@ adventures: Recreate the drawings with the turtle!
- Beehive (6) - Fan (5) + Beehive (6) + Fan (5) + Snowflake (13)
example_code: | Hint Beehive: @@ -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 @@ -5165,6 +5168,7 @@ adventures: Street in different sizes Colored street + Snow Storm example_code: | Hint Street in different sizes ``` @@ -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 diff --git a/content/adventures/bn.yaml b/content/adventures/bn.yaml index 35c7bcb170f..8b28b280623 100644 --- a/content/adventures/bn.yaml +++ b/content/adventures/bn.yaml @@ -5048,8 +5048,9 @@ adventures: Recreate the drawings with the turtle!
- Beehive (6) - Fan (5) + Beehive (6) + Fan (5) + Snowflake (13)
example_code: | Hint Beehive: @@ -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 @@ -5097,6 +5100,7 @@ adventures: Street in different sizes Colored street + Snow Storm example_code: | Hint Street in different sizes ``` @@ -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 diff --git a/content/adventures/ca.yaml b/content/adventures/ca.yaml index 80174a1f5ab..d94eaaac4f5 100644 --- a/content/adventures/ca.yaml +++ b/content/adventures/ca.yaml @@ -5172,8 +5172,9 @@ adventures: Recreate the drawings with the turtle!
- Beehive (6) - Fan (5) + Beehive (6) + Fan (5) + Snowflake (13)
example_code: | Hint Beehive: @@ -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 @@ -5221,6 +5224,7 @@ adventures: Street in different sizes Colored street + Snow Storm example_code: | Hint Street in different sizes ``` @@ -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 diff --git a/content/adventures/cs.yaml b/content/adventures/cs.yaml index 63000a70775..9f96a35fb91 100644 --- a/content/adventures/cs.yaml +++ b/content/adventures/cs.yaml @@ -5148,8 +5148,9 @@ adventures: Recreate the drawings with the turtle!
- Beehive (6) - Fan (5) + Beehive (6) + Fan (5) + Snowflake (13)
example_code: | Hint Beehive: @@ -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 @@ -5197,6 +5200,7 @@ adventures: Street in different sizes Colored street + Snow Storm example_code: | Hint Street in different sizes ``` @@ -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 diff --git a/content/adventures/cy.yaml b/content/adventures/cy.yaml index 24f6f78bc84..024a501ccc5 100644 --- a/content/adventures/cy.yaml +++ b/content/adventures/cy.yaml @@ -5126,8 +5126,9 @@ adventures: Recreate the drawings with the turtle!
- Beehive (6) - Fan (5) + Beehive (6) + Fan (5) + Snowflake (13)
example_code: | Hint Beehive: @@ -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 @@ -5175,6 +5178,7 @@ adventures: Street in different sizes Colored street + Snow Storm example_code: | Hint Street in different sizes ``` @@ -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 diff --git a/content/adventures/da.yaml b/content/adventures/da.yaml index 80e9d934637..ffab6f08a73 100644 --- a/content/adventures/da.yaml +++ b/content/adventures/da.yaml @@ -5124,8 +5124,9 @@ adventures: Recreate the drawings with the turtle!
- Beehive (6) - Fan (5) + Beehive (6) + Fan (5) + Snowflake (13)
example_code: | Hint Beehive: @@ -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 @@ -5173,6 +5176,7 @@ adventures: Street in different sizes Colored street + Snow Storm example_code: | Hint Street in different sizes ``` @@ -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 diff --git a/content/adventures/de.yaml b/content/adventures/de.yaml index 5ebb04fe33d..7c25728b297 100644 --- a/content/adventures/de.yaml +++ b/content/adventures/de.yaml @@ -5142,8 +5142,9 @@ adventures: Recreate the drawings with the turtle!
- Beehive (6) - Fan (5) + Beehive (6) + Fan (5) + Snowflake (13)
example_code: | Hint Beehive: @@ -5158,6 +5159,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 @@ -5191,6 +5194,7 @@ adventures: Street in different sizes Colored street + Snow Storm example_code: | Hint Street in different sizes ``` @@ -5207,6 +5211,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 diff --git a/content/adventures/el.yaml b/content/adventures/el.yaml index c035859237f..14d24386b25 100644 --- a/content/adventures/el.yaml +++ b/content/adventures/el.yaml @@ -4972,8 +4972,9 @@ adventures: Recreate the drawings with the turtle!
- Beehive (6) - Fan (5) + Beehive (6) + Fan (5) + Snowflake (13)
example_code: | Hint Beehive: @@ -4988,6 +4989,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 @@ -5021,6 +5024,7 @@ adventures: Street in different sizes Colored street + Snow Storm example_code: | Hint Street in different sizes ``` @@ -5037,6 +5041,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 diff --git a/content/adventures/en.yaml b/content/adventures/en.yaml index 652d1f37a89..9c6fdcce2b3 100644 --- a/content/adventures/en.yaml +++ b/content/adventures/en.yaml @@ -5149,8 +5149,9 @@ adventures: Recreate the drawings with the turtle!
- Beehive (6) - Fan (5) + Beehive (6) + Fan (5) + Snowflake (13)
example_code: | Hint Beehive: @@ -5165,6 +5166,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 @@ -5200,6 +5203,7 @@ adventures: Street in different sizes Colored street + Snow Storm example_code: | Hint Street in different sizes ``` @@ -5216,6 +5220,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 diff --git a/content/adventures/eo.yaml b/content/adventures/eo.yaml index 0eafd591328..097c751fedb 100644 --- a/content/adventures/eo.yaml +++ b/content/adventures/eo.yaml @@ -5062,8 +5062,9 @@ adventures: Recreate the drawings with the turtle!
- Beehive (6) - Fan (5) + Beehive (6) + Fan (5) + Snowflake (13)
example_code: | Hint Beehive: @@ -5078,6 +5079,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 @@ -5111,6 +5114,7 @@ adventures: Street in different sizes Colored street + Snow Storm example_code: | Hint Street in different sizes ``` @@ -5127,6 +5131,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 diff --git a/content/adventures/es.yaml b/content/adventures/es.yaml index 30aefa6c2d9..76a693497c9 100644 --- a/content/adventures/es.yaml +++ b/content/adventures/es.yaml @@ -5120,8 +5120,9 @@ adventures: ¡Vuelve a crear los dibujos con la tortuga!
- Colmena (6) - Abanico (5) + Colmena (6) + Abanico (5) + Copo de nieve (13)
example_code: | Sugerencia Colmena: @@ -5136,6 +5137,8 @@ adventures: Sugerencia Ventilador: Empieza como el ventilador que hiciste en el nivel 7. O toma una parte de la sugerencia para la colmena, porque los códigos son muy parecidos. + + Hint Snowflake: Start by making one 'leg' and repeat it 6 times. 12: story_text: | ### Ejercicio @@ -5174,6 +5177,7 @@ adventures: Calle en diferentes tamaños Calle coloreada + Snow Storm example_code: | La Calle de la Pista en diferentes tamaños ``` @@ -5190,6 +5194,23 @@ adventures: {define} dibuja_una_casa {with} color_elegido _ ``` + 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: | ### Ejercicio diff --git a/content/adventures/et.yaml b/content/adventures/et.yaml index bc2ffa7b030..9c3d42855ba 100644 --- a/content/adventures/et.yaml +++ b/content/adventures/et.yaml @@ -5082,8 +5082,9 @@ adventures: Recreate the drawings with the turtle!
- Beehive (6) - Fan (5) + Beehive (6) + Fan (5) + Snowflake (13)
example_code: | Hint Beehive: @@ -5098,6 +5099,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 @@ -5131,6 +5134,7 @@ adventures: Street in different sizes Colored street + Snow Storm example_code: | Hint Street in different sizes ``` @@ -5147,6 +5151,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 diff --git a/content/adventures/fa.yaml b/content/adventures/fa.yaml index 68757c8e9a2..38034de3688 100644 --- a/content/adventures/fa.yaml +++ b/content/adventures/fa.yaml @@ -5085,8 +5085,9 @@ adventures: Recreate the drawings with the turtle!
- Beehive (6) - Fan (5) + Beehive (6) + Fan (5) + Snowflake (13)
example_code: | Hint Beehive: @@ -5101,6 +5102,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 @@ -5134,6 +5137,7 @@ adventures: Street in different sizes Colored street + Snow Storm example_code: | Hint Street in different sizes ``` @@ -5150,6 +5154,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 diff --git a/content/adventures/fi.yaml b/content/adventures/fi.yaml index dc2b1ec4934..ea6283b318c 100644 --- a/content/adventures/fi.yaml +++ b/content/adventures/fi.yaml @@ -5153,8 +5153,9 @@ adventures: Recreate the drawings with the turtle!
- Beehive (6) - Fan (5) + Beehive (6) + Fan (5) + Snowflake (13)
example_code: | Hint Beehive: @@ -5169,6 +5170,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 @@ -5202,6 +5205,7 @@ adventures: Street in different sizes Colored street + Snow Storm example_code: | Hint Street in different sizes ``` @@ -5218,6 +5222,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 diff --git a/content/adventures/fr.yaml b/content/adventures/fr.yaml index 5d736390093..1c33c8bf618 100644 --- a/content/adventures/fr.yaml +++ b/content/adventures/fr.yaml @@ -5229,8 +5229,9 @@ adventures: Refait les dessins avec la tortue !
- Ruche (6) - Ventilateur (5) + Ruche (6) + Ventilateur (5) + Flocon de neige (13)
example_code: | Aide pour la ruche : @@ -5245,6 +5246,8 @@ adventures: Aide pour le ventilateur : Commence comme pour le ventilateur que tu as fait au niveau 7. Ou inspire-toi de l'aide pour la ruche, le code est très similaire. + + Hint Snowflake: Start by making one 'leg' and repeat it 6 times. 12: story_text: | ### Exercice @@ -5278,6 +5281,7 @@ adventures: Street in different sizes Colored street + Snow Storm example_code: | Hint Street in different sizes ``` @@ -5294,6 +5298,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 diff --git a/content/adventures/fy.yaml b/content/adventures/fy.yaml index 14bff0e642f..690f079f43f 100644 --- a/content/adventures/fy.yaml +++ b/content/adventures/fy.yaml @@ -5202,8 +5202,9 @@ adventures: Recreate the drawings with the turtle!
- Beehive (6) - Fan (5) + Beehive (6) + Fan (5) + Snowflake (13)
example_code: | Hint Beehive: @@ -5218,6 +5219,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 @@ -5251,6 +5254,7 @@ adventures: Street in different sizes Colored street + Snow Storm example_code: | Hint Street in different sizes ``` @@ -5267,6 +5271,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 diff --git a/content/adventures/he.yaml b/content/adventures/he.yaml index cca15fdd198..96ea2d39f83 100644 --- a/content/adventures/he.yaml +++ b/content/adventures/he.yaml @@ -5079,8 +5079,9 @@ adventures: Recreate the drawings with the turtle!
- Beehive (6) - Fan (5) + Beehive (6) + Fan (5) + Snowflake (13)
example_code: | Hint Beehive: @@ -5095,6 +5096,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 @@ -5128,6 +5131,7 @@ adventures: Street in different sizes Colored street + Snow Storm example_code: | Hint Street in different sizes ``` @@ -5144,6 +5148,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 diff --git a/content/adventures/hi.yaml b/content/adventures/hi.yaml index c9aef616d7c..8e46f88da1a 100644 --- a/content/adventures/hi.yaml +++ b/content/adventures/hi.yaml @@ -5129,8 +5129,9 @@ adventures: Recreate the drawings with the turtle!
- Beehive (6) - Fan (5) + Beehive (6) + Fan (5) + Snowflake (13)
example_code: | Hint Beehive: @@ -5145,6 +5146,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 @@ -5178,6 +5181,7 @@ adventures: Street in different sizes Colored street + Snow Storm example_code: | Hint Street in different sizes ``` @@ -5194,6 +5198,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 diff --git a/content/adventures/hu.yaml b/content/adventures/hu.yaml index ecc090f1b0a..00d7a8b3137 100644 --- a/content/adventures/hu.yaml +++ b/content/adventures/hu.yaml @@ -5149,8 +5149,9 @@ adventures: Recreate the drawings with the turtle!
- Beehive (6) - Fan (5) + Beehive (6) + Fan (5) + Snowflake (13)
example_code: | Hint Beehive: @@ -5165,6 +5166,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 @@ -5198,6 +5201,7 @@ adventures: Street in different sizes Colored street + Snow Storm example_code: | Hint Street in different sizes ``` @@ -5214,6 +5218,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 diff --git a/content/adventures/ia.yaml b/content/adventures/ia.yaml index 77c6196ce59..3aee29eaa08 100644 --- a/content/adventures/ia.yaml +++ b/content/adventures/ia.yaml @@ -5143,8 +5143,9 @@ adventures: Recreate the drawings with the turtle!
- Beehive (6) - Fan (5) + Beehive (6) + Fan (5) + Snowflake (13)
example_code: | Hint Beehive: @@ -5159,6 +5160,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 @@ -5192,6 +5195,7 @@ adventures: Street in different sizes Colored street + Snow Storm example_code: | Hint Street in different sizes ``` @@ -5208,6 +5212,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 diff --git a/content/adventures/id.yaml b/content/adventures/id.yaml index f498983e8dc..9e6df80329d 100644 --- a/content/adventures/id.yaml +++ b/content/adventures/id.yaml @@ -5071,8 +5071,9 @@ adventures: Recreate the drawings with the turtle!
- Beehive (6) - Fan (5) + Beehive (6) + Fan (5) + Snowflake (13)
example_code: | Hint Beehive: @@ -5087,6 +5088,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 @@ -5120,6 +5123,7 @@ adventures: Street in different sizes Colored street + Snow Storm example_code: | Hint Street in different sizes ``` @@ -5136,6 +5140,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 diff --git a/content/adventures/it.yaml b/content/adventures/it.yaml index 528dce81848..ac1fe8ec489 100644 --- a/content/adventures/it.yaml +++ b/content/adventures/it.yaml @@ -5130,8 +5130,9 @@ adventures: Recreate the drawings with the turtle!
- Beehive (6) - Fan (5) + Beehive (6) + Fan (5) + Snowflake (13)
example_code: | Hint Beehive: @@ -5146,6 +5147,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 @@ -5179,6 +5182,7 @@ adventures: Street in different sizes Colored street + Snow Storm example_code: | Hint Street in different sizes ``` @@ -5195,6 +5199,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 diff --git a/content/adventures/ja.yaml b/content/adventures/ja.yaml index bbfd79ef25c..c116f6d6850 100644 --- a/content/adventures/ja.yaml +++ b/content/adventures/ja.yaml @@ -5079,8 +5079,9 @@ adventures: Recreate the drawings with the turtle!
- Beehive (6) - Fan (5) + Beehive (6) + Fan (5) + Snowflake (13)
example_code: | Hint Beehive: @@ -5095,6 +5096,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 @@ -5128,6 +5131,7 @@ adventures: Street in different sizes Colored street + Snow Storm example_code: | Hint Street in different sizes ``` @@ -5144,6 +5148,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 diff --git a/content/adventures/kmr.yaml b/content/adventures/kmr.yaml index 77ff41c3a94..e792aae4fd3 100644 --- a/content/adventures/kmr.yaml +++ b/content/adventures/kmr.yaml @@ -5110,8 +5110,9 @@ adventures: Recreate the drawings with the turtle!
- Beehive (6) - Fan (5) + Beehive (6) + Fan (5) + Snowflake (13)
example_code: | Hint Beehive: @@ -5126,6 +5127,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 @@ -5159,6 +5162,7 @@ adventures: Street in different sizes Colored street + Snow Storm example_code: | Hint Street in different sizes ``` @@ -5175,6 +5179,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 diff --git a/content/adventures/ko.yaml b/content/adventures/ko.yaml index 8d4f534b487..f1c1550af02 100644 --- a/content/adventures/ko.yaml +++ b/content/adventures/ko.yaml @@ -5147,8 +5147,9 @@ adventures: Recreate the drawings with the turtle!
- Beehive (6) - Fan (5) + Beehive (6) + Fan (5) + Snowflake (13)
example_code: | Hint Beehive: @@ -5163,6 +5164,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 @@ -5196,6 +5199,7 @@ adventures: Street in different sizes Colored street + Snow Storm example_code: | Hint Street in different sizes ``` @@ -5212,6 +5216,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 diff --git a/content/adventures/mi.yaml b/content/adventures/mi.yaml index 823a0534cc1..9f63c3dda9c 100644 --- a/content/adventures/mi.yaml +++ b/content/adventures/mi.yaml @@ -5167,8 +5167,9 @@ adventures: Recreate the drawings with the turtle!
- Beehive (6) - Fan (5) + Beehive (6) + Fan (5) + Snowflake (13)
example_code: | Hint Beehive: @@ -5183,6 +5184,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 @@ -5216,6 +5219,7 @@ adventures: Street in different sizes Colored street + Snow Storm example_code: | Hint Street in different sizes ``` @@ -5232,6 +5236,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 diff --git a/content/adventures/nb_NO.yaml b/content/adventures/nb_NO.yaml index 36280384381..decd2a876aa 100644 --- a/content/adventures/nb_NO.yaml +++ b/content/adventures/nb_NO.yaml @@ -5072,8 +5072,9 @@ adventures: Recreate the drawings with the turtle!
- Beehive (6) - Fan (5) + Beehive (6) + Fan (5) + Snowflake (13)
example_code: | Hint Beehive: @@ -5088,6 +5089,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 @@ -5121,6 +5124,7 @@ adventures: Street in different sizes Colored street + Snow Storm example_code: | Hint Street in different sizes ``` @@ -5137,6 +5141,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 diff --git a/content/adventures/nl.yaml b/content/adventures/nl.yaml index 8db7e970561..71cf37314dd 100644 --- a/content/adventures/nl.yaml +++ b/content/adventures/nl.yaml @@ -5096,8 +5096,9 @@ adventures: Maak de figuren na met de schildpad!
- Honingraat (6) - Waaier (5) + Honingraat (6) + Waaier (5) + Sneeuwvlok (13)
example_code: | Hint voor de honingraat: @@ -5112,6 +5113,8 @@ adventures: Hint voor de waaier: Start zoals je deed voor de waaier in level 7. Of kijk naar de hint voor de honingraat, want de code lijkt er erg op. + + Hint voor de sneeuwvlok: Maak eerst een pootje van de sneeuwvlok en herhaal dat 6 keer. 12: story_text: | ### Opdracht @@ -5149,6 +5152,7 @@ adventures: Straat met huizen van verschillende groottes Gekleurde straat + Sneeuwstorm example_code: | Hint voor de straat met huizen van verschillende groottes ``` @@ -5165,6 +5169,23 @@ adventures: {define} teken_een_huis {with} gekozen_kleur _ ``` + + Hint Snow Storm + ``` + {define} teken_sneeuwvlok {with} lengte, kleur + _ + + getallen = 10, 20, 30 + kleuren = _ + + {for} i {in} {range} 1 {to} 5 + random_getal = _ + random_kleur = _ + {call} teken_sneeuwvlok {with} random_getal, random_kleur + {color} wit + {turn} random_getal * 5 + {forward} 80 + ``` 14: story_text: | ### Opdracht diff --git a/content/adventures/pa_PK.yaml b/content/adventures/pa_PK.yaml index ad6c2bd850a..523dc3abf90 100644 --- a/content/adventures/pa_PK.yaml +++ b/content/adventures/pa_PK.yaml @@ -5083,8 +5083,9 @@ adventures: Recreate the drawings with the turtle!
- Beehive (6) - Fan (5) + Beehive (6) + Fan (5) + Snowflake (13)
example_code: | Hint Beehive: @@ -5099,6 +5100,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 @@ -5132,6 +5135,7 @@ adventures: Street in different sizes Colored street + Snow Storm example_code: | Hint Street in different sizes ``` @@ -5148,6 +5152,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 diff --git a/content/adventures/pap.yaml b/content/adventures/pap.yaml index 09b2e5a8d55..88f36907cad 100644 --- a/content/adventures/pap.yaml +++ b/content/adventures/pap.yaml @@ -5128,8 +5128,9 @@ adventures: Recreate the drawings with the turtle!
- Beehive (6) - Fan (5) + Beehive (6) + Fan (5) + Snowflake (13)
example_code: | Hint Beehive: @@ -5144,6 +5145,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 @@ -5177,6 +5180,7 @@ adventures: Street in different sizes Colored street + Snow Storm example_code: | Hint Street in different sizes ``` @@ -5193,6 +5197,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 diff --git a/content/adventures/pl.yaml b/content/adventures/pl.yaml index 9278e108dd0..4e441bd179a 100644 --- a/content/adventures/pl.yaml +++ b/content/adventures/pl.yaml @@ -4927,8 +4927,9 @@ adventures: Recreate the drawings with the turtle!
- Beehive (6) - Fan (5) + Beehive (6) + Fan (5) + Snowflake (13)
example_code: | Hint Beehive: @@ -4943,6 +4944,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 @@ -4976,6 +4979,7 @@ adventures: Street in different sizes Colored street + Snow Storm example_code: | Hint Street in different sizes ``` @@ -4992,6 +4996,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: | ### Ćwiczenie diff --git a/content/adventures/pt_BR.yaml b/content/adventures/pt_BR.yaml index fcdb3499132..e1039b414e2 100644 --- a/content/adventures/pt_BR.yaml +++ b/content/adventures/pt_BR.yaml @@ -5047,8 +5047,9 @@ adventures: Recreate the drawings with the turtle!
- Beehive (6) - Fan (5) + Beehive (6) + Fan (5) + Snowflake (13)
example_code: | Hint Beehive: @@ -5063,6 +5064,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 @@ -5096,6 +5099,7 @@ adventures: Street in different sizes Colored street + Snow Storm example_code: | Hint Street in different sizes ``` @@ -5112,6 +5116,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 diff --git a/content/adventures/pt_PT.yaml b/content/adventures/pt_PT.yaml index dc99a87f12a..eed87bd074e 100644 --- a/content/adventures/pt_PT.yaml +++ b/content/adventures/pt_PT.yaml @@ -5007,8 +5007,9 @@ adventures: Recreate the drawings with the turtle!
- Beehive (6) - Fan (5) + Beehive (6) + Fan (5) + Snowflake (13)
example_code: | Hint Beehive: @@ -5023,6 +5024,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 @@ -5056,6 +5059,7 @@ adventures: Street in different sizes Colored street + Snow Storm example_code: | Hint Street in different sizes ``` @@ -5072,6 +5076,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 diff --git a/content/adventures/ro.yaml b/content/adventures/ro.yaml index 6df8a0a55a6..8f5d4fcd339 100644 --- a/content/adventures/ro.yaml +++ b/content/adventures/ro.yaml @@ -5115,8 +5115,9 @@ adventures: Recreate the drawings with the turtle!
- Beehive (6) - Fan (5) + Beehive (6) + Fan (5) + Snowflake (13)
example_code: | Hint Beehive: @@ -5131,6 +5132,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 @@ -5164,6 +5167,7 @@ adventures: Street in different sizes Colored street + Snow Storm example_code: | Hint Street in different sizes ``` @@ -5180,6 +5184,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 diff --git a/content/adventures/ru.yaml b/content/adventures/ru.yaml index 0a097bc7b9a..659b52df368 100644 --- a/content/adventures/ru.yaml +++ b/content/adventures/ru.yaml @@ -5097,8 +5097,9 @@ adventures: Recreate the drawings with the turtle!
- Beehive (6) - Fan (5) + Beehive (6) + Fan (5) + Snowflake (13)
example_code: | Hint Beehive: @@ -5113,6 +5114,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 @@ -5146,6 +5149,7 @@ adventures: Street in different sizes Colored street + Snow Storm example_code: | Hint Street in different sizes ``` @@ -5162,6 +5166,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 diff --git a/content/adventures/sl.yaml b/content/adventures/sl.yaml index 0c5b2bf198d..f8aa7389d2d 100644 --- a/content/adventures/sl.yaml +++ b/content/adventures/sl.yaml @@ -1417,14 +1417,74 @@ adventures: story_text_2: "Christmas lights \n" example_code_2: "Hint Christmas Lights:\n\nStart by moving to the left side of the screen with an invisible white line. Then hang up the Christmas lights!\n```\n{color} white\n{turn} -90\n{forward} 300\n{turn} 90\n\ncolors = red, blue, yellow, purple, green, orange, pink\n{for} chosen_color {in} colors\n_\n```\n" 11: - story_text: "### Exercise\nRecreate the drawings with the turtle!\n\n
\nBeehive (6) \nFan (5) \n
\n" - example_code: "Hint Beehive:\n```\n{for} amount_of_combs {in} {range} 1 {to} _\n {for} walls_of_one_comb {in} {range} 1 {to} _\n {forward} _\n {turn} _\n {forward} _\n {turn} _\n```\n\nHint Fan:\nStart 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.\n" + story_text: | + ### Exercise + Recreate the drawings with the turtle! + +
+ Beehive (6) + Fan (5) + Snowflake (13) +
+ example_code: | + Hint Beehive: + ``` + {for} amount_of_combs {in} {range} 1 {to} _ + {for} walls_of_one_comb {in} {range} 1 {to} _ + {forward} _ + {turn} _ + {forward} _ + {turn} _ + ``` + + 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\nRecreate the drawings with the turtle!\nHint: Bracelet designing program. Firstly, define a function **for each shape** you want to use on the bacelet. Then, add the shapes to the bacelet like this:\n\nBracelet Designing program \n" example_code: "```\n{define} draw_a_square\n_\n\n{color} white\n{turn} -90\n{forward} 300\n{turn} 180\n\n{for} i {in} {range} 1 {to} 5\n {color} gray\n {forward} 100\n shape = {ask} 'What kind of shape would you like next on the bracelet?'\n chosen_color = {ask} 'In which color?'\n {color} chosen_color\n {if} shape = 'square'\n {call} draw_a_square\n```\n" 13: - story_text: "### Exercise\nRecreate the drawings with the turtle!\n\nStreet in different sizes \nColored street \n" - example_code: "Hint Street in different sizes\n```\n{define} draw_a_house {with} size\n_\n\n{call} draw_a_house {with} 90\n{call} draw_a_house {with} 60\n{call} draw_a_house {with} 30\n```\n\nHint Colored street\n```\n{define} draw_a_house {with} chosen_color\n_\n```\n" + story_text: | + ### Exercise + Recreate the drawings with the turtle! + + Street in different sizes + Colored street + Snow Storm + example_code: | + Hint Street in different sizes + ``` + {define} draw_a_house {with} size + _ + + {call} draw_a_house {with} 90 + {call} draw_a_house {with} 60 + {call} draw_a_house {with} 30 + ``` + + Hint Colored street + ``` + {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\nCreate a program that asks the player how many corners their figure should have and then creates that figure.\nThe figure in the image is the output when the player fills in 10.\n\n
\n \n \n
\n" example_code: "```\n{define} calculate_degrees {with} amount_of_corners\n _ 360 / amount_of_corners\n\n\n{define} draw_figure {with} degrees\n _\n {forward} 400/amount_of_corners\n {turn} _\n\namount_of_corners = {ask} _\ndegrees = {call} _ {with} _\n\n{call} _ {with}\n{call} _ {with}\n```\n" diff --git a/content/adventures/sq.yaml b/content/adventures/sq.yaml index c0a3e4e0c2b..594d890d94f 100644 --- a/content/adventures/sq.yaml +++ b/content/adventures/sq.yaml @@ -5111,8 +5111,9 @@ adventures: Recreate the drawings with the turtle!
- Beehive (6) - Fan (5) + Beehive (6) + Fan (5) + Snowflake (13)
example_code: | Hint Beehive: @@ -5127,6 +5128,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 @@ -5160,6 +5163,7 @@ adventures: Street in different sizes Colored street + Snow Storm example_code: | Hint Street in different sizes ``` @@ -5176,6 +5180,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 diff --git a/content/adventures/sr.yaml b/content/adventures/sr.yaml index c599ce6a07a..a93267c6097 100644 --- a/content/adventures/sr.yaml +++ b/content/adventures/sr.yaml @@ -5077,8 +5077,9 @@ adventures: Recreate the drawings with the turtle!
- Beehive (6) - Fan (5) + Beehive (6) + Fan (5) + Snowflake (13)
example_code: | Hint Beehive: @@ -5093,6 +5094,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 @@ -5126,6 +5129,7 @@ adventures: Street in different sizes Colored street + Snow Storm example_code: | Hint Street in different sizes ``` @@ -5142,6 +5146,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 diff --git a/content/adventures/sv.yaml b/content/adventures/sv.yaml index d90596ab2bd..39db7afc8ef 100644 --- a/content/adventures/sv.yaml +++ b/content/adventures/sv.yaml @@ -5166,8 +5166,9 @@ adventures: Recreate the drawings with the turtle!
- Beehive (6) - Fan (5) + Beehive (6) + Fan (5) + Snowflake (13)
example_code: | Hint Beehive: @@ -5182,6 +5183,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 @@ -5215,6 +5218,7 @@ adventures: Street in different sizes Colored street + Snow Storm example_code: | Hint Street in different sizes ``` @@ -5231,6 +5235,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 diff --git a/content/adventures/sw.yaml b/content/adventures/sw.yaml index 44c513ebda7..4790f8a40f1 100644 --- a/content/adventures/sw.yaml +++ b/content/adventures/sw.yaml @@ -5181,8 +5181,9 @@ adventures: Recreate the drawings with the turtle!
- Beehive (6) - Fan (5) + Beehive (6) + Fan (5) + Snowflake (13)
example_code: | Hint Beehive: @@ -5197,6 +5198,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 @@ -5230,6 +5233,7 @@ adventures: Street in different sizes Colored street + Snow Storm example_code: | Hint Street in different sizes ``` @@ -5246,6 +5250,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 diff --git a/content/adventures/te.yaml b/content/adventures/te.yaml index 0551ba26105..35af4766765 100644 --- a/content/adventures/te.yaml +++ b/content/adventures/te.yaml @@ -5152,8 +5152,9 @@ adventures: Recreate the drawings with the turtle!
- Beehive (6) - Fan (5) + Beehive (6) + Fan (5) + Snowflake (13)
example_code: | Hint Beehive: @@ -5168,6 +5169,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 @@ -5201,6 +5204,7 @@ adventures: Street in different sizes Colored street + Snow Storm example_code: | Hint Street in different sizes ``` @@ -5217,6 +5221,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 diff --git a/content/adventures/th.yaml b/content/adventures/th.yaml index dda1dab4ae5..f69a40cc449 100644 --- a/content/adventures/th.yaml +++ b/content/adventures/th.yaml @@ -5085,8 +5085,9 @@ adventures: Recreate the drawings with the turtle!
- Beehive (6) - Fan (5) + Beehive (6) + Fan (5) + Snowflake (13)
example_code: | Hint Beehive: @@ -5101,6 +5102,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 @@ -5134,6 +5137,7 @@ adventures: Street in different sizes Colored street + Snow Storm example_code: | Hint Street in different sizes ``` @@ -5150,6 +5154,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 diff --git a/content/adventures/tl.yaml b/content/adventures/tl.yaml index abed053e8e9..7a4a3cb54da 100644 --- a/content/adventures/tl.yaml +++ b/content/adventures/tl.yaml @@ -5154,8 +5154,9 @@ adventures: Recreate the drawings with the turtle!
- Beehive (6) - Fan (5) + Beehive (6) + Fan (5) + Snowflake (13)
example_code: | Hint Beehive: @@ -5170,6 +5171,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 @@ -5203,6 +5206,7 @@ adventures: Street in different sizes Colored street + Snow Storm example_code: | Hint Street in different sizes ``` @@ -5219,6 +5223,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 diff --git a/content/adventures/tn.yaml b/content/adventures/tn.yaml index dd351acc60f..38132c3a0fc 100644 --- a/content/adventures/tn.yaml +++ b/content/adventures/tn.yaml @@ -5099,8 +5099,9 @@ adventures: Recreate the drawings with the turtle!
- Beehive (6) - Fan (5) + Beehive (6) + Fan (5) + Snowflake (13)
example_code: | Hint Beehive: @@ -5115,6 +5116,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 @@ -5148,6 +5151,7 @@ adventures: Street in different sizes Colored street + Snow Storm example_code: | Hint Street in different sizes ``` @@ -5164,6 +5168,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 diff --git a/content/adventures/tr.yaml b/content/adventures/tr.yaml index 09b8357a9a7..314f8abb03e 100644 --- a/content/adventures/tr.yaml +++ b/content/adventures/tr.yaml @@ -5209,8 +5209,9 @@ adventures: Recreate the drawings with the turtle!
- Beehive (6) - Fan (5) + Beehive (6) + Fan (5) + Snowflake (13)
example_code: | Hint Beehive: @@ -5225,6 +5226,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 @@ -5258,6 +5261,7 @@ adventures: Street in different sizes Colored street + Snow Storm example_code: | Hint Street in different sizes ``` @@ -5274,6 +5278,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 diff --git a/content/adventures/uk.yaml b/content/adventures/uk.yaml index 86da8992a19..d79d62702ca 100644 --- a/content/adventures/uk.yaml +++ b/content/adventures/uk.yaml @@ -5088,8 +5088,9 @@ adventures: Recreate the drawings with the turtle!
- Beehive (6) - Fan (5) + Beehive (6) + Fan (5) + Snowflake (13)
example_code: | Hint Beehive: @@ -5104,6 +5105,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 @@ -5137,6 +5140,7 @@ adventures: Street in different sizes Colored street + Snow Storm example_code: | Hint Street in different sizes ``` @@ -5153,6 +5157,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 diff --git a/content/adventures/ur.yaml b/content/adventures/ur.yaml index d448f72dcd7..0be16d5268d 100644 --- a/content/adventures/ur.yaml +++ b/content/adventures/ur.yaml @@ -5091,8 +5091,9 @@ adventures: Recreate the drawings with the turtle!
- Beehive (6) - Fan (5) + Beehive (6) + Fan (5) + Snowflake (13)
example_code: | Hint Beehive: @@ -5107,6 +5108,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 @@ -5140,6 +5143,7 @@ adventures: Street in different sizes Colored street + Snow Storm example_code: | Hint Street in different sizes ``` @@ -5156,6 +5160,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 diff --git a/content/adventures/vi.yaml b/content/adventures/vi.yaml index fc9fa27b583..0ad36d5f770 100644 --- a/content/adventures/vi.yaml +++ b/content/adventures/vi.yaml @@ -5175,8 +5175,9 @@ adventures: Recreate the drawings with the turtle!
- Beehive (6) - Fan (5) + Beehive (6) + Fan (5) + Snowflake (13)
example_code: | Hint Beehive: @@ -5191,6 +5192,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 @@ -5224,6 +5227,7 @@ adventures: Street in different sizes Colored street + Snow Storm example_code: | Hint Street in different sizes ``` @@ -5240,6 +5244,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 diff --git a/content/adventures/zh_Hans.yaml b/content/adventures/zh_Hans.yaml index 4164582c74f..85bebe6c127 100644 --- a/content/adventures/zh_Hans.yaml +++ b/content/adventures/zh_Hans.yaml @@ -5040,8 +5040,9 @@ adventures: 用小海龟重画图画!
- 蜂巢 (6) - 扇形 (5) + 蜂巢 (6) + 扇形 (5) + Snowflake (13)
example_code: | 蜂巢的提示: @@ -5056,6 +5057,8 @@ adventures: 扇形的提示: 仿照你在第7关制作的扇形开始。或者看一下蜂巢的提示,因为代码非常相似。 + + Hint Snowflake: Start by making one 'leg' and repeat it 6 times. 12: story_text: | ### 练习 @@ -5089,6 +5092,7 @@ adventures: 不同大小的街道 彩色的街道 + Snow Storm example_code: | 不同大小的街道的提示 ``` @@ -5105,6 +5109,24 @@ adventures: {define} 画一栋房子 {with} 选定的颜色 _ ``` + + 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: | ### 练习 diff --git a/content/adventures/zh_Hant.yaml b/content/adventures/zh_Hant.yaml index 88f415a6168..c83a5346c8a 100644 --- a/content/adventures/zh_Hant.yaml +++ b/content/adventures/zh_Hant.yaml @@ -5154,8 +5154,9 @@ adventures: Recreate the drawings with the turtle!
- Beehive (6) - Fan (5) + Beehive (6) + Fan (5) + Snowflake (13)
example_code: | Hint Beehive: @@ -5170,6 +5171,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 @@ -5203,6 +5206,7 @@ adventures: Street in different sizes Colored street + Snow Storm example_code: | Hint Street in different sizes ``` @@ -5219,6 +5223,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 From 7365c42b87c3269e8aa007aca55d945ecedaadc1 Mon Sep 17 00:00:00 2001 From: "Weblate (bot)" Date: Sat, 20 Apr 2024 16:44:21 +0200 Subject: [PATCH 6/9] Translations update from Hosted Weblate (#5439) Translations update from [Hosted Weblate](https://hosted.weblate.org) for [Hedy/Adventures](https://hosted.weblate.org/projects/hedy/adventures/). It also includes following components: * [Hedy/Webpages](https://hosted.weblate.org/projects/hedy/webpages/) * [Hedy/Achievements](https://hosted.weblate.org/projects/hedy/achievements/) * [Hedy/Keywords](https://hosted.weblate.org/projects/hedy/keywords/) * [Hedy/client-messages](https://hosted.weblate.org/projects/hedy/client-messages/) * [Hedy/Parsons](https://hosted.weblate.org/projects/hedy/parsons/) * [Hedy/slides](https://hosted.weblate.org/projects/hedy/slides/) * [Hedy/Cheatsheets](https://hosted.weblate.org/projects/hedy/commands/) * [Hedy/Quizzes](https://hosted.weblate.org/projects/hedy/quizzes/) * [Hedy/Texts](https://hosted.weblate.org/projects/hedy/web-texts/) * [Hedy/Tutorials](https://hosted.weblate.org/projects/hedy/tutorials/) Current translation status: ![Weblate translation status](https://hosted.weblate.org/widget/hedy/adventures/horizontal-auto.svg) --- translations/ar/LC_MESSAGES/messages.po | 3 ++- translations/cy/LC_MESSAGES/messages.po | 3 ++- translations/pl/LC_MESSAGES/messages.po | 3 ++- translations/ro/LC_MESSAGES/messages.po | 3 ++- translations/ru/LC_MESSAGES/messages.po | 3 ++- translations/sl/LC_MESSAGES/messages.po | 3 ++- translations/sr/LC_MESSAGES/messages.po | 3 ++- translations/uk/LC_MESSAGES/messages.po | 3 ++- 8 files changed, 16 insertions(+), 8 deletions(-) diff --git a/translations/ar/LC_MESSAGES/messages.po b/translations/ar/LC_MESSAGES/messages.po index 30ed072c7a9..12022a7fe62 100644 --- a/translations/ar/LC_MESSAGES/messages.po +++ b/translations/ar/LC_MESSAGES/messages.po @@ -15,7 +15,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=6; plural=(n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=0 && n%100<=2 ? 4 : 5);\n" +"Plural-Forms: nplurals=6; plural=(n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 " +"&& n%100<=10 ? 3 : n%100>=0 && n%100<=2 ? 4 : 5);\n" "X-Generator: Weblate 5.5-dev\n" "Generated-By: Babel 2.14.0\n" diff --git a/translations/cy/LC_MESSAGES/messages.po b/translations/cy/LC_MESSAGES/messages.po index 359482604ed..c6069942506 100644 --- a/translations/cy/LC_MESSAGES/messages.po +++ b/translations/cy/LC_MESSAGES/messages.po @@ -15,7 +15,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=5; plural=(n==1 ? 1 : n==2 ? 2 : n==3 ? 3 : n==6 ? 4 : 0);\n" +"Plural-Forms: nplurals=5; plural=(n==1 ? 1 : n==2 ? 2 : n==3 ? 3 : n==6 ? " +"4 : 0);\n" "X-Generator: Weblate 5.5-dev\n" "Generated-By: Babel 2.14.0\n" diff --git a/translations/pl/LC_MESSAGES/messages.po b/translations/pl/LC_MESSAGES/messages.po index 91161da5d3f..7e03784e0e5 100644 --- a/translations/pl/LC_MESSAGES/messages.po +++ b/translations/pl/LC_MESSAGES/messages.po @@ -15,7 +15,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " +"|| n%100>=20) ? 1 : 2);\n" "X-Generator: Weblate 5.5-dev\n" "Generated-By: Babel 2.14.0\n" diff --git a/translations/ro/LC_MESSAGES/messages.po b/translations/ro/LC_MESSAGES/messages.po index 3ab0c075140..895f3e6fb82 100644 --- a/translations/ro/LC_MESSAGES/messages.po +++ b/translations/ro/LC_MESSAGES/messages.po @@ -15,7 +15,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < 20)) ? 1 : 2;\n" +"Plural-Forms: nplurals=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < " +"20)) ? 1 : 2;\n" "X-Generator: Weblate 5.5-dev\n" "Generated-By: Babel 2.14.0\n" diff --git a/translations/ru/LC_MESSAGES/messages.po b/translations/ru/LC_MESSAGES/messages.po index ba5dc1d4383..d25853b45d1 100644 --- a/translations/ru/LC_MESSAGES/messages.po +++ b/translations/ru/LC_MESSAGES/messages.po @@ -15,7 +15,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" "X-Generator: Weblate 5.5-dev\n" "Generated-By: Babel 2.14.0\n" diff --git a/translations/sl/LC_MESSAGES/messages.po b/translations/sl/LC_MESSAGES/messages.po index 13358c453e2..4b88e0f4344 100644 --- a/translations/sl/LC_MESSAGES/messages.po +++ b/translations/sl/LC_MESSAGES/messages.po @@ -15,7 +15,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=4; plural=n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3;\n" +"Plural-Forms: nplurals=4; plural=n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || " +"n%100==4 ? 2 : 3;\n" "X-Generator: Weblate 5.5-dev\n" "Generated-By: Babel 2.14.0\n" diff --git a/translations/sr/LC_MESSAGES/messages.po b/translations/sr/LC_MESSAGES/messages.po index 9290c58954e..833a86f91e3 100644 --- a/translations/sr/LC_MESSAGES/messages.po +++ b/translations/sr/LC_MESSAGES/messages.po @@ -15,7 +15,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" "X-Generator: Weblate 5.5-dev\n" "Generated-By: Babel 2.14.0\n" diff --git a/translations/uk/LC_MESSAGES/messages.po b/translations/uk/LC_MESSAGES/messages.po index accd04a6d88..7281076bc6d 100644 --- a/translations/uk/LC_MESSAGES/messages.po +++ b/translations/uk/LC_MESSAGES/messages.po @@ -15,7 +15,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" "X-Generator: Weblate 5.5-dev\n" "Generated-By: Babel 2.14.0\n" From 7d6c5e18434ed6f83bb3e79602318fdc61f030ed Mon Sep 17 00:00:00 2001 From: "Weblate (bot)" Date: Mon, 22 Apr 2024 08:39:06 +0200 Subject: [PATCH 7/9] Translations update from Hosted Weblate (#5442) Translations update from [Hosted Weblate](https://hosted.weblate.org) for [Hedy/Adventures](https://hosted.weblate.org/projects/hedy/adventures/). It also includes following components: * [Hedy/Webpages](https://hosted.weblate.org/projects/hedy/webpages/) * [Hedy/Achievements](https://hosted.weblate.org/projects/hedy/achievements/) * [Hedy/Keywords](https://hosted.weblate.org/projects/hedy/keywords/) * [Hedy/client-messages](https://hosted.weblate.org/projects/hedy/client-messages/) * [Hedy/Parsons](https://hosted.weblate.org/projects/hedy/parsons/) * [Hedy/slides](https://hosted.weblate.org/projects/hedy/slides/) * [Hedy/Cheatsheets](https://hosted.weblate.org/projects/hedy/commands/) * [Hedy/Quizzes](https://hosted.weblate.org/projects/hedy/quizzes/) * [Hedy/Texts](https://hosted.weblate.org/projects/hedy/web-texts/) * [Hedy/Tutorials](https://hosted.weblate.org/projects/hedy/tutorials/) Current translation status: ![Weblate translation status](https://hosted.weblate.org/widget/hedy/adventures/horizontal-auto.svg) --- content/slides/ar.yaml | 4 ++++ content/slides/bg.yaml | 44 ++++++++++++++++++---------------- content/slides/bn.yaml | 44 ++++++++++++++++++---------------- content/slides/ca.yaml | 44 ++++++++++++++++++---------------- content/slides/cs.yaml | 44 ++++++++++++++++++---------------- content/slides/cy.yaml | 44 ++++++++++++++++++---------------- content/slides/da.yaml | 44 ++++++++++++++++++---------------- content/slides/de.yaml | 44 ++++++++++++++++++---------------- content/slides/el.yaml | 44 ++++++++++++++++++---------------- content/slides/eo.yaml | 6 ++++- content/slides/et.yaml | 44 ++++++++++++++++++---------------- content/slides/fa.yaml | 44 ++++++++++++++++++---------------- content/slides/fi.yaml | 44 ++++++++++++++++++---------------- content/slides/fr.yaml | 6 ++++- content/slides/fy.yaml | 44 ++++++++++++++++++---------------- content/slides/he.yaml | 44 ++++++++++++++++++---------------- content/slides/hi.yaml | 4 ++++ content/slides/hu.yaml | 44 ++++++++++++++++++---------------- content/slides/ia.yaml | 4 ++++ content/slides/it.yaml | 4 ++++ content/slides/ja.yaml | 44 ++++++++++++++++++---------------- content/slides/kmr.yaml | 44 ++++++++++++++++++---------------- content/slides/mi.yaml | 44 ++++++++++++++++++---------------- content/slides/nb_NO.yaml | 4 ++++ content/slides/nl.yaml | 2 +- content/slides/pa_PK.yaml | 44 ++++++++++++++++++---------------- content/slides/pap.yaml | 44 ++++++++++++++++++---------------- content/slides/pl.yaml | 44 ++++++++++++++++++---------------- content/slides/pt_BR.yaml | 4 ++++ content/slides/pt_PT.yaml | 48 ++++++++++++++++++++----------------- content/slides/ro.yaml | 44 ++++++++++++++++++---------------- content/slides/ru.yaml | 44 ++++++++++++++++++---------------- content/slides/sl.yaml | 4 ++++ content/slides/sq.yaml | 44 ++++++++++++++++++---------------- content/slides/sr.yaml | 44 ++++++++++++++++++---------------- content/slides/sv.yaml | 45 ++++++++++++++++++---------------- content/slides/sw.yaml | 44 ++++++++++++++++++---------------- content/slides/te.yaml | 44 ++++++++++++++++++---------------- content/slides/th.yaml | 44 ++++++++++++++++++---------------- content/slides/tl.yaml | 44 ++++++++++++++++++---------------- content/slides/tn.yaml | 44 ++++++++++++++++++---------------- content/slides/uk.yaml | 44 ++++++++++++++++++---------------- content/slides/ur.yaml | 44 ++++++++++++++++++---------------- content/slides/vi.yaml | 4 ++++ content/slides/zh_Hant.yaml | 44 ++++++++++++++++++---------------- 45 files changed, 862 insertions(+), 685 deletions(-) diff --git a/content/slides/ar.yaml b/content/slides/ar.yaml index fe6dbe01012..993f492267d 100644 --- a/content/slides/ar.yaml +++ b/content/slides/ar.yaml @@ -1121,6 +1121,8 @@ levels: {print} 'Do you even know this person?!' debug: 'True' 4: + text: Enjoy the adventures in level 16! + header: Let's try it out! 17: 1: header: Welcome to level 17 @@ -1172,6 +1174,8 @@ levels: {sleep} debug: 'True' 5: + header: Let's try it out! + text: Enjoy the adventures in level 17! 18: 1: header: Welcome to level 18 diff --git a/content/slides/bg.yaml b/content/slides/bg.yaml index fc67d5e9300..a4df437908e 100644 --- a/content/slides/bg.yaml +++ b/content/slides/bg.yaml @@ -123,7 +123,7 @@ levels: {print} What song would you like to hear? {ask} I like that song too! {print} Next up... {echo} - debug: true + debug: 'True' 13: header: Let the programming fun begin! text: Enjoy the adventures in level 1! @@ -192,7 +192,7 @@ levels: {print} I'll go get your donut. {sleep} {print} Here you go! A filling donut with toping! {ask} Have a nice day! - debug: true + debug: 'True' 8: header: Let the programming fun begin! text: Enjoy the adventures in level 2! @@ -257,7 +257,7 @@ levels: {print} or do you prefer... second_choice {at} {random} {remove} second_choice {to} music_genres {print} I like music_genre {random} best! - debug: true + debug: 'True' 8: header: Let's get to work! text: Enjoy the adventures in level 3! @@ -272,7 +272,7 @@ levels: code: |- name {is} Sophie {print} My name is name - debug: true + debug: 'True' 3: header: Fixing it with quotation marks text: |- @@ -310,7 +310,7 @@ levels: Please try to print a contraction like "you're" or "I'm" in the screen below and see what happens.... code: '{print} ''This won''t work!''' - debug: true + debug: 'True' 9: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -335,7 +335,7 @@ levels: colors {is} 'orange, silver, white, brown' {print} 'I love the colors {at} {random} one!' choice {is} {ask} Which one do you like? - debug: true + debug: 'True' 11: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -358,7 +358,7 @@ levels: When using the `{if}` command, don't forget to use the `{print}` command. This code will not work! code: '{if} name {is} Hedy ''nice''' - debug: true + debug: 'True' 4: header: else text: |- @@ -404,7 +404,7 @@ levels: item_to_declare {is} {ask} 'What would you like to declare' {else} Alright {print} Thank you. Please head to gate A22.' - debug: true + debug: 'True' 8: header: Let's go! text: Enjoy the adventures in level 5! @@ -469,7 +469,7 @@ levels: {if} day {is} monday total_price = total_price * 0.25 {print} 'That will be total_price please' - debug: true + debug: 'True' 10: header: Let's get to work! text: Enjoy the adventures in level 6! @@ -492,7 +492,7 @@ levels: header: Don't forget the print command text: When using the repeat command, do not forget the `{print}` command. code: '{repeat} 5 {times} ''Help!''' - debug: true + debug: 'True' 4: header: Repeat an ask command text: You can also repeat an `{ask}`, `{if}` or `{else}` command multiple times. @@ -514,7 +514,7 @@ levels: {if} yes {print} 'Hurray! {else} 'That's a shame... Oh well... time to build a shelter and find some food.' - debug: true + debug: 'True' 6: header: Ready Set Go! text: Enjoy the adventures in level 7! @@ -529,7 +529,7 @@ levels: You could only repeat one line of code. code: '{repeat} 5 {times} {print} ''Help!''' - debug: true + debug: 'True' 3: header: '{repeat} commands now' text: |- @@ -558,7 +558,7 @@ levels: code: |- {if} name {is} Hedy {print} 'nice' {else} {print} 'boo!' - debug: true + debug: 'True' 6: header: if and else now text: |- @@ -601,7 +601,7 @@ levels: {print} You chose a round trip ticket' price * 2 {print} 'That will be ' price ' euros please' - debug: true + debug: 'True' 10: header: Let's check out the adventures! text: Enjoy the adventures in level 8! @@ -693,7 +693,7 @@ levels: {else} {print} 'Fun!' {print} 'Thanks for filling in the safety questions everyone. Enjoy your jump!' - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 9! @@ -730,7 +730,7 @@ levels: {add} chosen_person {from} people {print} 'Come and watch our show tonight!' {print} 'Tickets are only available at the counter - debug: true + debug: 'True' 5: header: Time to program! text: Enjoy the adventures in level 10! @@ -767,7 +767,7 @@ levels: {repeat} {for} numbers {in} {range} 1 {to} 10 {times} {print} This is the table of multiplications for factor {print} number ' x ' factor ' = ' i * factor - debug: true + debug: 'True' 5: header: Let's start programming! text: Enjoy the adventures in level 11! @@ -832,7 +832,7 @@ levels: {call} new member {else} password = {ask} 'Please enter password' - debug: true + debug: 'True' 8: header: Ready to try it out? text: Enjoy the adventures in level 12! @@ -942,7 +942,7 @@ levels: {call} happiness {with} person {else} mood = sad {define} sadness {to} name - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 13! @@ -1024,7 +1024,7 @@ levels: {print} 'Shame.. I wont buy it' {else} {print} 'I will buy it! Thank you!' - debug: true + debug: 'True' 7: header: Let's get to work! text: Enjoy the adventures in level 14! @@ -1122,6 +1122,8 @@ levels: {print} 'Do you even know this person?!' debug: 'True' 4: + text: Enjoy the adventures in level 16! + header: Let's try it out! 17: 1: header: Welcome to level 17 @@ -1173,6 +1175,8 @@ levels: {sleep} debug: 'True' 5: + header: Let's try it out! + text: Enjoy the adventures in level 17! 18: 1: header: Welcome to level 18 diff --git a/content/slides/bn.yaml b/content/slides/bn.yaml index 041f16037b5..fa5f0ab8d6b 100644 --- a/content/slides/bn.yaml +++ b/content/slides/bn.yaml @@ -121,7 +121,7 @@ levels: {print} What song would you like to hear? {ask} I like that song too! {print} Next up... {echo} - debug: true + debug: 'True' 13: header: Let the programming fun begin! text: Enjoy the adventures in level 1! @@ -190,7 +190,7 @@ levels: {print} I'll go get your donut. {sleep} {print} Here you go! A filling donut with toping! {ask} Have a nice day! - debug: true + debug: 'True' 8: header: Let the programming fun begin! text: Enjoy the adventures in level 2! @@ -255,7 +255,7 @@ levels: {print} or do you prefer... second_choice {at} {random} {remove} second_choice {to} music_genres {print} I like music_genre {random} best! - debug: true + debug: 'True' 8: header: Let's get to work! text: Enjoy the adventures in level 3! @@ -270,7 +270,7 @@ levels: code: |- name {is} Sophie {print} My name is name - debug: true + debug: 'True' 3: header: Fixing it with quotation marks text: |- @@ -308,7 +308,7 @@ levels: Please try to print a contraction like "you're" or "I'm" in the screen below and see what happens.... code: '{print} ''This won''t work!''' - debug: true + debug: 'True' 9: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -333,7 +333,7 @@ levels: colors {is} 'orange, silver, white, brown' {print} 'I love the colors {at} {random} one!' choice {is} {ask} Which one do you like? - debug: true + debug: 'True' 11: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -356,7 +356,7 @@ levels: When using the `{if}` command, don't forget to use the `{print}` command. This code will not work! code: '{if} name {is} Hedy ''nice''' - debug: true + debug: 'True' 4: header: else text: |- @@ -402,7 +402,7 @@ levels: item_to_declare {is} {ask} 'What would you like to declare' {else} Alright {print} Thank you. Please head to gate A22.' - debug: true + debug: 'True' 8: header: Let's go! text: Enjoy the adventures in level 5! @@ -467,7 +467,7 @@ levels: {if} day {is} monday total_price = total_price * 0.25 {print} 'That will be total_price please' - debug: true + debug: 'True' 10: header: Let's get to work! text: Enjoy the adventures in level 6! @@ -490,7 +490,7 @@ levels: header: Don't forget the print command text: When using the repeat command, do not forget the `{print}` command. code: '{repeat} 5 {times} ''Help!''' - debug: true + debug: 'True' 4: header: Repeat an ask command text: You can also repeat an `{ask}`, `{if}` or `{else}` command multiple times. @@ -512,7 +512,7 @@ levels: {if} yes {print} 'Hurray! {else} 'That's a shame... Oh well... time to build a shelter and find some food.' - debug: true + debug: 'True' 6: header: Ready Set Go! text: Enjoy the adventures in level 7! @@ -527,7 +527,7 @@ levels: You could only repeat one line of code. code: '{repeat} 5 {times} {print} ''Help!''' - debug: true + debug: 'True' 3: header: '{repeat} commands now' text: |- @@ -556,7 +556,7 @@ levels: code: |- {if} name {is} Hedy {print} 'nice' {else} {print} 'boo!' - debug: true + debug: 'True' 6: header: if and else now text: |- @@ -599,7 +599,7 @@ levels: {print} You chose a round trip ticket' price * 2 {print} 'That will be ' price ' euros please' - debug: true + debug: 'True' 10: header: Let's check out the adventures! text: Enjoy the adventures in level 8! @@ -691,7 +691,7 @@ levels: {else} {print} 'Fun!' {print} 'Thanks for filling in the safety questions everyone. Enjoy your jump!' - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 9! @@ -728,7 +728,7 @@ levels: {add} chosen_person {from} people {print} 'Come and watch our show tonight!' {print} 'Tickets are only available at the counter - debug: true + debug: 'True' 5: header: Time to program! text: Enjoy the adventures in level 10! @@ -765,7 +765,7 @@ levels: {repeat} {for} numbers {in} {range} 1 {to} 10 {times} {print} This is the table of multiplications for factor {print} number ' x ' factor ' = ' i * factor - debug: true + debug: 'True' 5: header: Let's start programming! text: Enjoy the adventures in level 11! @@ -830,7 +830,7 @@ levels: {call} new member {else} password = {ask} 'Please enter password' - debug: true + debug: 'True' 8: header: Ready to try it out? text: Enjoy the adventures in level 12! @@ -940,7 +940,7 @@ levels: {call} happiness {with} person {else} mood = sad {define} sadness {to} name - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 13! @@ -1022,7 +1022,7 @@ levels: {print} 'Shame.. I wont buy it' {else} {print} 'I will buy it! Thank you!' - debug: true + debug: 'True' 7: header: Let's get to work! text: Enjoy the adventures in level 14! @@ -1120,6 +1120,8 @@ levels: {print} 'Do you even know this person?!' debug: 'True' 4: + text: Enjoy the adventures in level 16! + header: Let's try it out! 17: 1: header: Welcome to level 17 @@ -1171,6 +1173,8 @@ levels: {sleep} debug: 'True' 5: + header: Let's try it out! + text: Enjoy the adventures in level 17! 18: 1: header: Welcome to level 18 diff --git a/content/slides/ca.yaml b/content/slides/ca.yaml index ac1c7016e41..07acf133bf3 100644 --- a/content/slides/ca.yaml +++ b/content/slides/ca.yaml @@ -123,7 +123,7 @@ levels: {print} What song would you like to hear? {ask} I like that song too! {print} Next up... {echo} - debug: true + debug: 'True' 13: header: Let the programming fun begin! text: Enjoy the adventures in level 1! @@ -192,7 +192,7 @@ levels: {print} I'll go get your donut. {sleep} {print} Here you go! A filling donut with toping! {ask} Have a nice day! - debug: true + debug: 'True' 8: header: Let the programming fun begin! text: Enjoy the adventures in level 2! @@ -257,7 +257,7 @@ levels: {print} or do you prefer... second_choice {at} {random} {remove} second_choice {to} music_genres {print} I like music_genre {random} best! - debug: true + debug: 'True' 8: header: Let's get to work! text: Enjoy the adventures in level 3! @@ -272,7 +272,7 @@ levels: code: |- name {is} Sophie {print} My name is name - debug: true + debug: 'True' 3: header: Fixing it with quotation marks text: |- @@ -310,7 +310,7 @@ levels: Please try to print a contraction like "you're" or "I'm" in the screen below and see what happens.... code: '{print} ''This won''t work!''' - debug: true + debug: 'True' 9: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -335,7 +335,7 @@ levels: colors {is} 'orange, silver, white, brown' {print} 'I love the colors {at} {random} one!' choice {is} {ask} Which one do you like? - debug: true + debug: 'True' 11: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -358,7 +358,7 @@ levels: When using the `{if}` command, don't forget to use the `{print}` command. This code will not work! code: '{if} name {is} Hedy ''nice''' - debug: true + debug: 'True' 4: header: else text: |- @@ -404,7 +404,7 @@ levels: item_to_declare {is} {ask} 'What would you like to declare' {else} Alright {print} Thank you. Please head to gate A22.' - debug: true + debug: 'True' 8: header: Let's go! text: Enjoy the adventures in level 5! @@ -469,7 +469,7 @@ levels: {if} day {is} monday total_price = total_price * 0.25 {print} 'That will be total_price please' - debug: true + debug: 'True' 10: header: Let's get to work! text: Enjoy the adventures in level 6! @@ -492,7 +492,7 @@ levels: header: Don't forget the print command text: When using the repeat command, do not forget the `{print}` command. code: '{repeat} 5 {times} ''Help!''' - debug: true + debug: 'True' 4: header: Repeat an ask command text: You can also repeat an `{ask}`, `{if}` or `{else}` command multiple times. @@ -514,7 +514,7 @@ levels: {if} yes {print} 'Hurray! {else} 'That's a shame... Oh well... time to build a shelter and find some food.' - debug: true + debug: 'True' 6: header: Ready Set Go! text: Enjoy the adventures in level 7! @@ -529,7 +529,7 @@ levels: You could only repeat one line of code. code: '{repeat} 5 {times} {print} ''Help!''' - debug: true + debug: 'True' 3: header: '{repeat} commands now' text: |- @@ -558,7 +558,7 @@ levels: code: |- {if} name {is} Hedy {print} 'nice' {else} {print} 'boo!' - debug: true + debug: 'True' 6: header: if and else now text: |- @@ -601,7 +601,7 @@ levels: {print} You chose a round trip ticket' price * 2 {print} 'That will be ' price ' euros please' - debug: true + debug: 'True' 10: header: Let's check out the adventures! text: Enjoy the adventures in level 8! @@ -693,7 +693,7 @@ levels: {else} {print} 'Fun!' {print} 'Thanks for filling in the safety questions everyone. Enjoy your jump!' - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 9! @@ -730,7 +730,7 @@ levels: {add} chosen_person {from} people {print} 'Come and watch our show tonight!' {print} 'Tickets are only available at the counter - debug: true + debug: 'True' 5: header: Time to program! text: Enjoy the adventures in level 10! @@ -767,7 +767,7 @@ levels: {repeat} {for} numbers {in} {range} 1 {to} 10 {times} {print} This is the table of multiplications for factor {print} number ' x ' factor ' = ' i * factor - debug: true + debug: 'True' 5: header: Let's start programming! text: Enjoy the adventures in level 11! @@ -832,7 +832,7 @@ levels: {call} new member {else} password = {ask} 'Please enter password' - debug: true + debug: 'True' 8: header: Ready to try it out? text: Enjoy the adventures in level 12! @@ -942,7 +942,7 @@ levels: {call} happiness {with} person {else} mood = sad {define} sadness {to} name - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 13! @@ -1024,7 +1024,7 @@ levels: {print} 'Shame.. I wont buy it' {else} {print} 'I will buy it! Thank you!' - debug: true + debug: 'True' 7: header: Let's get to work! text: Enjoy the adventures in level 14! @@ -1122,6 +1122,8 @@ levels: {print} 'Do you even know this person?!' debug: 'True' 4: + text: Enjoy the adventures in level 16! + header: Let's try it out! 17: 1: header: Welcome to level 17 @@ -1173,6 +1175,8 @@ levels: {sleep} debug: 'True' 5: + header: Let's try it out! + text: Enjoy the adventures in level 17! 18: 1: header: Welcome to level 18 diff --git a/content/slides/cs.yaml b/content/slides/cs.yaml index 041f16037b5..fa5f0ab8d6b 100644 --- a/content/slides/cs.yaml +++ b/content/slides/cs.yaml @@ -121,7 +121,7 @@ levels: {print} What song would you like to hear? {ask} I like that song too! {print} Next up... {echo} - debug: true + debug: 'True' 13: header: Let the programming fun begin! text: Enjoy the adventures in level 1! @@ -190,7 +190,7 @@ levels: {print} I'll go get your donut. {sleep} {print} Here you go! A filling donut with toping! {ask} Have a nice day! - debug: true + debug: 'True' 8: header: Let the programming fun begin! text: Enjoy the adventures in level 2! @@ -255,7 +255,7 @@ levels: {print} or do you prefer... second_choice {at} {random} {remove} second_choice {to} music_genres {print} I like music_genre {random} best! - debug: true + debug: 'True' 8: header: Let's get to work! text: Enjoy the adventures in level 3! @@ -270,7 +270,7 @@ levels: code: |- name {is} Sophie {print} My name is name - debug: true + debug: 'True' 3: header: Fixing it with quotation marks text: |- @@ -308,7 +308,7 @@ levels: Please try to print a contraction like "you're" or "I'm" in the screen below and see what happens.... code: '{print} ''This won''t work!''' - debug: true + debug: 'True' 9: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -333,7 +333,7 @@ levels: colors {is} 'orange, silver, white, brown' {print} 'I love the colors {at} {random} one!' choice {is} {ask} Which one do you like? - debug: true + debug: 'True' 11: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -356,7 +356,7 @@ levels: When using the `{if}` command, don't forget to use the `{print}` command. This code will not work! code: '{if} name {is} Hedy ''nice''' - debug: true + debug: 'True' 4: header: else text: |- @@ -402,7 +402,7 @@ levels: item_to_declare {is} {ask} 'What would you like to declare' {else} Alright {print} Thank you. Please head to gate A22.' - debug: true + debug: 'True' 8: header: Let's go! text: Enjoy the adventures in level 5! @@ -467,7 +467,7 @@ levels: {if} day {is} monday total_price = total_price * 0.25 {print} 'That will be total_price please' - debug: true + debug: 'True' 10: header: Let's get to work! text: Enjoy the adventures in level 6! @@ -490,7 +490,7 @@ levels: header: Don't forget the print command text: When using the repeat command, do not forget the `{print}` command. code: '{repeat} 5 {times} ''Help!''' - debug: true + debug: 'True' 4: header: Repeat an ask command text: You can also repeat an `{ask}`, `{if}` or `{else}` command multiple times. @@ -512,7 +512,7 @@ levels: {if} yes {print} 'Hurray! {else} 'That's a shame... Oh well... time to build a shelter and find some food.' - debug: true + debug: 'True' 6: header: Ready Set Go! text: Enjoy the adventures in level 7! @@ -527,7 +527,7 @@ levels: You could only repeat one line of code. code: '{repeat} 5 {times} {print} ''Help!''' - debug: true + debug: 'True' 3: header: '{repeat} commands now' text: |- @@ -556,7 +556,7 @@ levels: code: |- {if} name {is} Hedy {print} 'nice' {else} {print} 'boo!' - debug: true + debug: 'True' 6: header: if and else now text: |- @@ -599,7 +599,7 @@ levels: {print} You chose a round trip ticket' price * 2 {print} 'That will be ' price ' euros please' - debug: true + debug: 'True' 10: header: Let's check out the adventures! text: Enjoy the adventures in level 8! @@ -691,7 +691,7 @@ levels: {else} {print} 'Fun!' {print} 'Thanks for filling in the safety questions everyone. Enjoy your jump!' - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 9! @@ -728,7 +728,7 @@ levels: {add} chosen_person {from} people {print} 'Come and watch our show tonight!' {print} 'Tickets are only available at the counter - debug: true + debug: 'True' 5: header: Time to program! text: Enjoy the adventures in level 10! @@ -765,7 +765,7 @@ levels: {repeat} {for} numbers {in} {range} 1 {to} 10 {times} {print} This is the table of multiplications for factor {print} number ' x ' factor ' = ' i * factor - debug: true + debug: 'True' 5: header: Let's start programming! text: Enjoy the adventures in level 11! @@ -830,7 +830,7 @@ levels: {call} new member {else} password = {ask} 'Please enter password' - debug: true + debug: 'True' 8: header: Ready to try it out? text: Enjoy the adventures in level 12! @@ -940,7 +940,7 @@ levels: {call} happiness {with} person {else} mood = sad {define} sadness {to} name - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 13! @@ -1022,7 +1022,7 @@ levels: {print} 'Shame.. I wont buy it' {else} {print} 'I will buy it! Thank you!' - debug: true + debug: 'True' 7: header: Let's get to work! text: Enjoy the adventures in level 14! @@ -1120,6 +1120,8 @@ levels: {print} 'Do you even know this person?!' debug: 'True' 4: + text: Enjoy the adventures in level 16! + header: Let's try it out! 17: 1: header: Welcome to level 17 @@ -1171,6 +1173,8 @@ levels: {sleep} debug: 'True' 5: + header: Let's try it out! + text: Enjoy the adventures in level 17! 18: 1: header: Welcome to level 18 diff --git a/content/slides/cy.yaml b/content/slides/cy.yaml index 041f16037b5..fa5f0ab8d6b 100644 --- a/content/slides/cy.yaml +++ b/content/slides/cy.yaml @@ -121,7 +121,7 @@ levels: {print} What song would you like to hear? {ask} I like that song too! {print} Next up... {echo} - debug: true + debug: 'True' 13: header: Let the programming fun begin! text: Enjoy the adventures in level 1! @@ -190,7 +190,7 @@ levels: {print} I'll go get your donut. {sleep} {print} Here you go! A filling donut with toping! {ask} Have a nice day! - debug: true + debug: 'True' 8: header: Let the programming fun begin! text: Enjoy the adventures in level 2! @@ -255,7 +255,7 @@ levels: {print} or do you prefer... second_choice {at} {random} {remove} second_choice {to} music_genres {print} I like music_genre {random} best! - debug: true + debug: 'True' 8: header: Let's get to work! text: Enjoy the adventures in level 3! @@ -270,7 +270,7 @@ levels: code: |- name {is} Sophie {print} My name is name - debug: true + debug: 'True' 3: header: Fixing it with quotation marks text: |- @@ -308,7 +308,7 @@ levels: Please try to print a contraction like "you're" or "I'm" in the screen below and see what happens.... code: '{print} ''This won''t work!''' - debug: true + debug: 'True' 9: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -333,7 +333,7 @@ levels: colors {is} 'orange, silver, white, brown' {print} 'I love the colors {at} {random} one!' choice {is} {ask} Which one do you like? - debug: true + debug: 'True' 11: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -356,7 +356,7 @@ levels: When using the `{if}` command, don't forget to use the `{print}` command. This code will not work! code: '{if} name {is} Hedy ''nice''' - debug: true + debug: 'True' 4: header: else text: |- @@ -402,7 +402,7 @@ levels: item_to_declare {is} {ask} 'What would you like to declare' {else} Alright {print} Thank you. Please head to gate A22.' - debug: true + debug: 'True' 8: header: Let's go! text: Enjoy the adventures in level 5! @@ -467,7 +467,7 @@ levels: {if} day {is} monday total_price = total_price * 0.25 {print} 'That will be total_price please' - debug: true + debug: 'True' 10: header: Let's get to work! text: Enjoy the adventures in level 6! @@ -490,7 +490,7 @@ levels: header: Don't forget the print command text: When using the repeat command, do not forget the `{print}` command. code: '{repeat} 5 {times} ''Help!''' - debug: true + debug: 'True' 4: header: Repeat an ask command text: You can also repeat an `{ask}`, `{if}` or `{else}` command multiple times. @@ -512,7 +512,7 @@ levels: {if} yes {print} 'Hurray! {else} 'That's a shame... Oh well... time to build a shelter and find some food.' - debug: true + debug: 'True' 6: header: Ready Set Go! text: Enjoy the adventures in level 7! @@ -527,7 +527,7 @@ levels: You could only repeat one line of code. code: '{repeat} 5 {times} {print} ''Help!''' - debug: true + debug: 'True' 3: header: '{repeat} commands now' text: |- @@ -556,7 +556,7 @@ levels: code: |- {if} name {is} Hedy {print} 'nice' {else} {print} 'boo!' - debug: true + debug: 'True' 6: header: if and else now text: |- @@ -599,7 +599,7 @@ levels: {print} You chose a round trip ticket' price * 2 {print} 'That will be ' price ' euros please' - debug: true + debug: 'True' 10: header: Let's check out the adventures! text: Enjoy the adventures in level 8! @@ -691,7 +691,7 @@ levels: {else} {print} 'Fun!' {print} 'Thanks for filling in the safety questions everyone. Enjoy your jump!' - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 9! @@ -728,7 +728,7 @@ levels: {add} chosen_person {from} people {print} 'Come and watch our show tonight!' {print} 'Tickets are only available at the counter - debug: true + debug: 'True' 5: header: Time to program! text: Enjoy the adventures in level 10! @@ -765,7 +765,7 @@ levels: {repeat} {for} numbers {in} {range} 1 {to} 10 {times} {print} This is the table of multiplications for factor {print} number ' x ' factor ' = ' i * factor - debug: true + debug: 'True' 5: header: Let's start programming! text: Enjoy the adventures in level 11! @@ -830,7 +830,7 @@ levels: {call} new member {else} password = {ask} 'Please enter password' - debug: true + debug: 'True' 8: header: Ready to try it out? text: Enjoy the adventures in level 12! @@ -940,7 +940,7 @@ levels: {call} happiness {with} person {else} mood = sad {define} sadness {to} name - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 13! @@ -1022,7 +1022,7 @@ levels: {print} 'Shame.. I wont buy it' {else} {print} 'I will buy it! Thank you!' - debug: true + debug: 'True' 7: header: Let's get to work! text: Enjoy the adventures in level 14! @@ -1120,6 +1120,8 @@ levels: {print} 'Do you even know this person?!' debug: 'True' 4: + text: Enjoy the adventures in level 16! + header: Let's try it out! 17: 1: header: Welcome to level 17 @@ -1171,6 +1173,8 @@ levels: {sleep} debug: 'True' 5: + header: Let's try it out! + text: Enjoy the adventures in level 17! 18: 1: header: Welcome to level 18 diff --git a/content/slides/da.yaml b/content/slides/da.yaml index 041f16037b5..fa5f0ab8d6b 100644 --- a/content/slides/da.yaml +++ b/content/slides/da.yaml @@ -121,7 +121,7 @@ levels: {print} What song would you like to hear? {ask} I like that song too! {print} Next up... {echo} - debug: true + debug: 'True' 13: header: Let the programming fun begin! text: Enjoy the adventures in level 1! @@ -190,7 +190,7 @@ levels: {print} I'll go get your donut. {sleep} {print} Here you go! A filling donut with toping! {ask} Have a nice day! - debug: true + debug: 'True' 8: header: Let the programming fun begin! text: Enjoy the adventures in level 2! @@ -255,7 +255,7 @@ levels: {print} or do you prefer... second_choice {at} {random} {remove} second_choice {to} music_genres {print} I like music_genre {random} best! - debug: true + debug: 'True' 8: header: Let's get to work! text: Enjoy the adventures in level 3! @@ -270,7 +270,7 @@ levels: code: |- name {is} Sophie {print} My name is name - debug: true + debug: 'True' 3: header: Fixing it with quotation marks text: |- @@ -308,7 +308,7 @@ levels: Please try to print a contraction like "you're" or "I'm" in the screen below and see what happens.... code: '{print} ''This won''t work!''' - debug: true + debug: 'True' 9: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -333,7 +333,7 @@ levels: colors {is} 'orange, silver, white, brown' {print} 'I love the colors {at} {random} one!' choice {is} {ask} Which one do you like? - debug: true + debug: 'True' 11: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -356,7 +356,7 @@ levels: When using the `{if}` command, don't forget to use the `{print}` command. This code will not work! code: '{if} name {is} Hedy ''nice''' - debug: true + debug: 'True' 4: header: else text: |- @@ -402,7 +402,7 @@ levels: item_to_declare {is} {ask} 'What would you like to declare' {else} Alright {print} Thank you. Please head to gate A22.' - debug: true + debug: 'True' 8: header: Let's go! text: Enjoy the adventures in level 5! @@ -467,7 +467,7 @@ levels: {if} day {is} monday total_price = total_price * 0.25 {print} 'That will be total_price please' - debug: true + debug: 'True' 10: header: Let's get to work! text: Enjoy the adventures in level 6! @@ -490,7 +490,7 @@ levels: header: Don't forget the print command text: When using the repeat command, do not forget the `{print}` command. code: '{repeat} 5 {times} ''Help!''' - debug: true + debug: 'True' 4: header: Repeat an ask command text: You can also repeat an `{ask}`, `{if}` or `{else}` command multiple times. @@ -512,7 +512,7 @@ levels: {if} yes {print} 'Hurray! {else} 'That's a shame... Oh well... time to build a shelter and find some food.' - debug: true + debug: 'True' 6: header: Ready Set Go! text: Enjoy the adventures in level 7! @@ -527,7 +527,7 @@ levels: You could only repeat one line of code. code: '{repeat} 5 {times} {print} ''Help!''' - debug: true + debug: 'True' 3: header: '{repeat} commands now' text: |- @@ -556,7 +556,7 @@ levels: code: |- {if} name {is} Hedy {print} 'nice' {else} {print} 'boo!' - debug: true + debug: 'True' 6: header: if and else now text: |- @@ -599,7 +599,7 @@ levels: {print} You chose a round trip ticket' price * 2 {print} 'That will be ' price ' euros please' - debug: true + debug: 'True' 10: header: Let's check out the adventures! text: Enjoy the adventures in level 8! @@ -691,7 +691,7 @@ levels: {else} {print} 'Fun!' {print} 'Thanks for filling in the safety questions everyone. Enjoy your jump!' - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 9! @@ -728,7 +728,7 @@ levels: {add} chosen_person {from} people {print} 'Come and watch our show tonight!' {print} 'Tickets are only available at the counter - debug: true + debug: 'True' 5: header: Time to program! text: Enjoy the adventures in level 10! @@ -765,7 +765,7 @@ levels: {repeat} {for} numbers {in} {range} 1 {to} 10 {times} {print} This is the table of multiplications for factor {print} number ' x ' factor ' = ' i * factor - debug: true + debug: 'True' 5: header: Let's start programming! text: Enjoy the adventures in level 11! @@ -830,7 +830,7 @@ levels: {call} new member {else} password = {ask} 'Please enter password' - debug: true + debug: 'True' 8: header: Ready to try it out? text: Enjoy the adventures in level 12! @@ -940,7 +940,7 @@ levels: {call} happiness {with} person {else} mood = sad {define} sadness {to} name - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 13! @@ -1022,7 +1022,7 @@ levels: {print} 'Shame.. I wont buy it' {else} {print} 'I will buy it! Thank you!' - debug: true + debug: 'True' 7: header: Let's get to work! text: Enjoy the adventures in level 14! @@ -1120,6 +1120,8 @@ levels: {print} 'Do you even know this person?!' debug: 'True' 4: + text: Enjoy the adventures in level 16! + header: Let's try it out! 17: 1: header: Welcome to level 17 @@ -1171,6 +1173,8 @@ levels: {sleep} debug: 'True' 5: + header: Let's try it out! + text: Enjoy the adventures in level 17! 18: 1: header: Welcome to level 18 diff --git a/content/slides/de.yaml b/content/slides/de.yaml index d648d8bcb60..7ac727bf3cd 100644 --- a/content/slides/de.yaml +++ b/content/slides/de.yaml @@ -123,7 +123,7 @@ levels: {print} What song would you like to hear? {ask} I like that song too! {print} Next up... {echo} - debug: true + debug: 'True' 13: header: Let the programming fun begin! text: Enjoy the adventures in level 1! @@ -192,7 +192,7 @@ levels: {print} I'll go get your donut. {sleep} {print} Here you go! A filling donut with toping! {ask} Have a nice day! - debug: true + debug: 'True' 8: header: Let the programming fun begin! text: Enjoy the adventures in level 2! @@ -257,7 +257,7 @@ levels: {print} or do you prefer... second_choice {at} {random} {remove} second_choice {to} music_genres {print} I like music_genre {random} best! - debug: true + debug: 'True' 8: header: Let's get to work! text: Enjoy the adventures in level 3! @@ -272,7 +272,7 @@ levels: code: |- name {is} Sophie {print} My name is name - debug: true + debug: 'True' 3: header: Fixing it with quotation marks text: |- @@ -310,7 +310,7 @@ levels: Please try to print a contraction like "you're" or "I'm" in the screen below and see what happens.... code: '{print} ''This won''t work!''' - debug: true + debug: 'True' 9: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -335,7 +335,7 @@ levels: colors {is} 'orange, silver, white, brown' {print} 'I love the colors {at} {random} one!' choice {is} {ask} Which one do you like? - debug: true + debug: 'True' 11: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -358,7 +358,7 @@ levels: When using the `{if}` command, don't forget to use the `{print}` command. This code will not work! code: '{if} name {is} Hedy ''nice''' - debug: true + debug: 'True' 4: header: else text: |- @@ -404,7 +404,7 @@ levels: item_to_declare {is} {ask} 'What would you like to declare' {else} Alright {print} Thank you. Please head to gate A22.' - debug: true + debug: 'True' 8: header: Let's go! text: Enjoy the adventures in level 5! @@ -469,7 +469,7 @@ levels: {if} day {is} monday total_price = total_price * 0.25 {print} 'That will be total_price please' - debug: true + debug: 'True' 10: header: Let's get to work! text: Enjoy the adventures in level 6! @@ -492,7 +492,7 @@ levels: header: Don't forget the print command text: When using the repeat command, do not forget the `{print}` command. code: '{repeat} 5 {times} ''Help!''' - debug: true + debug: 'True' 4: header: Repeat an ask command text: You can also repeat an `{ask}`, `{if}` or `{else}` command multiple times. @@ -514,7 +514,7 @@ levels: {if} yes {print} 'Hurray! {else} 'That's a shame... Oh well... time to build a shelter and find some food.' - debug: true + debug: 'True' 6: header: Ready Set Go! text: Enjoy the adventures in level 7! @@ -529,7 +529,7 @@ levels: You could only repeat one line of code. code: '{repeat} 5 {times} {print} ''Help!''' - debug: true + debug: 'True' 3: header: '{repeat} commands now' text: |- @@ -558,7 +558,7 @@ levels: code: |- {if} name {is} Hedy {print} 'nice' {else} {print} 'boo!' - debug: true + debug: 'True' 6: header: if and else now text: |- @@ -601,7 +601,7 @@ levels: {print} You chose a round trip ticket' price * 2 {print} 'That will be ' price ' euros please' - debug: true + debug: 'True' 10: header: Let's check out the adventures! text: Enjoy the adventures in level 8! @@ -693,7 +693,7 @@ levels: {else} {print} 'Fun!' {print} 'Thanks for filling in the safety questions everyone. Enjoy your jump!' - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 9! @@ -730,7 +730,7 @@ levels: {add} chosen_person {from} people {print} 'Come and watch our show tonight!' {print} 'Tickets are only available at the counter - debug: true + debug: 'True' 5: header: Time to program! text: Enjoy the adventures in level 10! @@ -767,7 +767,7 @@ levels: {repeat} {for} numbers {in} {range} 1 {to} 10 {times} {print} This is the table of multiplications for factor {print} number ' x ' factor ' = ' i * factor - debug: true + debug: 'True' 5: header: Let's start programming! text: Enjoy the adventures in level 11! @@ -832,7 +832,7 @@ levels: {call} new member {else} password = {ask} 'Please enter password' - debug: true + debug: 'True' 8: header: Ready to try it out? text: Enjoy the adventures in level 12! @@ -942,7 +942,7 @@ levels: {call} happiness {with} person {else} mood = sad {define} sadness {to} name - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 13! @@ -1024,7 +1024,7 @@ levels: {print} 'Shame.. I wont buy it' {else} {print} 'I will buy it! Thank you!' - debug: true + debug: 'True' 7: header: Let's get to work! text: Enjoy the adventures in level 14! @@ -1122,6 +1122,8 @@ levels: {print} 'Do you even know this person?!' debug: 'True' 4: + text: Enjoy the adventures in level 16! + header: Let's try it out! 17: 1: header: Welcome to level 17 @@ -1173,6 +1175,8 @@ levels: {sleep} debug: 'True' 5: + header: Let's try it out! + text: Enjoy the adventures in level 17! 18: 1: header: Welcome to level 18 diff --git a/content/slides/el.yaml b/content/slides/el.yaml index 041f16037b5..fa5f0ab8d6b 100644 --- a/content/slides/el.yaml +++ b/content/slides/el.yaml @@ -121,7 +121,7 @@ levels: {print} What song would you like to hear? {ask} I like that song too! {print} Next up... {echo} - debug: true + debug: 'True' 13: header: Let the programming fun begin! text: Enjoy the adventures in level 1! @@ -190,7 +190,7 @@ levels: {print} I'll go get your donut. {sleep} {print} Here you go! A filling donut with toping! {ask} Have a nice day! - debug: true + debug: 'True' 8: header: Let the programming fun begin! text: Enjoy the adventures in level 2! @@ -255,7 +255,7 @@ levels: {print} or do you prefer... second_choice {at} {random} {remove} second_choice {to} music_genres {print} I like music_genre {random} best! - debug: true + debug: 'True' 8: header: Let's get to work! text: Enjoy the adventures in level 3! @@ -270,7 +270,7 @@ levels: code: |- name {is} Sophie {print} My name is name - debug: true + debug: 'True' 3: header: Fixing it with quotation marks text: |- @@ -308,7 +308,7 @@ levels: Please try to print a contraction like "you're" or "I'm" in the screen below and see what happens.... code: '{print} ''This won''t work!''' - debug: true + debug: 'True' 9: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -333,7 +333,7 @@ levels: colors {is} 'orange, silver, white, brown' {print} 'I love the colors {at} {random} one!' choice {is} {ask} Which one do you like? - debug: true + debug: 'True' 11: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -356,7 +356,7 @@ levels: When using the `{if}` command, don't forget to use the `{print}` command. This code will not work! code: '{if} name {is} Hedy ''nice''' - debug: true + debug: 'True' 4: header: else text: |- @@ -402,7 +402,7 @@ levels: item_to_declare {is} {ask} 'What would you like to declare' {else} Alright {print} Thank you. Please head to gate A22.' - debug: true + debug: 'True' 8: header: Let's go! text: Enjoy the adventures in level 5! @@ -467,7 +467,7 @@ levels: {if} day {is} monday total_price = total_price * 0.25 {print} 'That will be total_price please' - debug: true + debug: 'True' 10: header: Let's get to work! text: Enjoy the adventures in level 6! @@ -490,7 +490,7 @@ levels: header: Don't forget the print command text: When using the repeat command, do not forget the `{print}` command. code: '{repeat} 5 {times} ''Help!''' - debug: true + debug: 'True' 4: header: Repeat an ask command text: You can also repeat an `{ask}`, `{if}` or `{else}` command multiple times. @@ -512,7 +512,7 @@ levels: {if} yes {print} 'Hurray! {else} 'That's a shame... Oh well... time to build a shelter and find some food.' - debug: true + debug: 'True' 6: header: Ready Set Go! text: Enjoy the adventures in level 7! @@ -527,7 +527,7 @@ levels: You could only repeat one line of code. code: '{repeat} 5 {times} {print} ''Help!''' - debug: true + debug: 'True' 3: header: '{repeat} commands now' text: |- @@ -556,7 +556,7 @@ levels: code: |- {if} name {is} Hedy {print} 'nice' {else} {print} 'boo!' - debug: true + debug: 'True' 6: header: if and else now text: |- @@ -599,7 +599,7 @@ levels: {print} You chose a round trip ticket' price * 2 {print} 'That will be ' price ' euros please' - debug: true + debug: 'True' 10: header: Let's check out the adventures! text: Enjoy the adventures in level 8! @@ -691,7 +691,7 @@ levels: {else} {print} 'Fun!' {print} 'Thanks for filling in the safety questions everyone. Enjoy your jump!' - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 9! @@ -728,7 +728,7 @@ levels: {add} chosen_person {from} people {print} 'Come and watch our show tonight!' {print} 'Tickets are only available at the counter - debug: true + debug: 'True' 5: header: Time to program! text: Enjoy the adventures in level 10! @@ -765,7 +765,7 @@ levels: {repeat} {for} numbers {in} {range} 1 {to} 10 {times} {print} This is the table of multiplications for factor {print} number ' x ' factor ' = ' i * factor - debug: true + debug: 'True' 5: header: Let's start programming! text: Enjoy the adventures in level 11! @@ -830,7 +830,7 @@ levels: {call} new member {else} password = {ask} 'Please enter password' - debug: true + debug: 'True' 8: header: Ready to try it out? text: Enjoy the adventures in level 12! @@ -940,7 +940,7 @@ levels: {call} happiness {with} person {else} mood = sad {define} sadness {to} name - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 13! @@ -1022,7 +1022,7 @@ levels: {print} 'Shame.. I wont buy it' {else} {print} 'I will buy it! Thank you!' - debug: true + debug: 'True' 7: header: Let's get to work! text: Enjoy the adventures in level 14! @@ -1120,6 +1120,8 @@ levels: {print} 'Do you even know this person?!' debug: 'True' 4: + text: Enjoy the adventures in level 16! + header: Let's try it out! 17: 1: header: Welcome to level 17 @@ -1171,6 +1173,8 @@ levels: {sleep} debug: 'True' 5: + header: Let's try it out! + text: Enjoy the adventures in level 17! 18: 1: header: Welcome to level 18 diff --git a/content/slides/eo.yaml b/content/slides/eo.yaml index f641416ef30..22105a8f7e0 100644 --- a/content/slides/eo.yaml +++ b/content/slides/eo.yaml @@ -1022,7 +1022,7 @@ levels: {print} 'Shame.. I wont buy it' {else} {print} 'I will buy it! Thank you!' - debug: true + debug: 'True' 7: header: Let's get to work! text: Enjoy the adventures in level 14! @@ -1120,6 +1120,8 @@ levels: {print} 'Do you even know this person?!' debug: 'True' 4: + text: Enjoy the adventures in level 16! + header: Let's try it out! 17: 1: header: Welcome to level 17 @@ -1171,6 +1173,8 @@ levels: {sleep} debug: 'True' 5: + header: Let's try it out! + text: Enjoy the adventures in level 17! 18: 1: header: Welcome to level 18 diff --git a/content/slides/et.yaml b/content/slides/et.yaml index 041f16037b5..fa5f0ab8d6b 100644 --- a/content/slides/et.yaml +++ b/content/slides/et.yaml @@ -121,7 +121,7 @@ levels: {print} What song would you like to hear? {ask} I like that song too! {print} Next up... {echo} - debug: true + debug: 'True' 13: header: Let the programming fun begin! text: Enjoy the adventures in level 1! @@ -190,7 +190,7 @@ levels: {print} I'll go get your donut. {sleep} {print} Here you go! A filling donut with toping! {ask} Have a nice day! - debug: true + debug: 'True' 8: header: Let the programming fun begin! text: Enjoy the adventures in level 2! @@ -255,7 +255,7 @@ levels: {print} or do you prefer... second_choice {at} {random} {remove} second_choice {to} music_genres {print} I like music_genre {random} best! - debug: true + debug: 'True' 8: header: Let's get to work! text: Enjoy the adventures in level 3! @@ -270,7 +270,7 @@ levels: code: |- name {is} Sophie {print} My name is name - debug: true + debug: 'True' 3: header: Fixing it with quotation marks text: |- @@ -308,7 +308,7 @@ levels: Please try to print a contraction like "you're" or "I'm" in the screen below and see what happens.... code: '{print} ''This won''t work!''' - debug: true + debug: 'True' 9: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -333,7 +333,7 @@ levels: colors {is} 'orange, silver, white, brown' {print} 'I love the colors {at} {random} one!' choice {is} {ask} Which one do you like? - debug: true + debug: 'True' 11: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -356,7 +356,7 @@ levels: When using the `{if}` command, don't forget to use the `{print}` command. This code will not work! code: '{if} name {is} Hedy ''nice''' - debug: true + debug: 'True' 4: header: else text: |- @@ -402,7 +402,7 @@ levels: item_to_declare {is} {ask} 'What would you like to declare' {else} Alright {print} Thank you. Please head to gate A22.' - debug: true + debug: 'True' 8: header: Let's go! text: Enjoy the adventures in level 5! @@ -467,7 +467,7 @@ levels: {if} day {is} monday total_price = total_price * 0.25 {print} 'That will be total_price please' - debug: true + debug: 'True' 10: header: Let's get to work! text: Enjoy the adventures in level 6! @@ -490,7 +490,7 @@ levels: header: Don't forget the print command text: When using the repeat command, do not forget the `{print}` command. code: '{repeat} 5 {times} ''Help!''' - debug: true + debug: 'True' 4: header: Repeat an ask command text: You can also repeat an `{ask}`, `{if}` or `{else}` command multiple times. @@ -512,7 +512,7 @@ levels: {if} yes {print} 'Hurray! {else} 'That's a shame... Oh well... time to build a shelter and find some food.' - debug: true + debug: 'True' 6: header: Ready Set Go! text: Enjoy the adventures in level 7! @@ -527,7 +527,7 @@ levels: You could only repeat one line of code. code: '{repeat} 5 {times} {print} ''Help!''' - debug: true + debug: 'True' 3: header: '{repeat} commands now' text: |- @@ -556,7 +556,7 @@ levels: code: |- {if} name {is} Hedy {print} 'nice' {else} {print} 'boo!' - debug: true + debug: 'True' 6: header: if and else now text: |- @@ -599,7 +599,7 @@ levels: {print} You chose a round trip ticket' price * 2 {print} 'That will be ' price ' euros please' - debug: true + debug: 'True' 10: header: Let's check out the adventures! text: Enjoy the adventures in level 8! @@ -691,7 +691,7 @@ levels: {else} {print} 'Fun!' {print} 'Thanks for filling in the safety questions everyone. Enjoy your jump!' - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 9! @@ -728,7 +728,7 @@ levels: {add} chosen_person {from} people {print} 'Come and watch our show tonight!' {print} 'Tickets are only available at the counter - debug: true + debug: 'True' 5: header: Time to program! text: Enjoy the adventures in level 10! @@ -765,7 +765,7 @@ levels: {repeat} {for} numbers {in} {range} 1 {to} 10 {times} {print} This is the table of multiplications for factor {print} number ' x ' factor ' = ' i * factor - debug: true + debug: 'True' 5: header: Let's start programming! text: Enjoy the adventures in level 11! @@ -830,7 +830,7 @@ levels: {call} new member {else} password = {ask} 'Please enter password' - debug: true + debug: 'True' 8: header: Ready to try it out? text: Enjoy the adventures in level 12! @@ -940,7 +940,7 @@ levels: {call} happiness {with} person {else} mood = sad {define} sadness {to} name - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 13! @@ -1022,7 +1022,7 @@ levels: {print} 'Shame.. I wont buy it' {else} {print} 'I will buy it! Thank you!' - debug: true + debug: 'True' 7: header: Let's get to work! text: Enjoy the adventures in level 14! @@ -1120,6 +1120,8 @@ levels: {print} 'Do you even know this person?!' debug: 'True' 4: + text: Enjoy the adventures in level 16! + header: Let's try it out! 17: 1: header: Welcome to level 17 @@ -1171,6 +1173,8 @@ levels: {sleep} debug: 'True' 5: + header: Let's try it out! + text: Enjoy the adventures in level 17! 18: 1: header: Welcome to level 18 diff --git a/content/slides/fa.yaml b/content/slides/fa.yaml index 041f16037b5..fa5f0ab8d6b 100644 --- a/content/slides/fa.yaml +++ b/content/slides/fa.yaml @@ -121,7 +121,7 @@ levels: {print} What song would you like to hear? {ask} I like that song too! {print} Next up... {echo} - debug: true + debug: 'True' 13: header: Let the programming fun begin! text: Enjoy the adventures in level 1! @@ -190,7 +190,7 @@ levels: {print} I'll go get your donut. {sleep} {print} Here you go! A filling donut with toping! {ask} Have a nice day! - debug: true + debug: 'True' 8: header: Let the programming fun begin! text: Enjoy the adventures in level 2! @@ -255,7 +255,7 @@ levels: {print} or do you prefer... second_choice {at} {random} {remove} second_choice {to} music_genres {print} I like music_genre {random} best! - debug: true + debug: 'True' 8: header: Let's get to work! text: Enjoy the adventures in level 3! @@ -270,7 +270,7 @@ levels: code: |- name {is} Sophie {print} My name is name - debug: true + debug: 'True' 3: header: Fixing it with quotation marks text: |- @@ -308,7 +308,7 @@ levels: Please try to print a contraction like "you're" or "I'm" in the screen below and see what happens.... code: '{print} ''This won''t work!''' - debug: true + debug: 'True' 9: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -333,7 +333,7 @@ levels: colors {is} 'orange, silver, white, brown' {print} 'I love the colors {at} {random} one!' choice {is} {ask} Which one do you like? - debug: true + debug: 'True' 11: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -356,7 +356,7 @@ levels: When using the `{if}` command, don't forget to use the `{print}` command. This code will not work! code: '{if} name {is} Hedy ''nice''' - debug: true + debug: 'True' 4: header: else text: |- @@ -402,7 +402,7 @@ levels: item_to_declare {is} {ask} 'What would you like to declare' {else} Alright {print} Thank you. Please head to gate A22.' - debug: true + debug: 'True' 8: header: Let's go! text: Enjoy the adventures in level 5! @@ -467,7 +467,7 @@ levels: {if} day {is} monday total_price = total_price * 0.25 {print} 'That will be total_price please' - debug: true + debug: 'True' 10: header: Let's get to work! text: Enjoy the adventures in level 6! @@ -490,7 +490,7 @@ levels: header: Don't forget the print command text: When using the repeat command, do not forget the `{print}` command. code: '{repeat} 5 {times} ''Help!''' - debug: true + debug: 'True' 4: header: Repeat an ask command text: You can also repeat an `{ask}`, `{if}` or `{else}` command multiple times. @@ -512,7 +512,7 @@ levels: {if} yes {print} 'Hurray! {else} 'That's a shame... Oh well... time to build a shelter and find some food.' - debug: true + debug: 'True' 6: header: Ready Set Go! text: Enjoy the adventures in level 7! @@ -527,7 +527,7 @@ levels: You could only repeat one line of code. code: '{repeat} 5 {times} {print} ''Help!''' - debug: true + debug: 'True' 3: header: '{repeat} commands now' text: |- @@ -556,7 +556,7 @@ levels: code: |- {if} name {is} Hedy {print} 'nice' {else} {print} 'boo!' - debug: true + debug: 'True' 6: header: if and else now text: |- @@ -599,7 +599,7 @@ levels: {print} You chose a round trip ticket' price * 2 {print} 'That will be ' price ' euros please' - debug: true + debug: 'True' 10: header: Let's check out the adventures! text: Enjoy the adventures in level 8! @@ -691,7 +691,7 @@ levels: {else} {print} 'Fun!' {print} 'Thanks for filling in the safety questions everyone. Enjoy your jump!' - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 9! @@ -728,7 +728,7 @@ levels: {add} chosen_person {from} people {print} 'Come and watch our show tonight!' {print} 'Tickets are only available at the counter - debug: true + debug: 'True' 5: header: Time to program! text: Enjoy the adventures in level 10! @@ -765,7 +765,7 @@ levels: {repeat} {for} numbers {in} {range} 1 {to} 10 {times} {print} This is the table of multiplications for factor {print} number ' x ' factor ' = ' i * factor - debug: true + debug: 'True' 5: header: Let's start programming! text: Enjoy the adventures in level 11! @@ -830,7 +830,7 @@ levels: {call} new member {else} password = {ask} 'Please enter password' - debug: true + debug: 'True' 8: header: Ready to try it out? text: Enjoy the adventures in level 12! @@ -940,7 +940,7 @@ levels: {call} happiness {with} person {else} mood = sad {define} sadness {to} name - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 13! @@ -1022,7 +1022,7 @@ levels: {print} 'Shame.. I wont buy it' {else} {print} 'I will buy it! Thank you!' - debug: true + debug: 'True' 7: header: Let's get to work! text: Enjoy the adventures in level 14! @@ -1120,6 +1120,8 @@ levels: {print} 'Do you even know this person?!' debug: 'True' 4: + text: Enjoy the adventures in level 16! + header: Let's try it out! 17: 1: header: Welcome to level 17 @@ -1171,6 +1173,8 @@ levels: {sleep} debug: 'True' 5: + header: Let's try it out! + text: Enjoy the adventures in level 17! 18: 1: header: Welcome to level 18 diff --git a/content/slides/fi.yaml b/content/slides/fi.yaml index 041f16037b5..fa5f0ab8d6b 100644 --- a/content/slides/fi.yaml +++ b/content/slides/fi.yaml @@ -121,7 +121,7 @@ levels: {print} What song would you like to hear? {ask} I like that song too! {print} Next up... {echo} - debug: true + debug: 'True' 13: header: Let the programming fun begin! text: Enjoy the adventures in level 1! @@ -190,7 +190,7 @@ levels: {print} I'll go get your donut. {sleep} {print} Here you go! A filling donut with toping! {ask} Have a nice day! - debug: true + debug: 'True' 8: header: Let the programming fun begin! text: Enjoy the adventures in level 2! @@ -255,7 +255,7 @@ levels: {print} or do you prefer... second_choice {at} {random} {remove} second_choice {to} music_genres {print} I like music_genre {random} best! - debug: true + debug: 'True' 8: header: Let's get to work! text: Enjoy the adventures in level 3! @@ -270,7 +270,7 @@ levels: code: |- name {is} Sophie {print} My name is name - debug: true + debug: 'True' 3: header: Fixing it with quotation marks text: |- @@ -308,7 +308,7 @@ levels: Please try to print a contraction like "you're" or "I'm" in the screen below and see what happens.... code: '{print} ''This won''t work!''' - debug: true + debug: 'True' 9: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -333,7 +333,7 @@ levels: colors {is} 'orange, silver, white, brown' {print} 'I love the colors {at} {random} one!' choice {is} {ask} Which one do you like? - debug: true + debug: 'True' 11: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -356,7 +356,7 @@ levels: When using the `{if}` command, don't forget to use the `{print}` command. This code will not work! code: '{if} name {is} Hedy ''nice''' - debug: true + debug: 'True' 4: header: else text: |- @@ -402,7 +402,7 @@ levels: item_to_declare {is} {ask} 'What would you like to declare' {else} Alright {print} Thank you. Please head to gate A22.' - debug: true + debug: 'True' 8: header: Let's go! text: Enjoy the adventures in level 5! @@ -467,7 +467,7 @@ levels: {if} day {is} monday total_price = total_price * 0.25 {print} 'That will be total_price please' - debug: true + debug: 'True' 10: header: Let's get to work! text: Enjoy the adventures in level 6! @@ -490,7 +490,7 @@ levels: header: Don't forget the print command text: When using the repeat command, do not forget the `{print}` command. code: '{repeat} 5 {times} ''Help!''' - debug: true + debug: 'True' 4: header: Repeat an ask command text: You can also repeat an `{ask}`, `{if}` or `{else}` command multiple times. @@ -512,7 +512,7 @@ levels: {if} yes {print} 'Hurray! {else} 'That's a shame... Oh well... time to build a shelter and find some food.' - debug: true + debug: 'True' 6: header: Ready Set Go! text: Enjoy the adventures in level 7! @@ -527,7 +527,7 @@ levels: You could only repeat one line of code. code: '{repeat} 5 {times} {print} ''Help!''' - debug: true + debug: 'True' 3: header: '{repeat} commands now' text: |- @@ -556,7 +556,7 @@ levels: code: |- {if} name {is} Hedy {print} 'nice' {else} {print} 'boo!' - debug: true + debug: 'True' 6: header: if and else now text: |- @@ -599,7 +599,7 @@ levels: {print} You chose a round trip ticket' price * 2 {print} 'That will be ' price ' euros please' - debug: true + debug: 'True' 10: header: Let's check out the adventures! text: Enjoy the adventures in level 8! @@ -691,7 +691,7 @@ levels: {else} {print} 'Fun!' {print} 'Thanks for filling in the safety questions everyone. Enjoy your jump!' - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 9! @@ -728,7 +728,7 @@ levels: {add} chosen_person {from} people {print} 'Come and watch our show tonight!' {print} 'Tickets are only available at the counter - debug: true + debug: 'True' 5: header: Time to program! text: Enjoy the adventures in level 10! @@ -765,7 +765,7 @@ levels: {repeat} {for} numbers {in} {range} 1 {to} 10 {times} {print} This is the table of multiplications for factor {print} number ' x ' factor ' = ' i * factor - debug: true + debug: 'True' 5: header: Let's start programming! text: Enjoy the adventures in level 11! @@ -830,7 +830,7 @@ levels: {call} new member {else} password = {ask} 'Please enter password' - debug: true + debug: 'True' 8: header: Ready to try it out? text: Enjoy the adventures in level 12! @@ -940,7 +940,7 @@ levels: {call} happiness {with} person {else} mood = sad {define} sadness {to} name - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 13! @@ -1022,7 +1022,7 @@ levels: {print} 'Shame.. I wont buy it' {else} {print} 'I will buy it! Thank you!' - debug: true + debug: 'True' 7: header: Let's get to work! text: Enjoy the adventures in level 14! @@ -1120,6 +1120,8 @@ levels: {print} 'Do you even know this person?!' debug: 'True' 4: + text: Enjoy the adventures in level 16! + header: Let's try it out! 17: 1: header: Welcome to level 17 @@ -1171,6 +1173,8 @@ levels: {sleep} debug: 'True' 5: + header: Let's try it out! + text: Enjoy the adventures in level 17! 18: 1: header: Welcome to level 18 diff --git a/content/slides/fr.yaml b/content/slides/fr.yaml index 38d2c11c976..a4e1644d851 100644 --- a/content/slides/fr.yaml +++ b/content/slides/fr.yaml @@ -1029,7 +1029,7 @@ levels: {print} 'Shame.. I wont buy it' {else} {print} 'I will buy it! Thank you!' - debug: true + debug: 'True' 7: header: Let's get to work! text: Enjoy the adventures in level 14! @@ -1127,6 +1127,8 @@ levels: {print} 'Do you even know this person?!' debug: 'True' 4: + text: Enjoy the adventures in level 16! + header: Let's try it out! 17: 1: header: Welcome to level 17 @@ -1178,6 +1180,8 @@ levels: {sleep} debug: 'True' 5: + header: Let's try it out! + text: Enjoy the adventures in level 17! 18: 1: header: Welcome to level 18 diff --git a/content/slides/fy.yaml b/content/slides/fy.yaml index 041f16037b5..fa5f0ab8d6b 100644 --- a/content/slides/fy.yaml +++ b/content/slides/fy.yaml @@ -121,7 +121,7 @@ levels: {print} What song would you like to hear? {ask} I like that song too! {print} Next up... {echo} - debug: true + debug: 'True' 13: header: Let the programming fun begin! text: Enjoy the adventures in level 1! @@ -190,7 +190,7 @@ levels: {print} I'll go get your donut. {sleep} {print} Here you go! A filling donut with toping! {ask} Have a nice day! - debug: true + debug: 'True' 8: header: Let the programming fun begin! text: Enjoy the adventures in level 2! @@ -255,7 +255,7 @@ levels: {print} or do you prefer... second_choice {at} {random} {remove} second_choice {to} music_genres {print} I like music_genre {random} best! - debug: true + debug: 'True' 8: header: Let's get to work! text: Enjoy the adventures in level 3! @@ -270,7 +270,7 @@ levels: code: |- name {is} Sophie {print} My name is name - debug: true + debug: 'True' 3: header: Fixing it with quotation marks text: |- @@ -308,7 +308,7 @@ levels: Please try to print a contraction like "you're" or "I'm" in the screen below and see what happens.... code: '{print} ''This won''t work!''' - debug: true + debug: 'True' 9: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -333,7 +333,7 @@ levels: colors {is} 'orange, silver, white, brown' {print} 'I love the colors {at} {random} one!' choice {is} {ask} Which one do you like? - debug: true + debug: 'True' 11: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -356,7 +356,7 @@ levels: When using the `{if}` command, don't forget to use the `{print}` command. This code will not work! code: '{if} name {is} Hedy ''nice''' - debug: true + debug: 'True' 4: header: else text: |- @@ -402,7 +402,7 @@ levels: item_to_declare {is} {ask} 'What would you like to declare' {else} Alright {print} Thank you. Please head to gate A22.' - debug: true + debug: 'True' 8: header: Let's go! text: Enjoy the adventures in level 5! @@ -467,7 +467,7 @@ levels: {if} day {is} monday total_price = total_price * 0.25 {print} 'That will be total_price please' - debug: true + debug: 'True' 10: header: Let's get to work! text: Enjoy the adventures in level 6! @@ -490,7 +490,7 @@ levels: header: Don't forget the print command text: When using the repeat command, do not forget the `{print}` command. code: '{repeat} 5 {times} ''Help!''' - debug: true + debug: 'True' 4: header: Repeat an ask command text: You can also repeat an `{ask}`, `{if}` or `{else}` command multiple times. @@ -512,7 +512,7 @@ levels: {if} yes {print} 'Hurray! {else} 'That's a shame... Oh well... time to build a shelter and find some food.' - debug: true + debug: 'True' 6: header: Ready Set Go! text: Enjoy the adventures in level 7! @@ -527,7 +527,7 @@ levels: You could only repeat one line of code. code: '{repeat} 5 {times} {print} ''Help!''' - debug: true + debug: 'True' 3: header: '{repeat} commands now' text: |- @@ -556,7 +556,7 @@ levels: code: |- {if} name {is} Hedy {print} 'nice' {else} {print} 'boo!' - debug: true + debug: 'True' 6: header: if and else now text: |- @@ -599,7 +599,7 @@ levels: {print} You chose a round trip ticket' price * 2 {print} 'That will be ' price ' euros please' - debug: true + debug: 'True' 10: header: Let's check out the adventures! text: Enjoy the adventures in level 8! @@ -691,7 +691,7 @@ levels: {else} {print} 'Fun!' {print} 'Thanks for filling in the safety questions everyone. Enjoy your jump!' - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 9! @@ -728,7 +728,7 @@ levels: {add} chosen_person {from} people {print} 'Come and watch our show tonight!' {print} 'Tickets are only available at the counter - debug: true + debug: 'True' 5: header: Time to program! text: Enjoy the adventures in level 10! @@ -765,7 +765,7 @@ levels: {repeat} {for} numbers {in} {range} 1 {to} 10 {times} {print} This is the table of multiplications for factor {print} number ' x ' factor ' = ' i * factor - debug: true + debug: 'True' 5: header: Let's start programming! text: Enjoy the adventures in level 11! @@ -830,7 +830,7 @@ levels: {call} new member {else} password = {ask} 'Please enter password' - debug: true + debug: 'True' 8: header: Ready to try it out? text: Enjoy the adventures in level 12! @@ -940,7 +940,7 @@ levels: {call} happiness {with} person {else} mood = sad {define} sadness {to} name - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 13! @@ -1022,7 +1022,7 @@ levels: {print} 'Shame.. I wont buy it' {else} {print} 'I will buy it! Thank you!' - debug: true + debug: 'True' 7: header: Let's get to work! text: Enjoy the adventures in level 14! @@ -1120,6 +1120,8 @@ levels: {print} 'Do you even know this person?!' debug: 'True' 4: + text: Enjoy the adventures in level 16! + header: Let's try it out! 17: 1: header: Welcome to level 17 @@ -1171,6 +1173,8 @@ levels: {sleep} debug: 'True' 5: + header: Let's try it out! + text: Enjoy the adventures in level 17! 18: 1: header: Welcome to level 18 diff --git a/content/slides/he.yaml b/content/slides/he.yaml index 041f16037b5..fa5f0ab8d6b 100644 --- a/content/slides/he.yaml +++ b/content/slides/he.yaml @@ -121,7 +121,7 @@ levels: {print} What song would you like to hear? {ask} I like that song too! {print} Next up... {echo} - debug: true + debug: 'True' 13: header: Let the programming fun begin! text: Enjoy the adventures in level 1! @@ -190,7 +190,7 @@ levels: {print} I'll go get your donut. {sleep} {print} Here you go! A filling donut with toping! {ask} Have a nice day! - debug: true + debug: 'True' 8: header: Let the programming fun begin! text: Enjoy the adventures in level 2! @@ -255,7 +255,7 @@ levels: {print} or do you prefer... second_choice {at} {random} {remove} second_choice {to} music_genres {print} I like music_genre {random} best! - debug: true + debug: 'True' 8: header: Let's get to work! text: Enjoy the adventures in level 3! @@ -270,7 +270,7 @@ levels: code: |- name {is} Sophie {print} My name is name - debug: true + debug: 'True' 3: header: Fixing it with quotation marks text: |- @@ -308,7 +308,7 @@ levels: Please try to print a contraction like "you're" or "I'm" in the screen below and see what happens.... code: '{print} ''This won''t work!''' - debug: true + debug: 'True' 9: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -333,7 +333,7 @@ levels: colors {is} 'orange, silver, white, brown' {print} 'I love the colors {at} {random} one!' choice {is} {ask} Which one do you like? - debug: true + debug: 'True' 11: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -356,7 +356,7 @@ levels: When using the `{if}` command, don't forget to use the `{print}` command. This code will not work! code: '{if} name {is} Hedy ''nice''' - debug: true + debug: 'True' 4: header: else text: |- @@ -402,7 +402,7 @@ levels: item_to_declare {is} {ask} 'What would you like to declare' {else} Alright {print} Thank you. Please head to gate A22.' - debug: true + debug: 'True' 8: header: Let's go! text: Enjoy the adventures in level 5! @@ -467,7 +467,7 @@ levels: {if} day {is} monday total_price = total_price * 0.25 {print} 'That will be total_price please' - debug: true + debug: 'True' 10: header: Let's get to work! text: Enjoy the adventures in level 6! @@ -490,7 +490,7 @@ levels: header: Don't forget the print command text: When using the repeat command, do not forget the `{print}` command. code: '{repeat} 5 {times} ''Help!''' - debug: true + debug: 'True' 4: header: Repeat an ask command text: You can also repeat an `{ask}`, `{if}` or `{else}` command multiple times. @@ -512,7 +512,7 @@ levels: {if} yes {print} 'Hurray! {else} 'That's a shame... Oh well... time to build a shelter and find some food.' - debug: true + debug: 'True' 6: header: Ready Set Go! text: Enjoy the adventures in level 7! @@ -527,7 +527,7 @@ levels: You could only repeat one line of code. code: '{repeat} 5 {times} {print} ''Help!''' - debug: true + debug: 'True' 3: header: '{repeat} commands now' text: |- @@ -556,7 +556,7 @@ levels: code: |- {if} name {is} Hedy {print} 'nice' {else} {print} 'boo!' - debug: true + debug: 'True' 6: header: if and else now text: |- @@ -599,7 +599,7 @@ levels: {print} You chose a round trip ticket' price * 2 {print} 'That will be ' price ' euros please' - debug: true + debug: 'True' 10: header: Let's check out the adventures! text: Enjoy the adventures in level 8! @@ -691,7 +691,7 @@ levels: {else} {print} 'Fun!' {print} 'Thanks for filling in the safety questions everyone. Enjoy your jump!' - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 9! @@ -728,7 +728,7 @@ levels: {add} chosen_person {from} people {print} 'Come and watch our show tonight!' {print} 'Tickets are only available at the counter - debug: true + debug: 'True' 5: header: Time to program! text: Enjoy the adventures in level 10! @@ -765,7 +765,7 @@ levels: {repeat} {for} numbers {in} {range} 1 {to} 10 {times} {print} This is the table of multiplications for factor {print} number ' x ' factor ' = ' i * factor - debug: true + debug: 'True' 5: header: Let's start programming! text: Enjoy the adventures in level 11! @@ -830,7 +830,7 @@ levels: {call} new member {else} password = {ask} 'Please enter password' - debug: true + debug: 'True' 8: header: Ready to try it out? text: Enjoy the adventures in level 12! @@ -940,7 +940,7 @@ levels: {call} happiness {with} person {else} mood = sad {define} sadness {to} name - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 13! @@ -1022,7 +1022,7 @@ levels: {print} 'Shame.. I wont buy it' {else} {print} 'I will buy it! Thank you!' - debug: true + debug: 'True' 7: header: Let's get to work! text: Enjoy the adventures in level 14! @@ -1120,6 +1120,8 @@ levels: {print} 'Do you even know this person?!' debug: 'True' 4: + text: Enjoy the adventures in level 16! + header: Let's try it out! 17: 1: header: Welcome to level 17 @@ -1171,6 +1173,8 @@ levels: {sleep} debug: 'True' 5: + header: Let's try it out! + text: Enjoy the adventures in level 17! 18: 1: header: Welcome to level 18 diff --git a/content/slides/hi.yaml b/content/slides/hi.yaml index a0d0a21b34b..9c401f0cab9 100644 --- a/content/slides/hi.yaml +++ b/content/slides/hi.yaml @@ -1120,6 +1120,8 @@ levels: {print} 'Do you even know this person?!' debug: 'True' 4: + text: Enjoy the adventures in level 16! + header: Let's try it out! 17: 1: header: Welcome to level 17 @@ -1171,6 +1173,8 @@ levels: {sleep} debug: 'True' 5: + header: Let's try it out! + text: Enjoy the adventures in level 17! 18: 1: header: Welcome to level 18 diff --git a/content/slides/hu.yaml b/content/slides/hu.yaml index ebc97c20f46..924bfc0aa1d 100644 --- a/content/slides/hu.yaml +++ b/content/slides/hu.yaml @@ -121,7 +121,7 @@ levels: {print} What song would you like to hear? {ask} I like that song too! {print} Next up... {echo} - debug: true + debug: 'True' 13: header: Let the programming fun begin! text: Enjoy the adventures in level 1! @@ -190,7 +190,7 @@ levels: {print} I'll go get your donut. {sleep} {print} Here you go! A filling donut with toping! {ask} Have a nice day! - debug: true + debug: 'True' 8: header: Let the programming fun begin! text: Enjoy the adventures in level 2! @@ -255,7 +255,7 @@ levels: {print} or do you prefer... second_choice {at} {random} {remove} second_choice {to} music_genres {print} I like music_genre {random} best! - debug: true + debug: 'True' 8: header: Let's get to work! text: Enjoy the adventures in level 3! @@ -270,7 +270,7 @@ levels: code: |- name {is} Sophie {print} My name is name - debug: true + debug: 'True' 3: header: Fixing it with quotation marks text: |- @@ -308,7 +308,7 @@ levels: Please try to print a contraction like "you're" or "I'm" in the screen below and see what happens.... code: '{print} ''This won''t work!''' - debug: true + debug: 'True' 9: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -333,7 +333,7 @@ levels: colors {is} 'orange, silver, white, brown' {print} 'I love the colors {at} {random} one!' choice {is} {ask} Which one do you like? - debug: true + debug: 'True' 11: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -356,7 +356,7 @@ levels: When using the `{if}` command, don't forget to use the `{print}` command. This code will not work! code: '{if} name {is} Hedy ''nice''' - debug: true + debug: 'True' 4: header: else text: |- @@ -402,7 +402,7 @@ levels: item_to_declare {is} {ask} 'What would you like to declare' {else} Alright {print} Thank you. Please head to gate A22.' - debug: true + debug: 'True' 8: header: Let's go! text: Enjoy the adventures in level 5! @@ -467,7 +467,7 @@ levels: {if} day {is} monday total_price = total_price * 0.25 {print} 'That will be total_price please' - debug: true + debug: 'True' 10: header: Let's get to work! text: Enjoy the adventures in level 6! @@ -490,7 +490,7 @@ levels: header: Don't forget the print command text: When using the repeat command, do not forget the `{print}` command. code: '{repeat} 5 {times} ''Help!''' - debug: true + debug: 'True' 4: header: Repeat an ask command text: You can also repeat an `{ask}`, `{if}` or `{else}` command multiple times. @@ -512,7 +512,7 @@ levels: {if} yes {print} 'Hurray! {else} 'That's a shame... Oh well... time to build a shelter and find some food.' - debug: true + debug: 'True' 6: header: Ready Set Go! text: Enjoy the adventures in level 7! @@ -527,7 +527,7 @@ levels: You could only repeat one line of code. code: '{repeat} 5 {times} {print} ''Help!''' - debug: true + debug: 'True' 3: header: '{repeat} commands now' text: |- @@ -556,7 +556,7 @@ levels: code: |- {if} name {is} Hedy {print} 'nice' {else} {print} 'boo!' - debug: true + debug: 'True' 6: header: if and else now text: |- @@ -599,7 +599,7 @@ levels: {print} You chose a round trip ticket' price * 2 {print} 'That will be ' price ' euros please' - debug: true + debug: 'True' 10: header: Let's check out the adventures! text: Enjoy the adventures in level 8! @@ -691,7 +691,7 @@ levels: {else} {print} 'Fun!' {print} 'Thanks for filling in the safety questions everyone. Enjoy your jump!' - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 9! @@ -728,7 +728,7 @@ levels: {add} chosen_person {from} people {print} 'Come and watch our show tonight!' {print} 'Tickets are only available at the counter - debug: true + debug: 'True' 5: header: Time to program! text: Enjoy the adventures in level 10! @@ -765,7 +765,7 @@ levels: {repeat} {for} numbers {in} {range} 1 {to} 10 {times} {print} This is the table of multiplications for factor {print} number ' x ' factor ' = ' i * factor - debug: true + debug: 'True' 5: header: Let's start programming! text: Enjoy the adventures in level 11! @@ -830,7 +830,7 @@ levels: {call} new member {else} password = {ask} 'Please enter password' - debug: true + debug: 'True' 8: header: Ready to try it out? text: Enjoy the adventures in level 12! @@ -940,7 +940,7 @@ levels: {call} happiness {with} person {else} mood = sad {define} sadness {to} name - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 13! @@ -1022,7 +1022,7 @@ levels: {print} 'Shame.. I wont buy it' {else} {print} 'I will buy it! Thank you!' - debug: true + debug: 'True' 7: header: Let's get to work! text: Enjoy the adventures in level 14! @@ -1120,6 +1120,8 @@ levels: {print} 'Do you even know this person?!' debug: 'True' 4: + text: Enjoy the adventures in level 16! + header: Let's try it out! 17: 1: header: Welcome to level 17 @@ -1171,6 +1173,8 @@ levels: {sleep} debug: 'True' 5: + header: Let's try it out! + text: Enjoy the adventures in level 17! 18: 1: header: Welcome to level 18 diff --git a/content/slides/ia.yaml b/content/slides/ia.yaml index 1bd47e90838..4db210368e2 100644 --- a/content/slides/ia.yaml +++ b/content/slides/ia.yaml @@ -1128,6 +1128,8 @@ levels: {print} 'Do you even know this person?!' debug: 'True' 4: + text: Enjoy the adventures in level 16! + header: Let's try it out! 17: 1: header: Welcome to level 17 @@ -1179,6 +1181,8 @@ levels: {sleep} debug: 'True' 5: + header: Let's try it out! + text: Enjoy the adventures in level 17! 18: 1: header: Welcome to level 18 diff --git a/content/slides/it.yaml b/content/slides/it.yaml index 5a8c8ee09fa..127a48b11e5 100644 --- a/content/slides/it.yaml +++ b/content/slides/it.yaml @@ -1124,6 +1124,8 @@ levels: {print} 'Do you even know this person?!' debug: 'True' 4: + text: Enjoy the adventures in level 16! + header: Let's try it out! 17: 1: header: Welcome to level 17 @@ -1175,6 +1177,8 @@ levels: {sleep} debug: 'True' 5: + header: Let's try it out! + text: Enjoy the adventures in level 17! 18: 1: header: Welcome to level 18 diff --git a/content/slides/ja.yaml b/content/slides/ja.yaml index 432f5437985..e1ccd60adaa 100644 --- a/content/slides/ja.yaml +++ b/content/slides/ja.yaml @@ -121,7 +121,7 @@ levels: {print} What song would you like to hear? {ask} I like that song too! {print} Next up... {echo} - debug: true + debug: 'True' 13: header: Let the programming fun begin! text: Enjoy the adventures in level 1! @@ -190,7 +190,7 @@ levels: {print} I'll go get your donut. {sleep} {print} Here you go! A filling donut with toping! {ask} Have a nice day! - debug: true + debug: 'True' 8: header: Let the programming fun begin! text: Enjoy the adventures in level 2! @@ -255,7 +255,7 @@ levels: {print} or do you prefer... second_choice {at} {random} {remove} second_choice {to} music_genres {print} I like music_genre {random} best! - debug: true + debug: 'True' 8: header: Let's get to work! text: Enjoy the adventures in level 3! @@ -270,7 +270,7 @@ levels: code: |- name {is} Sophie {print} My name is name - debug: true + debug: 'True' 3: header: Fixing it with quotation marks text: |- @@ -308,7 +308,7 @@ levels: Please try to print a contraction like "you're" or "I'm" in the screen below and see what happens.... code: '{print} ''This won''t work!''' - debug: true + debug: 'True' 9: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -333,7 +333,7 @@ levels: colors {is} 'orange, silver, white, brown' {print} 'I love the colors {at} {random} one!' choice {is} {ask} Which one do you like? - debug: true + debug: 'True' 11: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -356,7 +356,7 @@ levels: When using the `{if}` command, don't forget to use the `{print}` command. This code will not work! code: '{if} name {is} Hedy ''nice''' - debug: true + debug: 'True' 4: header: else text: |- @@ -402,7 +402,7 @@ levels: item_to_declare {is} {ask} 'What would you like to declare' {else} Alright {print} Thank you. Please head to gate A22.' - debug: true + debug: 'True' 8: header: Let's go! text: Enjoy the adventures in level 5! @@ -467,7 +467,7 @@ levels: {if} day {is} monday total_price = total_price * 0.25 {print} 'That will be total_price please' - debug: true + debug: 'True' 10: header: Let's get to work! text: Enjoy the adventures in level 6! @@ -490,7 +490,7 @@ levels: header: Don't forget the print command text: When using the repeat command, do not forget the `{print}` command. code: '{repeat} 5 {times} ''Help!''' - debug: true + debug: 'True' 4: header: Repeat an ask command text: You can also repeat an `{ask}`, `{if}` or `{else}` command multiple times. @@ -512,7 +512,7 @@ levels: {if} yes {print} 'Hurray! {else} 'That's a shame... Oh well... time to build a shelter and find some food.' - debug: true + debug: 'True' 6: header: Ready Set Go! text: Enjoy the adventures in level 7! @@ -527,7 +527,7 @@ levels: You could only repeat one line of code. code: '{repeat} 5 {times} {print} ''Help!''' - debug: true + debug: 'True' 3: header: '{repeat} commands now' text: |- @@ -556,7 +556,7 @@ levels: code: |- {if} name {is} Hedy {print} 'nice' {else} {print} 'boo!' - debug: true + debug: 'True' 6: header: if and else now text: |- @@ -599,7 +599,7 @@ levels: {print} You chose a round trip ticket' price * 2 {print} 'That will be ' price ' euros please' - debug: true + debug: 'True' 10: header: Let's check out the adventures! text: Enjoy the adventures in level 8! @@ -691,7 +691,7 @@ levels: {else} {print} 'Fun!' {print} 'Thanks for filling in the safety questions everyone. Enjoy your jump!' - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 9! @@ -728,7 +728,7 @@ levels: {add} chosen_person {from} people {print} 'Come and watch our show tonight!' {print} 'Tickets are only available at the counter - debug: true + debug: 'True' 5: header: Time to program! text: Enjoy the adventures in level 10! @@ -765,7 +765,7 @@ levels: {repeat} {for} numbers {in} {range} 1 {to} 10 {times} {print} This is the table of multiplications for factor {print} number ' x ' factor ' = ' i * factor - debug: true + debug: 'True' 5: header: Let's start programming! text: Enjoy the adventures in level 11! @@ -830,7 +830,7 @@ levels: {call} new member {else} password = {ask} 'Please enter password' - debug: true + debug: 'True' 8: header: Ready to try it out? text: Enjoy the adventures in level 12! @@ -940,7 +940,7 @@ levels: {call} happiness {with} person {else} mood = sad {define} sadness {to} name - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 13! @@ -1022,7 +1022,7 @@ levels: {print} 'Shame.. I wont buy it' {else} {print} 'I will buy it! Thank you!' - debug: true + debug: 'True' 7: header: Let's get to work! text: Enjoy the adventures in level 14! @@ -1120,6 +1120,8 @@ levels: {print} 'Do you even know this person?!' debug: 'True' 4: + text: Enjoy the adventures in level 16! + header: Let's try it out! 17: 1: header: Welcome to level 17 @@ -1171,6 +1173,8 @@ levels: {sleep} debug: 'True' 5: + header: Let's try it out! + text: Enjoy the adventures in level 17! 18: 1: header: Welcome to level 18 diff --git a/content/slides/kmr.yaml b/content/slides/kmr.yaml index d5c2a6a0e29..36f4b394f20 100644 --- a/content/slides/kmr.yaml +++ b/content/slides/kmr.yaml @@ -121,7 +121,7 @@ levels: {print} What song would you like to hear? {ask} I like that song too! {print} Next up... {echo} - debug: true + debug: 'True' 13: header: Let the programming fun begin! text: Enjoy the adventures in level 1! @@ -190,7 +190,7 @@ levels: {print} I'll go get your donut. {sleep} {print} Here you go! A filling donut with toping! {ask} Have a nice day! - debug: true + debug: 'True' 8: header: Let the programming fun begin! text: Enjoy the adventures in level 2! @@ -253,7 +253,7 @@ levels: {print} or do you prefer... second_choice {at} {random} {remove} second_choice {to} music_genres {print} I like music_genre {random} best! - debug: true + debug: 'True' 8: header: Let's get to work! text: Enjoy the adventures in level 3! @@ -268,7 +268,7 @@ levels: code: |- name {is} Sophie {print} My name is name - debug: true + debug: 'True' 3: header: Fixing it with quotation marks text: |- @@ -306,7 +306,7 @@ levels: Please try to print a contraction like "you're" or "I'm" in the screen below and see what happens.... code: '{print} ''This won''t work!''' - debug: true + debug: 'True' 9: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -331,7 +331,7 @@ levels: colors {is} 'orange, silver, white, brown' {print} 'I love the colors {at} {random} one!' choice {is} {ask} Which one do you like? - debug: true + debug: 'True' 11: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -354,7 +354,7 @@ levels: When using the `{if}` command, don't forget to use the `{print}` command. This code will not work! code: '{if} name {is} Hedy ''nice''' - debug: true + debug: 'True' 4: header: else text: |- @@ -400,7 +400,7 @@ levels: item_to_declare {is} {ask} 'What would you like to declare' {else} Alright {print} Thank you. Please head to gate A22.' - debug: true + debug: 'True' 8: header: Let's go! text: Enjoy the adventures in level 5! @@ -465,7 +465,7 @@ levels: {if} day {is} monday total_price = total_price * 0.25 {print} 'That will be total_price please' - debug: true + debug: 'True' 10: header: Let's get to work! text: Enjoy the adventures in level 6! @@ -488,7 +488,7 @@ levels: header: Don't forget the print command text: When using the repeat command, do not forget the `{print}` command. code: '{repeat} 5 {times} ''Help!''' - debug: true + debug: 'True' 4: header: Repeat an ask command text: You can also repeat an `{ask}`, `{if}` or `{else}` command multiple times. @@ -510,7 +510,7 @@ levels: {if} yes {print} 'Hurray! {else} 'That's a shame... Oh well... time to build a shelter and find some food.' - debug: true + debug: 'True' 6: header: Ready Set Go! text: Enjoy the adventures in level 7! @@ -525,7 +525,7 @@ levels: You could only repeat one line of code. code: '{repeat} 5 {times} {print} ''Help!''' - debug: true + debug: 'True' 3: header: '{repeat} commands now' text: |- @@ -554,7 +554,7 @@ levels: code: |- {if} name {is} Hedy {print} 'nice' {else} {print} 'boo!' - debug: true + debug: 'True' 6: header: if and else now text: |- @@ -597,7 +597,7 @@ levels: {print} You chose a round trip ticket' price * 2 {print} 'That will be ' price ' euros please' - debug: true + debug: 'True' 10: header: Let's check out the adventures! text: Enjoy the adventures in level 8! @@ -689,7 +689,7 @@ levels: {else} {print} 'Fun!' {print} 'Thanks for filling in the safety questions everyone. Enjoy your jump!' - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 9! @@ -726,7 +726,7 @@ levels: {add} chosen_person {from} people {print} 'Come and watch our show tonight!' {print} 'Tickets are only available at the counter - debug: true + debug: 'True' 5: header: Time to program! text: Enjoy the adventures in level 10! @@ -763,7 +763,7 @@ levels: {repeat} {for} numbers {in} {range} 1 {to} 10 {times} {print} This is the table of multiplications for factor {print} number ' x ' factor ' = ' i * factor - debug: true + debug: 'True' 5: header: Let's start programming! text: Enjoy the adventures in level 11! @@ -828,7 +828,7 @@ levels: {call} new member {else} password = {ask} 'Please enter password' - debug: true + debug: 'True' 8: header: Ready to try it out? text: Enjoy the adventures in level 12! @@ -938,7 +938,7 @@ levels: {call} happiness {with} person {else} mood = sad {define} sadness {to} name - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 13! @@ -1020,7 +1020,7 @@ levels: {print} 'Shame.. I wont buy it' {else} {print} 'I will buy it! Thank you!' - debug: true + debug: 'True' 7: header: Let's get to work! text: Enjoy the adventures in level 14! @@ -1118,6 +1118,8 @@ levels: {print} 'Do you even know this person?!' debug: 'True' 4: + text: Enjoy the adventures in level 16! + header: Let's try it out! 17: 1: header: Welcome to level 17 @@ -1169,6 +1171,8 @@ levels: {sleep} debug: 'True' 5: + header: Let's try it out! + text: Enjoy the adventures in level 17! 18: 1: header: Welcome to level 18 diff --git a/content/slides/mi.yaml b/content/slides/mi.yaml index c8fccba9a22..2304a829087 100644 --- a/content/slides/mi.yaml +++ b/content/slides/mi.yaml @@ -127,7 +127,7 @@ levels: {print} What song would you like to hear? {ask} I like that song too! {print} Next up... {echo} - debug: true + debug: 'True' 13: header: Let the programming fun begin! text: Enjoy the adventures in level 1! @@ -196,7 +196,7 @@ levels: {print} I'll go get your donut. {sleep} {print} Here you go! A filling donut with toping! {ask} Have a nice day! - debug: true + debug: 'True' 8: header: Let the programming fun begin! text: Enjoy the adventures in level 2! @@ -261,7 +261,7 @@ levels: {print} or do you prefer... second_choice {at} {random} {remove} second_choice {to} music_genres {print} I like music_genre {random} best! - debug: true + debug: 'True' 8: header: Let's get to work! text: Enjoy the adventures in level 3! @@ -276,7 +276,7 @@ levels: code: |- name {is} Sophie {print} My name is name - debug: true + debug: 'True' 3: header: Fixing it with quotation marks text: |- @@ -314,7 +314,7 @@ levels: Please try to print a contraction like "you're" or "I'm" in the screen below and see what happens.... code: '{print} ''This won''t work!''' - debug: true + debug: 'True' 9: header: Clear text: |- @@ -343,7 +343,7 @@ levels: colors {is} 'orange, silver, white, brown' {print} 'I love the colors {at} {random} one!' choice {is} {ask} Which one do you like? - debug: true + debug: 'True' 11: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -366,7 +366,7 @@ levels: When using the `{if}` command, don't forget to use the `{print}` command. This code will not work! code: '{if} name {is} Hedy ''nice''' - debug: true + debug: 'True' 4: header: else text: |- @@ -412,7 +412,7 @@ levels: item_to_declare {is} {ask} 'What would you like to declare' {else} Alright {print} Thank you. Please head to gate A22.' - debug: true + debug: 'True' 8: header: Let's go! text: Enjoy the adventures in level 5! @@ -477,7 +477,7 @@ levels: {if} day {is} monday total_price = total_price * 0.25 {print} 'That will be total_price please' - debug: true + debug: 'True' 10: header: Let's get to work! text: Enjoy the adventures in level 6! @@ -500,7 +500,7 @@ levels: header: Don't forget the print command text: When using the repeat command, do not forget the `{print}` command. code: '{repeat} 5 {times} ''Help!''' - debug: true + debug: 'True' 4: header: Repeat an ask command text: You can also repeat an `{ask}`, `{if}` or `{else}` command multiple times. @@ -522,7 +522,7 @@ levels: {if} yes {print} 'Hurray! {else} 'That's a shame... Oh well... time to build a shelter and find some food.' - debug: true + debug: 'True' 6: header: Ready Set Go! text: Enjoy the adventures in level 7! @@ -537,7 +537,7 @@ levels: You could only repeat one line of code. code: '{repeat} 5 {times} {print} ''Help!''' - debug: true + debug: 'True' 3: header: '{repeat} commands now' text: |- @@ -566,7 +566,7 @@ levels: code: |- {if} name {is} Hedy {print} 'nice' {else} {print} 'boo!' - debug: true + debug: 'True' 6: header: if and else now text: |- @@ -609,7 +609,7 @@ levels: {print} You chose a round trip ticket' price * 2 {print} 'That will be ' price ' euros please' - debug: true + debug: 'True' 10: header: Let's check out the adventures! text: Enjoy the adventures in level 8! @@ -701,7 +701,7 @@ levels: {else} {print} 'Fun!' {print} 'Thanks for filling in the safety questions everyone. Enjoy your jump!' - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 9! @@ -738,7 +738,7 @@ levels: {add} chosen_person {from} people {print} 'Come and watch our show tonight!' {print} 'Tickets are only available at the counter - debug: true + debug: 'True' 5: header: Time to program! text: Enjoy the adventures in level 10! @@ -775,7 +775,7 @@ levels: {repeat} {for} numbers {in} {range} 1 {to} 10 {times} {print} This is the table of multiplications for factor {print} number ' x ' factor ' = ' i * factor - debug: true + debug: 'True' 5: header: Let's start programming! text: Enjoy the adventures in level 11! @@ -840,7 +840,7 @@ levels: {call} new member {else} password = {ask} 'Please enter password' - debug: true + debug: 'True' 8: header: Ready to try it out? text: Enjoy the adventures in level 12! @@ -950,7 +950,7 @@ levels: {call} happiness {with} person {else} mood = sad {define} sadness {to} name - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 13! @@ -1032,7 +1032,7 @@ levels: {print} 'Shame.. I wont buy it' {else} {print} 'I will buy it! Thank you!' - debug: true + debug: 'True' 7: header: Let's get to work! text: Enjoy the adventures in level 14! @@ -1130,6 +1130,8 @@ levels: {print} 'Do you even know this person?!' debug: 'True' 4: + text: Enjoy the adventures in level 16! + header: Let's try it out! 17: 1: header: Welcome to level 17 @@ -1181,6 +1183,8 @@ levels: {sleep} debug: 'True' 5: + header: Let's try it out! + text: Enjoy the adventures in level 17! 18: 1: header: Welcome to level 18 diff --git a/content/slides/nb_NO.yaml b/content/slides/nb_NO.yaml index 03837893d73..b5b2646c820 100644 --- a/content/slides/nb_NO.yaml +++ b/content/slides/nb_NO.yaml @@ -1122,6 +1122,8 @@ levels: {print} 'Do you even know this person?!' debug: 'True' 4: + text: Enjoy the adventures in level 16! + header: Let's try it out! 17: 1: header: Welcome to level 17 @@ -1173,6 +1175,8 @@ levels: {sleep} debug: 'True' 5: + header: Let's try it out! + text: Enjoy the adventures in level 17! 18: 1: header: Welcome to level 18 diff --git a/content/slides/nl.yaml b/content/slides/nl.yaml index df690ec4836..504ab94ba59 100644 --- a/content/slides/nl.yaml +++ b/content/slides/nl.yaml @@ -98,7 +98,7 @@ levels: editor: /hedy/1 7: header: Programmeren maar! - text: Je kan de gele knopjes gebruiken om voorbeeldcodes te kopiëren. + text: Avonturen worden in tabjes getoond. editor: /hedy#print_command 8: header: Programmeren! diff --git a/content/slides/pa_PK.yaml b/content/slides/pa_PK.yaml index 041f16037b5..93034dd498b 100644 --- a/content/slides/pa_PK.yaml +++ b/content/slides/pa_PK.yaml @@ -121,7 +121,7 @@ levels: {print} What song would you like to hear? {ask} I like that song too! {print} Next up... {echo} - debug: true + debug: 'True' 13: header: Let the programming fun begin! text: Enjoy the adventures in level 1! @@ -190,7 +190,7 @@ levels: {print} I'll go get your donut. {sleep} {print} Here you go! A filling donut with toping! {ask} Have a nice day! - debug: true + debug: 'True' 8: header: Let the programming fun begin! text: Enjoy the adventures in level 2! @@ -255,7 +255,7 @@ levels: {print} or do you prefer... second_choice {at} {random} {remove} second_choice {to} music_genres {print} I like music_genre {random} best! - debug: true + debug: 'True' 8: header: Let's get to work! text: Enjoy the adventures in level 3! @@ -270,7 +270,7 @@ levels: code: |- name {is} Sophie {print} My name is name - debug: true + debug: 'True' 3: header: Fixing it with quotation marks text: |- @@ -308,7 +308,7 @@ levels: Please try to print a contraction like "you're" or "I'm" in the screen below and see what happens.... code: '{print} ''This won''t work!''' - debug: true + debug: 'True' 9: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -333,7 +333,7 @@ levels: colors {is} 'orange, silver, white, brown' {print} 'I love the colors {at} {random} one!' choice {is} {ask} Which one do you like? - debug: true + debug: 'True' 11: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -356,7 +356,7 @@ levels: When using the `{if}` command, don't forget to use the `{print}` command. This code will not work! code: '{if} name {is} Hedy ''nice''' - debug: true + debug: 'True' 4: header: else text: |- @@ -402,7 +402,7 @@ levels: item_to_declare {is} {ask} 'What would you like to declare' {else} Alright {print} Thank you. Please head to gate A22.' - debug: true + debug: 'True' 8: header: Let's go! text: Enjoy the adventures in level 5! @@ -467,7 +467,7 @@ levels: {if} day {is} monday total_price = total_price * 0.25 {print} 'That will be total_price please' - debug: true + debug: 'True' 10: header: Let's get to work! text: Enjoy the adventures in level 6! @@ -490,7 +490,7 @@ levels: header: Don't forget the print command text: When using the repeat command, do not forget the `{print}` command. code: '{repeat} 5 {times} ''Help!''' - debug: true + debug: 'True' 4: header: Repeat an ask command text: You can also repeat an `{ask}`, `{if}` or `{else}` command multiple times. @@ -512,7 +512,7 @@ levels: {if} yes {print} 'Hurray! {else} 'That's a shame... Oh well... time to build a shelter and find some food.' - debug: true + debug: 'True' 6: header: Ready Set Go! text: Enjoy the adventures in level 7! @@ -527,7 +527,7 @@ levels: You could only repeat one line of code. code: '{repeat} 5 {times} {print} ''Help!''' - debug: true + debug: 'True' 3: header: '{repeat} commands now' text: |- @@ -556,7 +556,7 @@ levels: code: |- {if} name {is} Hedy {print} 'nice' {else} {print} 'boo!' - debug: true + debug: 'True' 6: header: if and else now text: |- @@ -599,7 +599,7 @@ levels: {print} You chose a round trip ticket' price * 2 {print} 'That will be ' price ' euros please' - debug: true + debug: 'True' 10: header: Let's check out the adventures! text: Enjoy the adventures in level 8! @@ -691,7 +691,7 @@ levels: {else} {print} 'Fun!' {print} 'Thanks for filling in the safety questions everyone. Enjoy your jump!' - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 9! @@ -728,7 +728,7 @@ levels: {add} chosen_person {from} people {print} 'Come and watch our show tonight!' {print} 'Tickets are only available at the counter - debug: true + debug: 'True' 5: header: Time to program! text: Enjoy the adventures in level 10! @@ -765,7 +765,7 @@ levels: {repeat} {for} numbers {in} {range} 1 {to} 10 {times} {print} This is the table of multiplications for factor {print} number ' x ' factor ' = ' i * factor - debug: true + debug: 'True' 5: header: Let's start programming! text: Enjoy the adventures in level 11! @@ -830,7 +830,7 @@ levels: {call} new member {else} password = {ask} 'Please enter password' - debug: true + debug: 'True' 8: header: Ready to try it out? text: Enjoy the adventures in level 12! @@ -940,7 +940,7 @@ levels: {call} happiness {with} person {else} mood = sad {define} sadness {to} name - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 13! @@ -1022,7 +1022,7 @@ levels: {print} 'Shame.. I wont buy it' {else} {print} 'I will buy it! Thank you!' - debug: true + debug: 'True' 7: header: Let's get to work! text: Enjoy the adventures in level 14! @@ -1120,6 +1120,8 @@ levels: {print} 'Do you even know this person?!' debug: 'True' 4: + header: Let's try it out! + text: Enjoy the adventures in level 16! 17: 1: header: Welcome to level 17 @@ -1171,6 +1173,8 @@ levels: {sleep} debug: 'True' 5: + header: Let's try it out! + text: Enjoy the adventures in level 17! 18: 1: header: Welcome to level 18 diff --git a/content/slides/pap.yaml b/content/slides/pap.yaml index c8fccba9a22..2304a829087 100644 --- a/content/slides/pap.yaml +++ b/content/slides/pap.yaml @@ -127,7 +127,7 @@ levels: {print} What song would you like to hear? {ask} I like that song too! {print} Next up... {echo} - debug: true + debug: 'True' 13: header: Let the programming fun begin! text: Enjoy the adventures in level 1! @@ -196,7 +196,7 @@ levels: {print} I'll go get your donut. {sleep} {print} Here you go! A filling donut with toping! {ask} Have a nice day! - debug: true + debug: 'True' 8: header: Let the programming fun begin! text: Enjoy the adventures in level 2! @@ -261,7 +261,7 @@ levels: {print} or do you prefer... second_choice {at} {random} {remove} second_choice {to} music_genres {print} I like music_genre {random} best! - debug: true + debug: 'True' 8: header: Let's get to work! text: Enjoy the adventures in level 3! @@ -276,7 +276,7 @@ levels: code: |- name {is} Sophie {print} My name is name - debug: true + debug: 'True' 3: header: Fixing it with quotation marks text: |- @@ -314,7 +314,7 @@ levels: Please try to print a contraction like "you're" or "I'm" in the screen below and see what happens.... code: '{print} ''This won''t work!''' - debug: true + debug: 'True' 9: header: Clear text: |- @@ -343,7 +343,7 @@ levels: colors {is} 'orange, silver, white, brown' {print} 'I love the colors {at} {random} one!' choice {is} {ask} Which one do you like? - debug: true + debug: 'True' 11: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -366,7 +366,7 @@ levels: When using the `{if}` command, don't forget to use the `{print}` command. This code will not work! code: '{if} name {is} Hedy ''nice''' - debug: true + debug: 'True' 4: header: else text: |- @@ -412,7 +412,7 @@ levels: item_to_declare {is} {ask} 'What would you like to declare' {else} Alright {print} Thank you. Please head to gate A22.' - debug: true + debug: 'True' 8: header: Let's go! text: Enjoy the adventures in level 5! @@ -477,7 +477,7 @@ levels: {if} day {is} monday total_price = total_price * 0.25 {print} 'That will be total_price please' - debug: true + debug: 'True' 10: header: Let's get to work! text: Enjoy the adventures in level 6! @@ -500,7 +500,7 @@ levels: header: Don't forget the print command text: When using the repeat command, do not forget the `{print}` command. code: '{repeat} 5 {times} ''Help!''' - debug: true + debug: 'True' 4: header: Repeat an ask command text: You can also repeat an `{ask}`, `{if}` or `{else}` command multiple times. @@ -522,7 +522,7 @@ levels: {if} yes {print} 'Hurray! {else} 'That's a shame... Oh well... time to build a shelter and find some food.' - debug: true + debug: 'True' 6: header: Ready Set Go! text: Enjoy the adventures in level 7! @@ -537,7 +537,7 @@ levels: You could only repeat one line of code. code: '{repeat} 5 {times} {print} ''Help!''' - debug: true + debug: 'True' 3: header: '{repeat} commands now' text: |- @@ -566,7 +566,7 @@ levels: code: |- {if} name {is} Hedy {print} 'nice' {else} {print} 'boo!' - debug: true + debug: 'True' 6: header: if and else now text: |- @@ -609,7 +609,7 @@ levels: {print} You chose a round trip ticket' price * 2 {print} 'That will be ' price ' euros please' - debug: true + debug: 'True' 10: header: Let's check out the adventures! text: Enjoy the adventures in level 8! @@ -701,7 +701,7 @@ levels: {else} {print} 'Fun!' {print} 'Thanks for filling in the safety questions everyone. Enjoy your jump!' - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 9! @@ -738,7 +738,7 @@ levels: {add} chosen_person {from} people {print} 'Come and watch our show tonight!' {print} 'Tickets are only available at the counter - debug: true + debug: 'True' 5: header: Time to program! text: Enjoy the adventures in level 10! @@ -775,7 +775,7 @@ levels: {repeat} {for} numbers {in} {range} 1 {to} 10 {times} {print} This is the table of multiplications for factor {print} number ' x ' factor ' = ' i * factor - debug: true + debug: 'True' 5: header: Let's start programming! text: Enjoy the adventures in level 11! @@ -840,7 +840,7 @@ levels: {call} new member {else} password = {ask} 'Please enter password' - debug: true + debug: 'True' 8: header: Ready to try it out? text: Enjoy the adventures in level 12! @@ -950,7 +950,7 @@ levels: {call} happiness {with} person {else} mood = sad {define} sadness {to} name - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 13! @@ -1032,7 +1032,7 @@ levels: {print} 'Shame.. I wont buy it' {else} {print} 'I will buy it! Thank you!' - debug: true + debug: 'True' 7: header: Let's get to work! text: Enjoy the adventures in level 14! @@ -1130,6 +1130,8 @@ levels: {print} 'Do you even know this person?!' debug: 'True' 4: + text: Enjoy the adventures in level 16! + header: Let's try it out! 17: 1: header: Welcome to level 17 @@ -1181,6 +1183,8 @@ levels: {sleep} debug: 'True' 5: + header: Let's try it out! + text: Enjoy the adventures in level 17! 18: 1: header: Welcome to level 18 diff --git a/content/slides/pl.yaml b/content/slides/pl.yaml index 0b697b00785..edd8dcaae77 100644 --- a/content/slides/pl.yaml +++ b/content/slides/pl.yaml @@ -127,7 +127,7 @@ levels: {print} What song would you like to hear? {ask} I like that song too! {print} Next up... {echo} - debug: true + debug: 'True' 13: header: Let the programming fun begin! text: Enjoy the adventures in level 1! @@ -196,7 +196,7 @@ levels: {print} I'll go get your donut. {sleep} {print} Here you go! A filling donut with toping! {ask} Have a nice day! - debug: true + debug: 'True' 8: header: Let the programming fun begin! text: Enjoy the adventures in level 2! @@ -261,7 +261,7 @@ levels: {print} or do you prefer... second_choice {at} {random} {remove} second_choice {to} music_genres {print} I like music_genre {random} best! - debug: true + debug: 'True' 8: header: Let's get to work! text: Enjoy the adventures in level 3! @@ -276,7 +276,7 @@ levels: code: |- name {is} Sophie {print} My name is name - debug: true + debug: 'True' 3: header: Fixing it with quotation marks text: |- @@ -314,7 +314,7 @@ levels: Please try to print a contraction like "you're" or "I'm" in the screen below and see what happens.... code: '{print} ''This won''t work!''' - debug: true + debug: 'True' 9: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -339,7 +339,7 @@ levels: colors {is} 'orange, silver, white, brown' {print} 'I love the colors {at} {random} one!' choice {is} {ask} Which one do you like? - debug: true + debug: 'True' 11: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -362,7 +362,7 @@ levels: When using the `{if}` command, don't forget to use the `{print}` command. This code will not work! code: '{if} name {is} Hedy ''nice''' - debug: true + debug: 'True' 4: header: else text: |- @@ -408,7 +408,7 @@ levels: item_to_declare {is} {ask} 'What would you like to declare' {else} Alright {print} Thank you. Please head to gate A22.' - debug: true + debug: 'True' 8: header: Let's go! text: Enjoy the adventures in level 5! @@ -473,7 +473,7 @@ levels: {if} day {is} monday total_price = total_price * 0.25 {print} 'That will be total_price please' - debug: true + debug: 'True' 10: header: Let's get to work! text: Enjoy the adventures in level 6! @@ -496,7 +496,7 @@ levels: header: Don't forget the print command text: When using the repeat command, do not forget the `{print}` command. code: '{repeat} 5 {times} ''Help!''' - debug: true + debug: 'True' 4: header: Repeat an ask command text: You can also repeat an `{ask}`, `{if}` or `{else}` command multiple times. @@ -518,7 +518,7 @@ levels: {if} yes {print} 'Hurray! {else} 'That's a shame... Oh well... time to build a shelter and find some food.' - debug: true + debug: 'True' 6: header: Ready Set Go! text: Enjoy the adventures in level 7! @@ -533,7 +533,7 @@ levels: You could only repeat one line of code. code: '{repeat} 5 {times} {print} ''Help!''' - debug: true + debug: 'True' 3: header: '{repeat} commands now' text: |- @@ -562,7 +562,7 @@ levels: code: |- {if} name {is} Hedy {print} 'nice' {else} {print} 'boo!' - debug: true + debug: 'True' 6: header: if and else now text: |- @@ -605,7 +605,7 @@ levels: {print} You chose a round trip ticket' price * 2 {print} 'That will be ' price ' euros please' - debug: true + debug: 'True' 10: header: Let's check out the adventures! text: Enjoy the adventures in level 8! @@ -697,7 +697,7 @@ levels: {else} {print} 'Fun!' {print} 'Thanks for filling in the safety questions everyone. Enjoy your jump!' - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 9! @@ -734,7 +734,7 @@ levels: {add} chosen_person {from} people {print} 'Come and watch our show tonight!' {print} 'Tickets are only available at the counter - debug: true + debug: 'True' 5: header: Time to program! text: Enjoy the adventures in level 10! @@ -771,7 +771,7 @@ levels: {repeat} {for} numbers {in} {range} 1 {to} 10 {times} {print} This is the table of multiplications for factor {print} number ' x ' factor ' = ' i * factor - debug: true + debug: 'True' 5: header: Let's start programming! text: Enjoy the adventures in level 11! @@ -836,7 +836,7 @@ levels: {call} new member {else} password = {ask} 'Please enter password' - debug: true + debug: 'True' 8: header: Ready to try it out? text: Enjoy the adventures in level 12! @@ -946,7 +946,7 @@ levels: {call} happiness {with} person {else} mood = sad {define} sadness {to} name - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 13! @@ -1028,7 +1028,7 @@ levels: {print} 'Shame.. I wont buy it' {else} {print} 'I will buy it! Thank you!' - debug: true + debug: 'True' 7: header: Let's get to work! text: Enjoy the adventures in level 14! @@ -1126,6 +1126,8 @@ levels: {print} 'Do you even know this person?!' debug: 'True' 4: + text: Enjoy the adventures in level 16! + header: Let's try it out! 17: 1: header: Welcome to level 17 @@ -1177,6 +1179,8 @@ levels: {sleep} debug: 'True' 5: + header: Let's try it out! + text: Enjoy the adventures in level 17! 18: 1: header: Welcome to level 18 diff --git a/content/slides/pt_BR.yaml b/content/slides/pt_BR.yaml index c9a611dd23b..d7a8e5c4a59 100644 --- a/content/slides/pt_BR.yaml +++ b/content/slides/pt_BR.yaml @@ -1119,6 +1119,8 @@ levels: {print} 'Do you even know this person?!' debug: 'True' 4: + text: Enjoy the adventures in level 16! + header: Let's try it out! 17: 1: header: Bem-vindo(a) ao nível 17 @@ -1170,6 +1172,8 @@ levels: {sleep} debug: 'True' 5: + header: Let's try it out! + text: Enjoy the adventures in level 17! 18: 1: header: Bem-vindo(a) ao nível 18 diff --git a/content/slides/pt_PT.yaml b/content/slides/pt_PT.yaml index 041f16037b5..4f065090f7e 100644 --- a/content/slides/pt_PT.yaml +++ b/content/slides/pt_PT.yaml @@ -1,7 +1,7 @@ levels: 0: 1: - header: Welcome to Hedy! + header: Bem-vindo(a) ao Hedy! text: Hedy is a programming language. 2: header: Programming @@ -25,7 +25,7 @@ levels: * Create computer drawings and draw these on paper or fabric * Build your own apps to use on your phone 5: - header: Programming in Hedy + header: Programar em Hedy text: In Hedy we use special codes, like `{print}`. code: '{print} Welcome to Hedy!' 6: @@ -121,7 +121,7 @@ levels: {print} What song would you like to hear? {ask} I like that song too! {print} Next up... {echo} - debug: true + debug: 'True' 13: header: Let the programming fun begin! text: Enjoy the adventures in level 1! @@ -190,7 +190,7 @@ levels: {print} I'll go get your donut. {sleep} {print} Here you go! A filling donut with toping! {ask} Have a nice day! - debug: true + debug: 'True' 8: header: Let the programming fun begin! text: Enjoy the adventures in level 2! @@ -255,7 +255,7 @@ levels: {print} or do you prefer... second_choice {at} {random} {remove} second_choice {to} music_genres {print} I like music_genre {random} best! - debug: true + debug: 'True' 8: header: Let's get to work! text: Enjoy the adventures in level 3! @@ -270,7 +270,7 @@ levels: code: |- name {is} Sophie {print} My name is name - debug: true + debug: 'True' 3: header: Fixing it with quotation marks text: |- @@ -308,7 +308,7 @@ levels: Please try to print a contraction like "you're" or "I'm" in the screen below and see what happens.... code: '{print} ''This won''t work!''' - debug: true + debug: 'True' 9: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -333,7 +333,7 @@ levels: colors {is} 'orange, silver, white, brown' {print} 'I love the colors {at} {random} one!' choice {is} {ask} Which one do you like? - debug: true + debug: 'True' 11: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -356,7 +356,7 @@ levels: When using the `{if}` command, don't forget to use the `{print}` command. This code will not work! code: '{if} name {is} Hedy ''nice''' - debug: true + debug: 'True' 4: header: else text: |- @@ -402,7 +402,7 @@ levels: item_to_declare {is} {ask} 'What would you like to declare' {else} Alright {print} Thank you. Please head to gate A22.' - debug: true + debug: 'True' 8: header: Let's go! text: Enjoy the adventures in level 5! @@ -467,7 +467,7 @@ levels: {if} day {is} monday total_price = total_price * 0.25 {print} 'That will be total_price please' - debug: true + debug: 'True' 10: header: Let's get to work! text: Enjoy the adventures in level 6! @@ -490,7 +490,7 @@ levels: header: Don't forget the print command text: When using the repeat command, do not forget the `{print}` command. code: '{repeat} 5 {times} ''Help!''' - debug: true + debug: 'True' 4: header: Repeat an ask command text: You can also repeat an `{ask}`, `{if}` or `{else}` command multiple times. @@ -512,7 +512,7 @@ levels: {if} yes {print} 'Hurray! {else} 'That's a shame... Oh well... time to build a shelter and find some food.' - debug: true + debug: 'True' 6: header: Ready Set Go! text: Enjoy the adventures in level 7! @@ -527,7 +527,7 @@ levels: You could only repeat one line of code. code: '{repeat} 5 {times} {print} ''Help!''' - debug: true + debug: 'True' 3: header: '{repeat} commands now' text: |- @@ -556,7 +556,7 @@ levels: code: |- {if} name {is} Hedy {print} 'nice' {else} {print} 'boo!' - debug: true + debug: 'True' 6: header: if and else now text: |- @@ -599,7 +599,7 @@ levels: {print} You chose a round trip ticket' price * 2 {print} 'That will be ' price ' euros please' - debug: true + debug: 'True' 10: header: Let's check out the adventures! text: Enjoy the adventures in level 8! @@ -691,7 +691,7 @@ levels: {else} {print} 'Fun!' {print} 'Thanks for filling in the safety questions everyone. Enjoy your jump!' - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 9! @@ -728,7 +728,7 @@ levels: {add} chosen_person {from} people {print} 'Come and watch our show tonight!' {print} 'Tickets are only available at the counter - debug: true + debug: 'True' 5: header: Time to program! text: Enjoy the adventures in level 10! @@ -765,7 +765,7 @@ levels: {repeat} {for} numbers {in} {range} 1 {to} 10 {times} {print} This is the table of multiplications for factor {print} number ' x ' factor ' = ' i * factor - debug: true + debug: 'True' 5: header: Let's start programming! text: Enjoy the adventures in level 11! @@ -830,7 +830,7 @@ levels: {call} new member {else} password = {ask} 'Please enter password' - debug: true + debug: 'True' 8: header: Ready to try it out? text: Enjoy the adventures in level 12! @@ -940,7 +940,7 @@ levels: {call} happiness {with} person {else} mood = sad {define} sadness {to} name - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 13! @@ -1022,7 +1022,7 @@ levels: {print} 'Shame.. I wont buy it' {else} {print} 'I will buy it! Thank you!' - debug: true + debug: 'True' 7: header: Let's get to work! text: Enjoy the adventures in level 14! @@ -1120,6 +1120,8 @@ levels: {print} 'Do you even know this person?!' debug: 'True' 4: + text: Enjoy the adventures in level 16! + header: Let's try it out! 17: 1: header: Welcome to level 17 @@ -1171,6 +1173,8 @@ levels: {sleep} debug: 'True' 5: + header: Let's try it out! + text: Enjoy the adventures in level 17! 18: 1: header: Welcome to level 18 diff --git a/content/slides/ro.yaml b/content/slides/ro.yaml index aee79b50cc1..b2111732a00 100644 --- a/content/slides/ro.yaml +++ b/content/slides/ro.yaml @@ -120,7 +120,7 @@ levels: {print} What song would you like to hear? {ask} I like that song too! {print} Next up... {echo} - debug: true + debug: 'True' 13: header: Let the programming fun begin! text: Enjoy the adventures in level 1! @@ -189,7 +189,7 @@ levels: {print} I'll go get your donut. {sleep} {print} Here you go! A filling donut with toping! {ask} Have a nice day! - debug: true + debug: 'True' 8: header: Let the programming fun begin! text: Enjoy the adventures in level 2! @@ -254,7 +254,7 @@ levels: {print} or do you prefer... second_choice {at} {random} {remove} second_choice {to} music_genres {print} I like music_genre {random} best! - debug: true + debug: 'True' 8: header: Let's get to work! text: Enjoy the adventures in level 3! @@ -269,7 +269,7 @@ levels: code: |- name {is} Sophie {print} My name is name - debug: true + debug: 'True' 3: header: Fixing it with quotation marks text: |- @@ -307,7 +307,7 @@ levels: Please try to print a contraction like "you're" or "I'm" in the screen below and see what happens.... code: '{print} ''This won''t work!''' - debug: true + debug: 'True' 9: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -332,7 +332,7 @@ levels: colors {is} 'orange, silver, white, brown' {print} 'I love the colors {at} {random} one!' choice {is} {ask} Which one do you like? - debug: true + debug: 'True' 11: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -355,7 +355,7 @@ levels: When using the `{if}` command, don't forget to use the `{print}` command. This code will not work! code: '{if} name {is} Hedy ''nice''' - debug: true + debug: 'True' 4: header: else text: |- @@ -401,7 +401,7 @@ levels: item_to_declare {is} {ask} 'What would you like to declare' {else} Alright {print} Thank you. Please head to gate A22.' - debug: true + debug: 'True' 8: header: Let's go! text: Enjoy the adventures in level 5! @@ -466,7 +466,7 @@ levels: {if} day {is} monday total_price = total_price * 0.25 {print} 'That will be total_price please' - debug: true + debug: 'True' 10: header: Let's get to work! text: Enjoy the adventures in level 6! @@ -489,7 +489,7 @@ levels: header: Don't forget the print command text: When using the repeat command, do not forget the `{print}` command. code: '{repeat} 5 {times} ''Help!''' - debug: true + debug: 'True' 4: header: Repeat an ask command text: You can also repeat an `{ask}`, `{if}` or `{else}` command multiple times. @@ -511,7 +511,7 @@ levels: {if} yes {print} 'Hurray! {else} 'That's a shame... Oh well... time to build a shelter and find some food.' - debug: true + debug: 'True' 6: header: Ready Set Go! text: Enjoy the adventures in level 7! @@ -526,7 +526,7 @@ levels: You could only repeat one line of code. code: '{repeat} 5 {times} {print} ''Help!''' - debug: true + debug: 'True' 3: header: '{repeat} commands now' text: |- @@ -555,7 +555,7 @@ levels: code: |- {if} name {is} Hedy {print} 'nice' {else} {print} 'boo!' - debug: true + debug: 'True' 6: header: if and else now text: |- @@ -598,7 +598,7 @@ levels: {print} You chose a round trip ticket' price * 2 {print} 'That will be ' price ' euros please' - debug: true + debug: 'True' 10: header: Let's check out the adventures! text: Enjoy the adventures in level 8! @@ -690,7 +690,7 @@ levels: {else} {print} 'Fun!' {print} 'Thanks for filling in the safety questions everyone. Enjoy your jump!' - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 9! @@ -727,7 +727,7 @@ levels: {add} chosen_person {from} people {print} 'Come and watch our show tonight!' {print} 'Tickets are only available at the counter - debug: true + debug: 'True' 5: header: Time to program! text: Enjoy the adventures in level 10! @@ -764,7 +764,7 @@ levels: {repeat} {for} numbers {in} {range} 1 {to} 10 {times} {print} This is the table of multiplications for factor {print} number ' x ' factor ' = ' i * factor - debug: true + debug: 'True' 5: header: Let's start programming! text: Enjoy the adventures in level 11! @@ -829,7 +829,7 @@ levels: {call} new member {else} password = {ask} 'Please enter password' - debug: true + debug: 'True' 8: header: Ready to try it out? text: Enjoy the adventures in level 12! @@ -939,7 +939,7 @@ levels: {call} happiness {with} person {else} mood = sad {define} sadness {to} name - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 13! @@ -1021,7 +1021,7 @@ levels: {print} 'Shame.. I wont buy it' {else} {print} 'I will buy it! Thank you!' - debug: true + debug: 'True' 7: header: Let's get to work! text: Enjoy the adventures in level 14! @@ -1119,6 +1119,8 @@ levels: {print} 'Do you even know this person?!' debug: 'True' 4: + text: Enjoy the adventures in level 16! + header: Let's try it out! 17: 1: header: Welcome to level 17 @@ -1170,6 +1172,8 @@ levels: {sleep} debug: 'True' 5: + header: Let's try it out! + text: Enjoy the adventures in level 17! 18: 1: header: Welcome to level 18 diff --git a/content/slides/ru.yaml b/content/slides/ru.yaml index 8c3c704401c..839b6b642f1 100644 --- a/content/slides/ru.yaml +++ b/content/slides/ru.yaml @@ -123,7 +123,7 @@ levels: {print} What song would you like to hear? {ask} I like that song too! {print} Next up... {echo} - debug: true + debug: 'True' 13: header: Let the programming fun begin! text: Enjoy the adventures in level 1! @@ -192,7 +192,7 @@ levels: {print} I'll go get your donut. {sleep} {print} Here you go! A filling donut with toping! {ask} Have a nice day! - debug: true + debug: 'True' 8: header: Let the programming fun begin! text: Enjoy the adventures in level 2! @@ -257,7 +257,7 @@ levels: {print} or do you prefer... second_choice {at} {random} {remove} second_choice {to} music_genres {print} I like music_genre {random} best! - debug: true + debug: 'True' 8: header: Let's get to work! text: Enjoy the adventures in level 3! @@ -272,7 +272,7 @@ levels: code: |- name {is} Sophie {print} My name is name - debug: true + debug: 'True' 3: header: Fixing it with quotation marks text: |- @@ -310,7 +310,7 @@ levels: Please try to print a contraction like "you're" or "I'm" in the screen below and see what happens.... code: '{print} ''This won''t work!''' - debug: true + debug: 'True' 9: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -335,7 +335,7 @@ levels: colors {is} 'orange, silver, white, brown' {print} 'I love the colors {at} {random} one!' choice {is} {ask} Which one do you like? - debug: true + debug: 'True' 11: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -358,7 +358,7 @@ levels: When using the `{if}` command, don't forget to use the `{print}` command. This code will not work! code: '{if} name {is} Hedy ''nice''' - debug: true + debug: 'True' 4: header: else text: |- @@ -404,7 +404,7 @@ levels: item_to_declare {is} {ask} 'What would you like to declare' {else} Alright {print} Thank you. Please head to gate A22.' - debug: true + debug: 'True' 8: header: Let's go! text: Enjoy the adventures in level 5! @@ -469,7 +469,7 @@ levels: {if} day {is} monday total_price = total_price * 0.25 {print} 'That will be total_price please' - debug: true + debug: 'True' 10: header: Let's get to work! text: Enjoy the adventures in level 6! @@ -492,7 +492,7 @@ levels: header: Don't forget the print command text: When using the repeat command, do not forget the `{print}` command. code: '{repeat} 5 {times} ''Help!''' - debug: true + debug: 'True' 4: header: Repeat an ask command text: You can also repeat an `{ask}`, `{if}` or `{else}` command multiple times. @@ -514,7 +514,7 @@ levels: {if} yes {print} 'Hurray! {else} 'That's a shame... Oh well... time to build a shelter and find some food.' - debug: true + debug: 'True' 6: header: Ready Set Go! text: Enjoy the adventures in level 7! @@ -529,7 +529,7 @@ levels: You could only repeat one line of code. code: '{repeat} 5 {times} {print} ''Help!''' - debug: true + debug: 'True' 3: header: '{repeat} commands now' text: |- @@ -558,7 +558,7 @@ levels: code: |- {if} name {is} Hedy {print} 'nice' {else} {print} 'boo!' - debug: true + debug: 'True' 6: header: if and else now text: |- @@ -601,7 +601,7 @@ levels: {print} You chose a round trip ticket' price * 2 {print} 'That will be ' price ' euros please' - debug: true + debug: 'True' 10: header: Let's check out the adventures! text: Enjoy the adventures in level 8! @@ -693,7 +693,7 @@ levels: {else} {print} 'Fun!' {print} 'Thanks for filling in the safety questions everyone. Enjoy your jump!' - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 9! @@ -730,7 +730,7 @@ levels: {add} chosen_person {from} people {print} 'Come and watch our show tonight!' {print} 'Tickets are only available at the counter - debug: true + debug: 'True' 5: header: Time to program! text: Enjoy the adventures in level 10! @@ -767,7 +767,7 @@ levels: {repeat} {for} numbers {in} {range} 1 {to} 10 {times} {print} This is the table of multiplications for factor {print} number ' x ' factor ' = ' i * factor - debug: true + debug: 'True' 5: header: Let's start programming! text: Enjoy the adventures in level 11! @@ -832,7 +832,7 @@ levels: {call} new member {else} password = {ask} 'Please enter password' - debug: true + debug: 'True' 8: header: Ready to try it out? text: Enjoy the adventures in level 12! @@ -942,7 +942,7 @@ levels: {call} happiness {with} person {else} mood = sad {define} sadness {to} name - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 13! @@ -1024,7 +1024,7 @@ levels: {print} 'Shame.. I wont buy it' {else} {print} 'I will buy it! Thank you!' - debug: true + debug: 'True' 7: header: Let's get to work! text: Enjoy the adventures in level 14! @@ -1122,6 +1122,8 @@ levels: {print} 'Do you even know this person?!' debug: 'True' 4: + text: Enjoy the adventures in level 16! + header: Let's try it out! 17: 1: header: Welcome to level 17 @@ -1173,6 +1175,8 @@ levels: {sleep} debug: 'True' 5: + header: Let's try it out! + text: Enjoy the adventures in level 17! 18: 1: header: Welcome to level 18 diff --git a/content/slides/sl.yaml b/content/slides/sl.yaml index 72f7c366b1d..8501e49f35c 100644 --- a/content/slides/sl.yaml +++ b/content/slides/sl.yaml @@ -579,6 +579,8 @@ levels: {print} 'Do you even know this person?!' debug: 'True' 4: + text: Enjoy the adventures in level 16! + header: Let's try it out! 17: 1: header: Welcome to level 17 @@ -614,6 +616,8 @@ levels: {sleep} debug: 'True' 5: + header: Let's try it out! + text: Enjoy the adventures in level 17! 18: 1: header: Welcome to level 18 diff --git a/content/slides/sq.yaml b/content/slides/sq.yaml index 041f16037b5..fa5f0ab8d6b 100644 --- a/content/slides/sq.yaml +++ b/content/slides/sq.yaml @@ -121,7 +121,7 @@ levels: {print} What song would you like to hear? {ask} I like that song too! {print} Next up... {echo} - debug: true + debug: 'True' 13: header: Let the programming fun begin! text: Enjoy the adventures in level 1! @@ -190,7 +190,7 @@ levels: {print} I'll go get your donut. {sleep} {print} Here you go! A filling donut with toping! {ask} Have a nice day! - debug: true + debug: 'True' 8: header: Let the programming fun begin! text: Enjoy the adventures in level 2! @@ -255,7 +255,7 @@ levels: {print} or do you prefer... second_choice {at} {random} {remove} second_choice {to} music_genres {print} I like music_genre {random} best! - debug: true + debug: 'True' 8: header: Let's get to work! text: Enjoy the adventures in level 3! @@ -270,7 +270,7 @@ levels: code: |- name {is} Sophie {print} My name is name - debug: true + debug: 'True' 3: header: Fixing it with quotation marks text: |- @@ -308,7 +308,7 @@ levels: Please try to print a contraction like "you're" or "I'm" in the screen below and see what happens.... code: '{print} ''This won''t work!''' - debug: true + debug: 'True' 9: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -333,7 +333,7 @@ levels: colors {is} 'orange, silver, white, brown' {print} 'I love the colors {at} {random} one!' choice {is} {ask} Which one do you like? - debug: true + debug: 'True' 11: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -356,7 +356,7 @@ levels: When using the `{if}` command, don't forget to use the `{print}` command. This code will not work! code: '{if} name {is} Hedy ''nice''' - debug: true + debug: 'True' 4: header: else text: |- @@ -402,7 +402,7 @@ levels: item_to_declare {is} {ask} 'What would you like to declare' {else} Alright {print} Thank you. Please head to gate A22.' - debug: true + debug: 'True' 8: header: Let's go! text: Enjoy the adventures in level 5! @@ -467,7 +467,7 @@ levels: {if} day {is} monday total_price = total_price * 0.25 {print} 'That will be total_price please' - debug: true + debug: 'True' 10: header: Let's get to work! text: Enjoy the adventures in level 6! @@ -490,7 +490,7 @@ levels: header: Don't forget the print command text: When using the repeat command, do not forget the `{print}` command. code: '{repeat} 5 {times} ''Help!''' - debug: true + debug: 'True' 4: header: Repeat an ask command text: You can also repeat an `{ask}`, `{if}` or `{else}` command multiple times. @@ -512,7 +512,7 @@ levels: {if} yes {print} 'Hurray! {else} 'That's a shame... Oh well... time to build a shelter and find some food.' - debug: true + debug: 'True' 6: header: Ready Set Go! text: Enjoy the adventures in level 7! @@ -527,7 +527,7 @@ levels: You could only repeat one line of code. code: '{repeat} 5 {times} {print} ''Help!''' - debug: true + debug: 'True' 3: header: '{repeat} commands now' text: |- @@ -556,7 +556,7 @@ levels: code: |- {if} name {is} Hedy {print} 'nice' {else} {print} 'boo!' - debug: true + debug: 'True' 6: header: if and else now text: |- @@ -599,7 +599,7 @@ levels: {print} You chose a round trip ticket' price * 2 {print} 'That will be ' price ' euros please' - debug: true + debug: 'True' 10: header: Let's check out the adventures! text: Enjoy the adventures in level 8! @@ -691,7 +691,7 @@ levels: {else} {print} 'Fun!' {print} 'Thanks for filling in the safety questions everyone. Enjoy your jump!' - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 9! @@ -728,7 +728,7 @@ levels: {add} chosen_person {from} people {print} 'Come and watch our show tonight!' {print} 'Tickets are only available at the counter - debug: true + debug: 'True' 5: header: Time to program! text: Enjoy the adventures in level 10! @@ -765,7 +765,7 @@ levels: {repeat} {for} numbers {in} {range} 1 {to} 10 {times} {print} This is the table of multiplications for factor {print} number ' x ' factor ' = ' i * factor - debug: true + debug: 'True' 5: header: Let's start programming! text: Enjoy the adventures in level 11! @@ -830,7 +830,7 @@ levels: {call} new member {else} password = {ask} 'Please enter password' - debug: true + debug: 'True' 8: header: Ready to try it out? text: Enjoy the adventures in level 12! @@ -940,7 +940,7 @@ levels: {call} happiness {with} person {else} mood = sad {define} sadness {to} name - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 13! @@ -1022,7 +1022,7 @@ levels: {print} 'Shame.. I wont buy it' {else} {print} 'I will buy it! Thank you!' - debug: true + debug: 'True' 7: header: Let's get to work! text: Enjoy the adventures in level 14! @@ -1120,6 +1120,8 @@ levels: {print} 'Do you even know this person?!' debug: 'True' 4: + text: Enjoy the adventures in level 16! + header: Let's try it out! 17: 1: header: Welcome to level 17 @@ -1171,6 +1173,8 @@ levels: {sleep} debug: 'True' 5: + header: Let's try it out! + text: Enjoy the adventures in level 17! 18: 1: header: Welcome to level 18 diff --git a/content/slides/sr.yaml b/content/slides/sr.yaml index 2041f437216..54e9face85f 100644 --- a/content/slides/sr.yaml +++ b/content/slides/sr.yaml @@ -121,7 +121,7 @@ levels: {print} What song would you like to hear? {ask} I like that song too! {print} Next up... {echo} - debug: true + debug: 'True' 13: header: Let the programming fun begin! text: Enjoy the adventures in level 1! @@ -190,7 +190,7 @@ levels: {print} I'll go get your donut. {sleep} {print} Here you go! A filling donut with toping! {ask} Have a nice day! - debug: true + debug: 'True' 8: header: Let the programming fun begin! text: Enjoy the adventures in level 2! @@ -255,7 +255,7 @@ levels: {print} or do you prefer... second_choice {at} {random} {remove} second_choice {to} music_genres {print} I like music_genre {random} best! - debug: true + debug: 'True' 8: header: Let's get to work! text: Enjoy the adventures in level 3! @@ -270,7 +270,7 @@ levels: code: |- name {is} Sophie {print} My name is name - debug: true + debug: 'True' 3: header: Fixing it with quotation marks text: |- @@ -308,7 +308,7 @@ levels: Please try to print a contraction like "you're" or "I'm" in the screen below and see what happens.... code: '{print} ''This won''t work!''' - debug: true + debug: 'True' 9: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -333,7 +333,7 @@ levels: colors {is} 'orange, silver, white, brown' {print} 'I love the colors {at} {random} one!' choice {is} {ask} Which one do you like? - debug: true + debug: 'True' 11: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -356,7 +356,7 @@ levels: When using the `{if}` command, don't forget to use the `{print}` command. This code will not work! code: '{if} name {is} Hedy ''nice''' - debug: true + debug: 'True' 4: header: else text: |- @@ -402,7 +402,7 @@ levels: item_to_declare {is} {ask} 'What would you like to declare' {else} Alright {print} Thank you. Please head to gate A22.' - debug: true + debug: 'True' 8: header: Let's go! text: Enjoy the adventures in level 5! @@ -467,7 +467,7 @@ levels: {if} day {is} monday total_price = total_price * 0.25 {print} 'That will be total_price please' - debug: true + debug: 'True' 10: header: Let's get to work! text: Enjoy the adventures in level 6! @@ -490,7 +490,7 @@ levels: header: Don't forget the print command text: When using the repeat command, do not forget the `{print}` command. code: '{repeat} 5 {times} ''Help!''' - debug: true + debug: 'True' 4: header: Repeat an ask command text: You can also repeat an `{ask}`, `{if}` or `{else}` command multiple times. @@ -512,7 +512,7 @@ levels: {if} yes {print} 'Hurray! {else} 'That's a shame... Oh well... time to build a shelter and find some food.' - debug: true + debug: 'True' 6: header: Ready Set Go! text: Enjoy the adventures in level 7! @@ -527,7 +527,7 @@ levels: You could only repeat one line of code. code: '{repeat} 5 {times} {print} ''Help!''' - debug: true + debug: 'True' 3: header: '{repeat} commands now' text: |- @@ -556,7 +556,7 @@ levels: code: |- {if} name {is} Hedy {print} 'nice' {else} {print} 'boo!' - debug: true + debug: 'True' 6: header: if and else now text: |- @@ -599,7 +599,7 @@ levels: {print} You chose a round trip ticket' price * 2 {print} 'That will be ' price ' euros please' - debug: true + debug: 'True' 10: header: Let's check out the adventures! text: Enjoy the adventures in level 8! @@ -691,7 +691,7 @@ levels: {else} {print} 'Fun!' {print} 'Thanks for filling in the safety questions everyone. Enjoy your jump!' - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 9! @@ -728,7 +728,7 @@ levels: {add} chosen_person {from} people {print} 'Come and watch our show tonight!' {print} 'Tickets are only available at the counter - debug: true + debug: 'True' 5: header: Time to program! text: Enjoy the adventures in level 10! @@ -765,7 +765,7 @@ levels: {repeat} {for} numbers {in} {range} 1 {to} 10 {times} {print} This is the table of multiplications for factor {print} number ' x ' factor ' = ' i * factor - debug: true + debug: 'True' 5: header: Let's start programming! text: Enjoy the adventures in level 11! @@ -830,7 +830,7 @@ levels: {call} new member {else} password = {ask} 'Please enter password' - debug: true + debug: 'True' 8: header: Ready to try it out? text: Enjoy the adventures in level 12! @@ -940,7 +940,7 @@ levels: {call} happiness {with} person {else} mood = sad {define} sadness {to} name - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 13! @@ -1022,7 +1022,7 @@ levels: {print} 'Shame.. I wont buy it' {else} {print} 'I will buy it! Thank you!' - debug: true + debug: 'True' 7: header: Let's get to work! text: Enjoy the adventures in level 14! @@ -1120,6 +1120,8 @@ levels: {print} 'Do you even know this person?!' debug: 'True' 4: + text: Enjoy the adventures in level 16! + header: Let's try it out! 17: 1: header: Welcome to level 17 @@ -1171,6 +1173,8 @@ levels: {sleep} debug: 'True' 5: + header: Let's try it out! + text: Enjoy the adventures in level 17! 18: 1: header: Welcome to level 18 diff --git a/content/slides/sv.yaml b/content/slides/sv.yaml index 73cbb252492..3b2139ee788 100644 --- a/content/slides/sv.yaml +++ b/content/slides/sv.yaml @@ -127,7 +127,7 @@ levels: {print} What song would you like to hear? {ask} I like that song too! {print} Next up... {echo} - debug: true + debug: 'True' 13: header: Let the programming fun begin! text: Enjoy the adventures in level 1! @@ -196,7 +196,7 @@ levels: {print} I'll go get your donut. {sleep} {print} Here you go! A filling donut with toping! {ask} Have a nice day! - debug: true + debug: 'True' 8: header: Låt den roliga programmeringen börja! text: Ha det kul med äventyren på nivå 2! @@ -261,7 +261,7 @@ levels: {print} or do you prefer... second_choice {at} {random} {remove} second_choice {to} music_genres {print} I like music_genre {random} best! - debug: true + debug: 'True' 8: header: Nu sätter vi igång! text: Ha det kul med äventyren på nivå 3! @@ -276,7 +276,7 @@ levels: code: |- name {is} Sophie {print} My name is name - debug: true + debug: 'True' 3: header: Fixa det med citattecken text: |- @@ -314,7 +314,7 @@ levels: Försök att skriva ut en sammandragning som engelska "you're" eller "I'm" på skärmen nedan och se vad som händer … code: '{print} ''This won''t work!''' - debug: true + debug: 'True' 9: header: Rensa text: |- @@ -343,7 +343,7 @@ levels: colors {is} 'orange, silver, white, brown' {print} 'I love the colors {at} {random} one!' choice {is} {ask} Which one do you like? - debug: true + debug: 'True' 11: header: Klara, färdiga, gå! text: Ha det kul med äventyren på nivå 4! @@ -364,7 +364,7 @@ levels: header: Glöm inte att skriva ut text: Glöm inte att använda kommandot `{print}` när du använder kommandot `{if}`. code: '{if} name {is} Hedy ''nice''' - debug: true + debug: 'True' 4: header: annars text: |- @@ -410,7 +410,7 @@ levels: item_to_declare {is} {ask} 'What would you like to declare' {else} Alright {print} Thank you. Please head to gate A22.' - debug: true + debug: 'True' 8: header: Nu kör vi! text: Ha det kul med äventyren på nivå 5! @@ -475,7 +475,7 @@ levels: {if} day {is} monday total_price = total_price * 0.25 {print} 'That will be total_price please' - debug: true + debug: 'True' 10: header: Nu sätter vi igång! text: Ha det kul med äventyren på nivå 6! @@ -498,7 +498,7 @@ levels: header: Glöm inte kommandot skriv text: Glöm inte kommandot `{print}` när du använder kommandot upprepa. code: '{repeat} 5 {times} ''Help!''' - debug: true + debug: 'True' 4: header: Upprepa ett fråga-kommando text: Du kan också upprepa ett `{ask}`-, `{if}`- eller `{else}`-kommando flera gånger. @@ -520,7 +520,7 @@ levels: {if} yes {print} 'Hurray! {else} 'That's a shame... Oh well... time to build a shelter and find some food.' - debug: true + debug: 'True' 6: header: Klara, färdiga, gå! text: Ha det kul med äventyren på nivå 7! @@ -535,7 +535,7 @@ levels: Du kunde bara upprepa en kodrad. code: '{repeat} 5 {times} {print} ''Help!''' - debug: true + debug: 'True' 3: header: '{repeat}-kommandon nu' text: |- @@ -564,7 +564,7 @@ levels: code: |- {if} name {is} Hedy {print} 'nice' {else} {print} 'boo!' - debug: true + debug: 'True' 6: header: om och annars nu text: |- @@ -607,7 +607,7 @@ levels: {print} You chose a round trip ticket' price * 2 {print} 'That will be ' price ' euros please' - debug: true + debug: 'True' 10: header: Vi kollar in äventyren! text: Ha det kul med äventyren på nivå 8! @@ -699,7 +699,7 @@ levels: {else} {print} 'Fun!' {print} 'Thanks for filling in the safety questions everyone. Enjoy your jump!' - debug: true + debug: 'True' 9: header: Nu kör vi! text: Ha det kul med äventyren på nivå 9! @@ -736,7 +736,7 @@ levels: {add} chosen_person {from} people {print} 'Come and watch our show tonight!' {print} 'Tickets are only available at the counter - debug: true + debug: 'True' 5: header: Dags att programmera! text: Ha det kul med äventyren på nivå 10! @@ -773,7 +773,7 @@ levels: {repeat} {for} numbers {in} {range} 1 {to} 10 {times} {print} This is the table of multiplications for factor {print} number ' x ' factor ' = ' i * factor - debug: true + debug: 'True' 5: header: Låt oss börja programmera! text: Ha det kul med äventyren på nivå 11! @@ -836,7 +836,7 @@ levels: {call} new member {else} password = {ask} 'Please enter password' - debug: true + debug: 'True' 8: header: Ready to try it out? text: Enjoy the adventures in level 12! @@ -944,7 +944,7 @@ levels: {call} happiness {with} person {else} mood = sad {define} sadness {to} name - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 13! @@ -1026,7 +1026,7 @@ levels: {print} 'Shame.. I wont buy it' {else} {print} 'I will buy it! Thank you!' - debug: true + debug: 'True' 7: header: Let's get to work! text: Enjoy the adventures in level 14! @@ -1157,6 +1157,11 @@ levels: 4: header: Vi testar det! text: Ha det kul med äventyren på nivå 17! + debug: 'True' + code: "{define} ask_direction\n direction = {ask} 'Where do you want to go?'\n {if} direction = 'backwards'\n {turn} 180\n {else} direction == 'right'\n {turn} 90\n {else} direction == 'left'\n {turn} 270\n {forward} 100\n\ncontinue = 'yes'\n\n{while} continue == 'yes'\n {print} ask_direction\n {sleep}\n continue = 'do you want to draw some more?'\n {sleep}" + 5: + header: Let's try it out! + text: Enjoy the adventures in level 17! 18: 1: header: Välkommen till nivå 18 diff --git a/content/slides/sw.yaml b/content/slides/sw.yaml index 041f16037b5..fa5f0ab8d6b 100644 --- a/content/slides/sw.yaml +++ b/content/slides/sw.yaml @@ -121,7 +121,7 @@ levels: {print} What song would you like to hear? {ask} I like that song too! {print} Next up... {echo} - debug: true + debug: 'True' 13: header: Let the programming fun begin! text: Enjoy the adventures in level 1! @@ -190,7 +190,7 @@ levels: {print} I'll go get your donut. {sleep} {print} Here you go! A filling donut with toping! {ask} Have a nice day! - debug: true + debug: 'True' 8: header: Let the programming fun begin! text: Enjoy the adventures in level 2! @@ -255,7 +255,7 @@ levels: {print} or do you prefer... second_choice {at} {random} {remove} second_choice {to} music_genres {print} I like music_genre {random} best! - debug: true + debug: 'True' 8: header: Let's get to work! text: Enjoy the adventures in level 3! @@ -270,7 +270,7 @@ levels: code: |- name {is} Sophie {print} My name is name - debug: true + debug: 'True' 3: header: Fixing it with quotation marks text: |- @@ -308,7 +308,7 @@ levels: Please try to print a contraction like "you're" or "I'm" in the screen below and see what happens.... code: '{print} ''This won''t work!''' - debug: true + debug: 'True' 9: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -333,7 +333,7 @@ levels: colors {is} 'orange, silver, white, brown' {print} 'I love the colors {at} {random} one!' choice {is} {ask} Which one do you like? - debug: true + debug: 'True' 11: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -356,7 +356,7 @@ levels: When using the `{if}` command, don't forget to use the `{print}` command. This code will not work! code: '{if} name {is} Hedy ''nice''' - debug: true + debug: 'True' 4: header: else text: |- @@ -402,7 +402,7 @@ levels: item_to_declare {is} {ask} 'What would you like to declare' {else} Alright {print} Thank you. Please head to gate A22.' - debug: true + debug: 'True' 8: header: Let's go! text: Enjoy the adventures in level 5! @@ -467,7 +467,7 @@ levels: {if} day {is} monday total_price = total_price * 0.25 {print} 'That will be total_price please' - debug: true + debug: 'True' 10: header: Let's get to work! text: Enjoy the adventures in level 6! @@ -490,7 +490,7 @@ levels: header: Don't forget the print command text: When using the repeat command, do not forget the `{print}` command. code: '{repeat} 5 {times} ''Help!''' - debug: true + debug: 'True' 4: header: Repeat an ask command text: You can also repeat an `{ask}`, `{if}` or `{else}` command multiple times. @@ -512,7 +512,7 @@ levels: {if} yes {print} 'Hurray! {else} 'That's a shame... Oh well... time to build a shelter and find some food.' - debug: true + debug: 'True' 6: header: Ready Set Go! text: Enjoy the adventures in level 7! @@ -527,7 +527,7 @@ levels: You could only repeat one line of code. code: '{repeat} 5 {times} {print} ''Help!''' - debug: true + debug: 'True' 3: header: '{repeat} commands now' text: |- @@ -556,7 +556,7 @@ levels: code: |- {if} name {is} Hedy {print} 'nice' {else} {print} 'boo!' - debug: true + debug: 'True' 6: header: if and else now text: |- @@ -599,7 +599,7 @@ levels: {print} You chose a round trip ticket' price * 2 {print} 'That will be ' price ' euros please' - debug: true + debug: 'True' 10: header: Let's check out the adventures! text: Enjoy the adventures in level 8! @@ -691,7 +691,7 @@ levels: {else} {print} 'Fun!' {print} 'Thanks for filling in the safety questions everyone. Enjoy your jump!' - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 9! @@ -728,7 +728,7 @@ levels: {add} chosen_person {from} people {print} 'Come and watch our show tonight!' {print} 'Tickets are only available at the counter - debug: true + debug: 'True' 5: header: Time to program! text: Enjoy the adventures in level 10! @@ -765,7 +765,7 @@ levels: {repeat} {for} numbers {in} {range} 1 {to} 10 {times} {print} This is the table of multiplications for factor {print} number ' x ' factor ' = ' i * factor - debug: true + debug: 'True' 5: header: Let's start programming! text: Enjoy the adventures in level 11! @@ -830,7 +830,7 @@ levels: {call} new member {else} password = {ask} 'Please enter password' - debug: true + debug: 'True' 8: header: Ready to try it out? text: Enjoy the adventures in level 12! @@ -940,7 +940,7 @@ levels: {call} happiness {with} person {else} mood = sad {define} sadness {to} name - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 13! @@ -1022,7 +1022,7 @@ levels: {print} 'Shame.. I wont buy it' {else} {print} 'I will buy it! Thank you!' - debug: true + debug: 'True' 7: header: Let's get to work! text: Enjoy the adventures in level 14! @@ -1120,6 +1120,8 @@ levels: {print} 'Do you even know this person?!' debug: 'True' 4: + text: Enjoy the adventures in level 16! + header: Let's try it out! 17: 1: header: Welcome to level 17 @@ -1171,6 +1173,8 @@ levels: {sleep} debug: 'True' 5: + header: Let's try it out! + text: Enjoy the adventures in level 17! 18: 1: header: Welcome to level 18 diff --git a/content/slides/te.yaml b/content/slides/te.yaml index 041f16037b5..fa5f0ab8d6b 100644 --- a/content/slides/te.yaml +++ b/content/slides/te.yaml @@ -121,7 +121,7 @@ levels: {print} What song would you like to hear? {ask} I like that song too! {print} Next up... {echo} - debug: true + debug: 'True' 13: header: Let the programming fun begin! text: Enjoy the adventures in level 1! @@ -190,7 +190,7 @@ levels: {print} I'll go get your donut. {sleep} {print} Here you go! A filling donut with toping! {ask} Have a nice day! - debug: true + debug: 'True' 8: header: Let the programming fun begin! text: Enjoy the adventures in level 2! @@ -255,7 +255,7 @@ levels: {print} or do you prefer... second_choice {at} {random} {remove} second_choice {to} music_genres {print} I like music_genre {random} best! - debug: true + debug: 'True' 8: header: Let's get to work! text: Enjoy the adventures in level 3! @@ -270,7 +270,7 @@ levels: code: |- name {is} Sophie {print} My name is name - debug: true + debug: 'True' 3: header: Fixing it with quotation marks text: |- @@ -308,7 +308,7 @@ levels: Please try to print a contraction like "you're" or "I'm" in the screen below and see what happens.... code: '{print} ''This won''t work!''' - debug: true + debug: 'True' 9: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -333,7 +333,7 @@ levels: colors {is} 'orange, silver, white, brown' {print} 'I love the colors {at} {random} one!' choice {is} {ask} Which one do you like? - debug: true + debug: 'True' 11: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -356,7 +356,7 @@ levels: When using the `{if}` command, don't forget to use the `{print}` command. This code will not work! code: '{if} name {is} Hedy ''nice''' - debug: true + debug: 'True' 4: header: else text: |- @@ -402,7 +402,7 @@ levels: item_to_declare {is} {ask} 'What would you like to declare' {else} Alright {print} Thank you. Please head to gate A22.' - debug: true + debug: 'True' 8: header: Let's go! text: Enjoy the adventures in level 5! @@ -467,7 +467,7 @@ levels: {if} day {is} monday total_price = total_price * 0.25 {print} 'That will be total_price please' - debug: true + debug: 'True' 10: header: Let's get to work! text: Enjoy the adventures in level 6! @@ -490,7 +490,7 @@ levels: header: Don't forget the print command text: When using the repeat command, do not forget the `{print}` command. code: '{repeat} 5 {times} ''Help!''' - debug: true + debug: 'True' 4: header: Repeat an ask command text: You can also repeat an `{ask}`, `{if}` or `{else}` command multiple times. @@ -512,7 +512,7 @@ levels: {if} yes {print} 'Hurray! {else} 'That's a shame... Oh well... time to build a shelter and find some food.' - debug: true + debug: 'True' 6: header: Ready Set Go! text: Enjoy the adventures in level 7! @@ -527,7 +527,7 @@ levels: You could only repeat one line of code. code: '{repeat} 5 {times} {print} ''Help!''' - debug: true + debug: 'True' 3: header: '{repeat} commands now' text: |- @@ -556,7 +556,7 @@ levels: code: |- {if} name {is} Hedy {print} 'nice' {else} {print} 'boo!' - debug: true + debug: 'True' 6: header: if and else now text: |- @@ -599,7 +599,7 @@ levels: {print} You chose a round trip ticket' price * 2 {print} 'That will be ' price ' euros please' - debug: true + debug: 'True' 10: header: Let's check out the adventures! text: Enjoy the adventures in level 8! @@ -691,7 +691,7 @@ levels: {else} {print} 'Fun!' {print} 'Thanks for filling in the safety questions everyone. Enjoy your jump!' - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 9! @@ -728,7 +728,7 @@ levels: {add} chosen_person {from} people {print} 'Come and watch our show tonight!' {print} 'Tickets are only available at the counter - debug: true + debug: 'True' 5: header: Time to program! text: Enjoy the adventures in level 10! @@ -765,7 +765,7 @@ levels: {repeat} {for} numbers {in} {range} 1 {to} 10 {times} {print} This is the table of multiplications for factor {print} number ' x ' factor ' = ' i * factor - debug: true + debug: 'True' 5: header: Let's start programming! text: Enjoy the adventures in level 11! @@ -830,7 +830,7 @@ levels: {call} new member {else} password = {ask} 'Please enter password' - debug: true + debug: 'True' 8: header: Ready to try it out? text: Enjoy the adventures in level 12! @@ -940,7 +940,7 @@ levels: {call} happiness {with} person {else} mood = sad {define} sadness {to} name - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 13! @@ -1022,7 +1022,7 @@ levels: {print} 'Shame.. I wont buy it' {else} {print} 'I will buy it! Thank you!' - debug: true + debug: 'True' 7: header: Let's get to work! text: Enjoy the adventures in level 14! @@ -1120,6 +1120,8 @@ levels: {print} 'Do you even know this person?!' debug: 'True' 4: + text: Enjoy the adventures in level 16! + header: Let's try it out! 17: 1: header: Welcome to level 17 @@ -1171,6 +1173,8 @@ levels: {sleep} debug: 'True' 5: + header: Let's try it out! + text: Enjoy the adventures in level 17! 18: 1: header: Welcome to level 18 diff --git a/content/slides/th.yaml b/content/slides/th.yaml index 5ea8251c0ea..aef2156eb3e 100644 --- a/content/slides/th.yaml +++ b/content/slides/th.yaml @@ -123,7 +123,7 @@ levels: {print} What song would you like to hear? {ask} I like that song too! {print} Next up... {echo} - debug: true + debug: 'True' 13: header: Let the programming fun begin! text: Enjoy the adventures in level 1! @@ -192,7 +192,7 @@ levels: {print} I'll go get your donut. {sleep} {print} Here you go! A filling donut with toping! {ask} Have a nice day! - debug: true + debug: 'True' 8: header: Let the programming fun begin! text: Enjoy the adventures in level 2! @@ -257,7 +257,7 @@ levels: {print} or do you prefer... second_choice {at} {random} {remove} second_choice {to} music_genres {print} I like music_genre {random} best! - debug: true + debug: 'True' 8: header: Let's get to work! text: Enjoy the adventures in level 3! @@ -272,7 +272,7 @@ levels: code: |- name {is} Sophie {print} My name is name - debug: true + debug: 'True' 3: header: Fixing it with quotation marks text: |- @@ -310,7 +310,7 @@ levels: Please try to print a contraction like "you're" or "I'm" in the screen below and see what happens.... code: '{print} ''This won''t work!''' - debug: true + debug: 'True' 9: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -335,7 +335,7 @@ levels: colors {is} 'orange, silver, white, brown' {print} 'I love the colors {at} {random} one!' choice {is} {ask} Which one do you like? - debug: true + debug: 'True' 11: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -358,7 +358,7 @@ levels: When using the `{if}` command, don't forget to use the `{print}` command. This code will not work! code: '{if} name {is} Hedy ''nice''' - debug: true + debug: 'True' 4: header: else text: |- @@ -404,7 +404,7 @@ levels: item_to_declare {is} {ask} 'What would you like to declare' {else} Alright {print} Thank you. Please head to gate A22.' - debug: true + debug: 'True' 8: header: Let's go! text: Enjoy the adventures in level 5! @@ -469,7 +469,7 @@ levels: {if} day {is} monday total_price = total_price * 0.25 {print} 'That will be total_price please' - debug: true + debug: 'True' 10: header: Let's get to work! text: Enjoy the adventures in level 6! @@ -492,7 +492,7 @@ levels: header: Don't forget the print command text: When using the repeat command, do not forget the `{print}` command. code: '{repeat} 5 {times} ''Help!''' - debug: true + debug: 'True' 4: header: Repeat an ask command text: You can also repeat an `{ask}`, `{if}` or `{else}` command multiple times. @@ -514,7 +514,7 @@ levels: {if} yes {print} 'Hurray! {else} 'That's a shame... Oh well... time to build a shelter and find some food.' - debug: true + debug: 'True' 6: header: Ready Set Go! text: Enjoy the adventures in level 7! @@ -529,7 +529,7 @@ levels: You could only repeat one line of code. code: '{repeat} 5 {times} {print} ''Help!''' - debug: true + debug: 'True' 3: header: '{repeat} commands now' text: |- @@ -558,7 +558,7 @@ levels: code: |- {if} name {is} Hedy {print} 'nice' {else} {print} 'boo!' - debug: true + debug: 'True' 6: header: if and else now text: |- @@ -601,7 +601,7 @@ levels: {print} You chose a round trip ticket' price * 2 {print} 'That will be ' price ' euros please' - debug: true + debug: 'True' 10: header: Let's check out the adventures! text: Enjoy the adventures in level 8! @@ -693,7 +693,7 @@ levels: {else} {print} 'Fun!' {print} 'Thanks for filling in the safety questions everyone. Enjoy your jump!' - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 9! @@ -730,7 +730,7 @@ levels: {add} chosen_person {from} people {print} 'Come and watch our show tonight!' {print} 'Tickets are only available at the counter - debug: true + debug: 'True' 5: header: Time to program! text: Enjoy the adventures in level 10! @@ -767,7 +767,7 @@ levels: {repeat} {for} numbers {in} {range} 1 {to} 10 {times} {print} This is the table of multiplications for factor {print} number ' x ' factor ' = ' i * factor - debug: true + debug: 'True' 5: header: Let's start programming! text: Enjoy the adventures in level 11! @@ -832,7 +832,7 @@ levels: {call} new member {else} password = {ask} 'Please enter password' - debug: true + debug: 'True' 8: header: Ready to try it out? text: Enjoy the adventures in level 12! @@ -942,7 +942,7 @@ levels: {call} happiness {with} person {else} mood = sad {define} sadness {to} name - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 13! @@ -1024,7 +1024,7 @@ levels: {print} 'Shame.. I wont buy it' {else} {print} 'I will buy it! Thank you!' - debug: true + debug: 'True' 7: header: Let's get to work! text: Enjoy the adventures in level 14! @@ -1122,6 +1122,8 @@ levels: {print} 'Do you even know this person?!' debug: 'True' 4: + text: Enjoy the adventures in level 16! + header: Let's try it out! 17: 1: header: Welcome to level 17 @@ -1173,6 +1175,8 @@ levels: {sleep} debug: 'True' 5: + header: Let's try it out! + text: Enjoy the adventures in level 17! 18: 1: header: Welcome to level 18 diff --git a/content/slides/tl.yaml b/content/slides/tl.yaml index 041f16037b5..fa5f0ab8d6b 100644 --- a/content/slides/tl.yaml +++ b/content/slides/tl.yaml @@ -121,7 +121,7 @@ levels: {print} What song would you like to hear? {ask} I like that song too! {print} Next up... {echo} - debug: true + debug: 'True' 13: header: Let the programming fun begin! text: Enjoy the adventures in level 1! @@ -190,7 +190,7 @@ levels: {print} I'll go get your donut. {sleep} {print} Here you go! A filling donut with toping! {ask} Have a nice day! - debug: true + debug: 'True' 8: header: Let the programming fun begin! text: Enjoy the adventures in level 2! @@ -255,7 +255,7 @@ levels: {print} or do you prefer... second_choice {at} {random} {remove} second_choice {to} music_genres {print} I like music_genre {random} best! - debug: true + debug: 'True' 8: header: Let's get to work! text: Enjoy the adventures in level 3! @@ -270,7 +270,7 @@ levels: code: |- name {is} Sophie {print} My name is name - debug: true + debug: 'True' 3: header: Fixing it with quotation marks text: |- @@ -308,7 +308,7 @@ levels: Please try to print a contraction like "you're" or "I'm" in the screen below and see what happens.... code: '{print} ''This won''t work!''' - debug: true + debug: 'True' 9: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -333,7 +333,7 @@ levels: colors {is} 'orange, silver, white, brown' {print} 'I love the colors {at} {random} one!' choice {is} {ask} Which one do you like? - debug: true + debug: 'True' 11: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -356,7 +356,7 @@ levels: When using the `{if}` command, don't forget to use the `{print}` command. This code will not work! code: '{if} name {is} Hedy ''nice''' - debug: true + debug: 'True' 4: header: else text: |- @@ -402,7 +402,7 @@ levels: item_to_declare {is} {ask} 'What would you like to declare' {else} Alright {print} Thank you. Please head to gate A22.' - debug: true + debug: 'True' 8: header: Let's go! text: Enjoy the adventures in level 5! @@ -467,7 +467,7 @@ levels: {if} day {is} monday total_price = total_price * 0.25 {print} 'That will be total_price please' - debug: true + debug: 'True' 10: header: Let's get to work! text: Enjoy the adventures in level 6! @@ -490,7 +490,7 @@ levels: header: Don't forget the print command text: When using the repeat command, do not forget the `{print}` command. code: '{repeat} 5 {times} ''Help!''' - debug: true + debug: 'True' 4: header: Repeat an ask command text: You can also repeat an `{ask}`, `{if}` or `{else}` command multiple times. @@ -512,7 +512,7 @@ levels: {if} yes {print} 'Hurray! {else} 'That's a shame... Oh well... time to build a shelter and find some food.' - debug: true + debug: 'True' 6: header: Ready Set Go! text: Enjoy the adventures in level 7! @@ -527,7 +527,7 @@ levels: You could only repeat one line of code. code: '{repeat} 5 {times} {print} ''Help!''' - debug: true + debug: 'True' 3: header: '{repeat} commands now' text: |- @@ -556,7 +556,7 @@ levels: code: |- {if} name {is} Hedy {print} 'nice' {else} {print} 'boo!' - debug: true + debug: 'True' 6: header: if and else now text: |- @@ -599,7 +599,7 @@ levels: {print} You chose a round trip ticket' price * 2 {print} 'That will be ' price ' euros please' - debug: true + debug: 'True' 10: header: Let's check out the adventures! text: Enjoy the adventures in level 8! @@ -691,7 +691,7 @@ levels: {else} {print} 'Fun!' {print} 'Thanks for filling in the safety questions everyone. Enjoy your jump!' - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 9! @@ -728,7 +728,7 @@ levels: {add} chosen_person {from} people {print} 'Come and watch our show tonight!' {print} 'Tickets are only available at the counter - debug: true + debug: 'True' 5: header: Time to program! text: Enjoy the adventures in level 10! @@ -765,7 +765,7 @@ levels: {repeat} {for} numbers {in} {range} 1 {to} 10 {times} {print} This is the table of multiplications for factor {print} number ' x ' factor ' = ' i * factor - debug: true + debug: 'True' 5: header: Let's start programming! text: Enjoy the adventures in level 11! @@ -830,7 +830,7 @@ levels: {call} new member {else} password = {ask} 'Please enter password' - debug: true + debug: 'True' 8: header: Ready to try it out? text: Enjoy the adventures in level 12! @@ -940,7 +940,7 @@ levels: {call} happiness {with} person {else} mood = sad {define} sadness {to} name - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 13! @@ -1022,7 +1022,7 @@ levels: {print} 'Shame.. I wont buy it' {else} {print} 'I will buy it! Thank you!' - debug: true + debug: 'True' 7: header: Let's get to work! text: Enjoy the adventures in level 14! @@ -1120,6 +1120,8 @@ levels: {print} 'Do you even know this person?!' debug: 'True' 4: + text: Enjoy the adventures in level 16! + header: Let's try it out! 17: 1: header: Welcome to level 17 @@ -1171,6 +1173,8 @@ levels: {sleep} debug: 'True' 5: + header: Let's try it out! + text: Enjoy the adventures in level 17! 18: 1: header: Welcome to level 18 diff --git a/content/slides/tn.yaml b/content/slides/tn.yaml index 041f16037b5..fa5f0ab8d6b 100644 --- a/content/slides/tn.yaml +++ b/content/slides/tn.yaml @@ -121,7 +121,7 @@ levels: {print} What song would you like to hear? {ask} I like that song too! {print} Next up... {echo} - debug: true + debug: 'True' 13: header: Let the programming fun begin! text: Enjoy the adventures in level 1! @@ -190,7 +190,7 @@ levels: {print} I'll go get your donut. {sleep} {print} Here you go! A filling donut with toping! {ask} Have a nice day! - debug: true + debug: 'True' 8: header: Let the programming fun begin! text: Enjoy the adventures in level 2! @@ -255,7 +255,7 @@ levels: {print} or do you prefer... second_choice {at} {random} {remove} second_choice {to} music_genres {print} I like music_genre {random} best! - debug: true + debug: 'True' 8: header: Let's get to work! text: Enjoy the adventures in level 3! @@ -270,7 +270,7 @@ levels: code: |- name {is} Sophie {print} My name is name - debug: true + debug: 'True' 3: header: Fixing it with quotation marks text: |- @@ -308,7 +308,7 @@ levels: Please try to print a contraction like "you're" or "I'm" in the screen below and see what happens.... code: '{print} ''This won''t work!''' - debug: true + debug: 'True' 9: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -333,7 +333,7 @@ levels: colors {is} 'orange, silver, white, brown' {print} 'I love the colors {at} {random} one!' choice {is} {ask} Which one do you like? - debug: true + debug: 'True' 11: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -356,7 +356,7 @@ levels: When using the `{if}` command, don't forget to use the `{print}` command. This code will not work! code: '{if} name {is} Hedy ''nice''' - debug: true + debug: 'True' 4: header: else text: |- @@ -402,7 +402,7 @@ levels: item_to_declare {is} {ask} 'What would you like to declare' {else} Alright {print} Thank you. Please head to gate A22.' - debug: true + debug: 'True' 8: header: Let's go! text: Enjoy the adventures in level 5! @@ -467,7 +467,7 @@ levels: {if} day {is} monday total_price = total_price * 0.25 {print} 'That will be total_price please' - debug: true + debug: 'True' 10: header: Let's get to work! text: Enjoy the adventures in level 6! @@ -490,7 +490,7 @@ levels: header: Don't forget the print command text: When using the repeat command, do not forget the `{print}` command. code: '{repeat} 5 {times} ''Help!''' - debug: true + debug: 'True' 4: header: Repeat an ask command text: You can also repeat an `{ask}`, `{if}` or `{else}` command multiple times. @@ -512,7 +512,7 @@ levels: {if} yes {print} 'Hurray! {else} 'That's a shame... Oh well... time to build a shelter and find some food.' - debug: true + debug: 'True' 6: header: Ready Set Go! text: Enjoy the adventures in level 7! @@ -527,7 +527,7 @@ levels: You could only repeat one line of code. code: '{repeat} 5 {times} {print} ''Help!''' - debug: true + debug: 'True' 3: header: '{repeat} commands now' text: |- @@ -556,7 +556,7 @@ levels: code: |- {if} name {is} Hedy {print} 'nice' {else} {print} 'boo!' - debug: true + debug: 'True' 6: header: if and else now text: |- @@ -599,7 +599,7 @@ levels: {print} You chose a round trip ticket' price * 2 {print} 'That will be ' price ' euros please' - debug: true + debug: 'True' 10: header: Let's check out the adventures! text: Enjoy the adventures in level 8! @@ -691,7 +691,7 @@ levels: {else} {print} 'Fun!' {print} 'Thanks for filling in the safety questions everyone. Enjoy your jump!' - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 9! @@ -728,7 +728,7 @@ levels: {add} chosen_person {from} people {print} 'Come and watch our show tonight!' {print} 'Tickets are only available at the counter - debug: true + debug: 'True' 5: header: Time to program! text: Enjoy the adventures in level 10! @@ -765,7 +765,7 @@ levels: {repeat} {for} numbers {in} {range} 1 {to} 10 {times} {print} This is the table of multiplications for factor {print} number ' x ' factor ' = ' i * factor - debug: true + debug: 'True' 5: header: Let's start programming! text: Enjoy the adventures in level 11! @@ -830,7 +830,7 @@ levels: {call} new member {else} password = {ask} 'Please enter password' - debug: true + debug: 'True' 8: header: Ready to try it out? text: Enjoy the adventures in level 12! @@ -940,7 +940,7 @@ levels: {call} happiness {with} person {else} mood = sad {define} sadness {to} name - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 13! @@ -1022,7 +1022,7 @@ levels: {print} 'Shame.. I wont buy it' {else} {print} 'I will buy it! Thank you!' - debug: true + debug: 'True' 7: header: Let's get to work! text: Enjoy the adventures in level 14! @@ -1120,6 +1120,8 @@ levels: {print} 'Do you even know this person?!' debug: 'True' 4: + text: Enjoy the adventures in level 16! + header: Let's try it out! 17: 1: header: Welcome to level 17 @@ -1171,6 +1173,8 @@ levels: {sleep} debug: 'True' 5: + header: Let's try it out! + text: Enjoy the adventures in level 17! 18: 1: header: Welcome to level 18 diff --git a/content/slides/uk.yaml b/content/slides/uk.yaml index 6cc84c43431..9e31e5399bb 100644 --- a/content/slides/uk.yaml +++ b/content/slides/uk.yaml @@ -123,7 +123,7 @@ levels: {print} What song would you like to hear? {ask} I like that song too! {print} Next up... {echo} - debug: true + debug: 'True' 13: header: Let the programming fun begin! text: Enjoy the adventures in level 1! @@ -192,7 +192,7 @@ levels: {print} I'll go get your donut. {sleep} {print} Here you go! A filling donut with toping! {ask} Have a nice day! - debug: true + debug: 'True' 8: header: Let the programming fun begin! text: Enjoy the adventures in level 2! @@ -257,7 +257,7 @@ levels: {print} or do you prefer... second_choice {at} {random} {remove} second_choice {to} music_genres {print} I like music_genre {random} best! - debug: true + debug: 'True' 8: header: Let's get to work! text: Enjoy the adventures in level 3! @@ -272,7 +272,7 @@ levels: code: |- name {is} Sophie {print} My name is name - debug: true + debug: 'True' 3: header: Fixing it with quotation marks text: |- @@ -310,7 +310,7 @@ levels: Please try to print a contraction like "you're" or "I'm" in the screen below and see what happens.... code: '{print} ''This won''t work!''' - debug: true + debug: 'True' 9: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -335,7 +335,7 @@ levels: colors {is} 'orange, silver, white, brown' {print} 'I love the colors {at} {random} one!' choice {is} {ask} Which one do you like? - debug: true + debug: 'True' 11: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -358,7 +358,7 @@ levels: When using the `{if}` command, don't forget to use the `{print}` command. This code will not work! code: '{if} name {is} Hedy ''nice''' - debug: true + debug: 'True' 4: header: else text: |- @@ -404,7 +404,7 @@ levels: item_to_declare {is} {ask} 'What would you like to declare' {else} Alright {print} Thank you. Please head to gate A22.' - debug: true + debug: 'True' 8: header: Let's go! text: Enjoy the adventures in level 5! @@ -469,7 +469,7 @@ levels: {if} day {is} monday total_price = total_price * 0.25 {print} 'That will be total_price please' - debug: true + debug: 'True' 10: header: Let's get to work! text: Enjoy the adventures in level 6! @@ -492,7 +492,7 @@ levels: header: Don't forget the print command text: When using the repeat command, do not forget the `{print}` command. code: '{repeat} 5 {times} ''Help!''' - debug: true + debug: 'True' 4: header: Repeat an ask command text: You can also repeat an `{ask}`, `{if}` or `{else}` command multiple times. @@ -514,7 +514,7 @@ levels: {if} yes {print} 'Hurray! {else} 'That's a shame... Oh well... time to build a shelter and find some food.' - debug: true + debug: 'True' 6: header: Ready Set Go! text: Enjoy the adventures in level 7! @@ -529,7 +529,7 @@ levels: You could only repeat one line of code. code: '{repeat} 5 {times} {print} ''Help!''' - debug: true + debug: 'True' 3: header: '{repeat} commands now' text: |- @@ -558,7 +558,7 @@ levels: code: |- {if} name {is} Hedy {print} 'nice' {else} {print} 'boo!' - debug: true + debug: 'True' 6: header: if and else now text: |- @@ -601,7 +601,7 @@ levels: {print} You chose a round trip ticket' price * 2 {print} 'That will be ' price ' euros please' - debug: true + debug: 'True' 10: header: Let's check out the adventures! text: Enjoy the adventures in level 8! @@ -693,7 +693,7 @@ levels: {else} {print} 'Fun!' {print} 'Thanks for filling in the safety questions everyone. Enjoy your jump!' - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 9! @@ -730,7 +730,7 @@ levels: {add} chosen_person {from} people {print} 'Come and watch our show tonight!' {print} 'Tickets are only available at the counter - debug: true + debug: 'True' 5: header: Time to program! text: Enjoy the adventures in level 10! @@ -767,7 +767,7 @@ levels: {repeat} {for} numbers {in} {range} 1 {to} 10 {times} {print} This is the table of multiplications for factor {print} number ' x ' factor ' = ' i * factor - debug: true + debug: 'True' 5: header: Let's start programming! text: Enjoy the adventures in level 11! @@ -832,7 +832,7 @@ levels: {call} new member {else} password = {ask} 'Please enter password' - debug: true + debug: 'True' 8: header: Ready to try it out? text: Enjoy the adventures in level 12! @@ -942,7 +942,7 @@ levels: {call} happiness {with} person {else} mood = sad {define} sadness {to} name - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 13! @@ -1024,7 +1024,7 @@ levels: {print} 'Shame.. I wont buy it' {else} {print} 'I will buy it! Thank you!' - debug: true + debug: 'True' 7: header: Let's get to work! text: Enjoy the adventures in level 14! @@ -1122,6 +1122,8 @@ levels: {print} 'Do you even know this person?!' debug: 'True' 4: + text: Enjoy the adventures in level 16! + header: Let's try it out! 17: 1: header: Welcome to level 17 @@ -1173,6 +1175,8 @@ levels: {sleep} debug: 'True' 5: + header: Let's try it out! + text: Enjoy the adventures in level 17! 18: 1: header: Welcome to level 18 diff --git a/content/slides/ur.yaml b/content/slides/ur.yaml index f17b7439292..500760e5b0f 100644 --- a/content/slides/ur.yaml +++ b/content/slides/ur.yaml @@ -121,7 +121,7 @@ levels: {print} What song would you like to hear? {ask} I like that song too! {print} Next up... {echo} - debug: true + debug: 'True' 13: header: Let the programming fun begin! text: Enjoy the adventures in level 1! @@ -190,7 +190,7 @@ levels: {print} I'll go get your donut. {sleep} {print} Here you go! A filling donut with toping! {ask} Have a nice day! - debug: true + debug: 'True' 8: header: Let the programming fun begin! text: Enjoy the adventures in level 2! @@ -255,7 +255,7 @@ levels: {print} or do you prefer... second_choice {at} {random} {remove} second_choice {to} music_genres {print} I like music_genre {random} best! - debug: true + debug: 'True' 8: header: Let's get to work! text: Enjoy the adventures in level 3! @@ -270,7 +270,7 @@ levels: code: |- name {is} Sophie {print} My name is name - debug: true + debug: 'True' 3: header: Fixing it with quotation marks text: |- @@ -308,7 +308,7 @@ levels: Please try to print a contraction like "you're" or "I'm" in the screen below and see what happens.... code: '{print} ''This won''t work!''' - debug: true + debug: 'True' 9: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -333,7 +333,7 @@ levels: colors {is} 'orange, silver, white, brown' {print} 'I love the colors {at} {random} one!' choice {is} {ask} Which one do you like? - debug: true + debug: 'True' 11: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -356,7 +356,7 @@ levels: When using the `{if}` command, don't forget to use the `{print}` command. This code will not work! code: '{if} name {is} Hedy ''nice''' - debug: true + debug: 'True' 4: header: else text: |- @@ -402,7 +402,7 @@ levels: item_to_declare {is} {ask} 'What would you like to declare' {else} Alright {print} Thank you. Please head to gate A22.' - debug: true + debug: 'True' 8: header: Let's go! text: Enjoy the adventures in level 5! @@ -467,7 +467,7 @@ levels: {if} day {is} monday total_price = total_price * 0.25 {print} 'That will be total_price please' - debug: true + debug: 'True' 10: header: Let's get to work! text: Enjoy the adventures in level 6! @@ -490,7 +490,7 @@ levels: header: Don't forget the print command text: When using the repeat command, do not forget the `{print}` command. code: '{repeat} 5 {times} ''Help!''' - debug: true + debug: 'True' 4: header: Repeat an ask command text: You can also repeat an `{ask}`, `{if}` or `{else}` command multiple times. @@ -512,7 +512,7 @@ levels: {if} yes {print} 'Hurray! {else} 'That's a shame... Oh well... time to build a shelter and find some food.' - debug: true + debug: 'True' 6: header: Ready Set Go! text: Enjoy the adventures in level 7! @@ -527,7 +527,7 @@ levels: You could only repeat one line of code. code: '{repeat} 5 {times} {print} ''Help!''' - debug: true + debug: 'True' 3: header: '{repeat} commands now' text: |- @@ -556,7 +556,7 @@ levels: code: |- {if} name {is} Hedy {print} 'nice' {else} {print} 'boo!' - debug: true + debug: 'True' 6: header: if and else now text: |- @@ -599,7 +599,7 @@ levels: {print} You chose a round trip ticket' price * 2 {print} 'That will be ' price ' euros please' - debug: true + debug: 'True' 10: header: Let's check out the adventures! text: Enjoy the adventures in level 8! @@ -691,7 +691,7 @@ levels: {else} {print} 'Fun!' {print} 'Thanks for filling in the safety questions everyone. Enjoy your jump!' - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 9! @@ -728,7 +728,7 @@ levels: {add} chosen_person {from} people {print} 'Come and watch our show tonight!' {print} 'Tickets are only available at the counter - debug: true + debug: 'True' 5: header: Time to program! text: Enjoy the adventures in level 10! @@ -765,7 +765,7 @@ levels: {repeat} {for} numbers {in} {range} 1 {to} 10 {times} {print} This is the table of multiplications for factor {print} number ' x ' factor ' = ' i * factor - debug: true + debug: 'True' 5: header: Let's start programming! text: Enjoy the adventures in level 11! @@ -830,7 +830,7 @@ levels: {call} new member {else} password = {ask} 'Please enter password' - debug: true + debug: 'True' 8: header: Ready to try it out? text: Enjoy the adventures in level 12! @@ -940,7 +940,7 @@ levels: {call} happiness {with} person {else} mood = sad {define} sadness {to} name - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 13! @@ -1022,7 +1022,7 @@ levels: {print} 'Shame.. I wont buy it' {else} {print} 'I will buy it! Thank you!' - debug: true + debug: 'True' 7: header: Let's get to work! text: Enjoy the adventures in level 14! @@ -1120,6 +1120,8 @@ levels: {print} 'Do you even know this person?!' debug: 'True' 4: + text: Enjoy the adventures in level 16! + header: Let's try it out! 17: 1: header: Welcome to level 17 @@ -1171,6 +1173,8 @@ levels: {sleep} debug: 'True' 5: + header: Let's try it out! + text: Enjoy the adventures in level 17! 18: 1: header: Welcome to level 18 diff --git a/content/slides/vi.yaml b/content/slides/vi.yaml index 7e84d66cbeb..dc100e4fd29 100644 --- a/content/slides/vi.yaml +++ b/content/slides/vi.yaml @@ -1120,6 +1120,8 @@ levels: {print} 'Do you even know this person?!' debug: 'True' 4: + text: Enjoy the adventures in level 16! + header: Let's try it out! 17: 1: header: Welcome to level 17 @@ -1171,6 +1173,8 @@ levels: {sleep} debug: 'True' 5: + header: Let's try it out! + text: Enjoy the adventures in level 17! 18: 1: header: Welcome to level 18 diff --git a/content/slides/zh_Hant.yaml b/content/slides/zh_Hant.yaml index 041f16037b5..fa5f0ab8d6b 100644 --- a/content/slides/zh_Hant.yaml +++ b/content/slides/zh_Hant.yaml @@ -121,7 +121,7 @@ levels: {print} What song would you like to hear? {ask} I like that song too! {print} Next up... {echo} - debug: true + debug: 'True' 13: header: Let the programming fun begin! text: Enjoy the adventures in level 1! @@ -190,7 +190,7 @@ levels: {print} I'll go get your donut. {sleep} {print} Here you go! A filling donut with toping! {ask} Have a nice day! - debug: true + debug: 'True' 8: header: Let the programming fun begin! text: Enjoy the adventures in level 2! @@ -255,7 +255,7 @@ levels: {print} or do you prefer... second_choice {at} {random} {remove} second_choice {to} music_genres {print} I like music_genre {random} best! - debug: true + debug: 'True' 8: header: Let's get to work! text: Enjoy the adventures in level 3! @@ -270,7 +270,7 @@ levels: code: |- name {is} Sophie {print} My name is name - debug: true + debug: 'True' 3: header: Fixing it with quotation marks text: |- @@ -308,7 +308,7 @@ levels: Please try to print a contraction like "you're" or "I'm" in the screen below and see what happens.... code: '{print} ''This won''t work!''' - debug: true + debug: 'True' 9: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -333,7 +333,7 @@ levels: colors {is} 'orange, silver, white, brown' {print} 'I love the colors {at} {random} one!' choice {is} {ask} Which one do you like? - debug: true + debug: 'True' 11: header: Ready, Set, Go! text: Enjoy the adventures in level 4! @@ -356,7 +356,7 @@ levels: When using the `{if}` command, don't forget to use the `{print}` command. This code will not work! code: '{if} name {is} Hedy ''nice''' - debug: true + debug: 'True' 4: header: else text: |- @@ -402,7 +402,7 @@ levels: item_to_declare {is} {ask} 'What would you like to declare' {else} Alright {print} Thank you. Please head to gate A22.' - debug: true + debug: 'True' 8: header: Let's go! text: Enjoy the adventures in level 5! @@ -467,7 +467,7 @@ levels: {if} day {is} monday total_price = total_price * 0.25 {print} 'That will be total_price please' - debug: true + debug: 'True' 10: header: Let's get to work! text: Enjoy the adventures in level 6! @@ -490,7 +490,7 @@ levels: header: Don't forget the print command text: When using the repeat command, do not forget the `{print}` command. code: '{repeat} 5 {times} ''Help!''' - debug: true + debug: 'True' 4: header: Repeat an ask command text: You can also repeat an `{ask}`, `{if}` or `{else}` command multiple times. @@ -512,7 +512,7 @@ levels: {if} yes {print} 'Hurray! {else} 'That's a shame... Oh well... time to build a shelter and find some food.' - debug: true + debug: 'True' 6: header: Ready Set Go! text: Enjoy the adventures in level 7! @@ -527,7 +527,7 @@ levels: You could only repeat one line of code. code: '{repeat} 5 {times} {print} ''Help!''' - debug: true + debug: 'True' 3: header: '{repeat} commands now' text: |- @@ -556,7 +556,7 @@ levels: code: |- {if} name {is} Hedy {print} 'nice' {else} {print} 'boo!' - debug: true + debug: 'True' 6: header: if and else now text: |- @@ -599,7 +599,7 @@ levels: {print} You chose a round trip ticket' price * 2 {print} 'That will be ' price ' euros please' - debug: true + debug: 'True' 10: header: Let's check out the adventures! text: Enjoy the adventures in level 8! @@ -691,7 +691,7 @@ levels: {else} {print} 'Fun!' {print} 'Thanks for filling in the safety questions everyone. Enjoy your jump!' - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 9! @@ -728,7 +728,7 @@ levels: {add} chosen_person {from} people {print} 'Come and watch our show tonight!' {print} 'Tickets are only available at the counter - debug: true + debug: 'True' 5: header: Time to program! text: Enjoy the adventures in level 10! @@ -765,7 +765,7 @@ levels: {repeat} {for} numbers {in} {range} 1 {to} 10 {times} {print} This is the table of multiplications for factor {print} number ' x ' factor ' = ' i * factor - debug: true + debug: 'True' 5: header: Let's start programming! text: Enjoy the adventures in level 11! @@ -830,7 +830,7 @@ levels: {call} new member {else} password = {ask} 'Please enter password' - debug: true + debug: 'True' 8: header: Ready to try it out? text: Enjoy the adventures in level 12! @@ -940,7 +940,7 @@ levels: {call} happiness {with} person {else} mood = sad {define} sadness {to} name - debug: true + debug: 'True' 9: header: Let's go! text: Enjoy the adventures in level 13! @@ -1022,7 +1022,7 @@ levels: {print} 'Shame.. I wont buy it' {else} {print} 'I will buy it! Thank you!' - debug: true + debug: 'True' 7: header: Let's get to work! text: Enjoy the adventures in level 14! @@ -1120,6 +1120,8 @@ levels: {print} 'Do you even know this person?!' debug: 'True' 4: + text: Enjoy the adventures in level 16! + header: Let's try it out! 17: 1: header: Welcome to level 17 @@ -1171,6 +1173,8 @@ levels: {sleep} debug: 'True' 5: + header: Let's try it out! + text: Enjoy the adventures in level 17! 18: 1: header: Welcome to level 18 From 362991c9922a7d62ed7640cffbeb0ebe2f64cf48 Mon Sep 17 00:00:00 2001 From: Rico Hermans Date: Mon, 22 Apr 2024 12:58:41 +0200 Subject: [PATCH 8/9] =?UTF-8?q?=F0=9F=9A=9A=20Fix=20Weblate=20merge=20conf?= =?UTF-8?q?lict=20resolution=20script=20(#5445)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Weblate merge conflict resolution script begins with normalizing the YAML files on Weblate's branch before merging `main` (which is always normalized). However, because we left out `--allow-empty`, it would fail if there was nothing to normalize. Allow creating an empty commit if there's nothing to normalize, the empty commit will be squashed away anyway. --- tools/merge-weblate-resolving-conflicts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/merge-weblate-resolving-conflicts.sh b/tools/merge-weblate-resolving-conflicts.sh index 50e0e825ed3..41478e18bd8 100644 --- a/tools/merge-weblate-resolving-conflicts.sh +++ b/tools/merge-weblate-resolving-conflicts.sh @@ -11,7 +11,7 @@ git checkout -B weblate-hedy-adventures-conflicts weblate-main/main # Normalize files in Weblate main repo doit run _autopr _autopr_weblate -git commit -am 'Normalize Weblate branch' +git commit -am 'Normalize Weblate branch' --allow-empty # Merge from origin, preferring Weblate's changes git fetch origin From c56a94c446760c4bbf933ce1fe0ecba71f7b0fac Mon Sep 17 00:00:00 2001 From: hedybot <126710467+hedybot@users.noreply.github.com> Date: Mon, 22 Apr 2024 13:39:56 +0200 Subject: [PATCH 9/9] Translations from Hosted Weblate (#5447) This PR merges pending commits from the Weblate repository that are conflicting with changes on `main`, while resolving conflicts in favor of the Weblate side. --- content/adventures/zh_Hans.yaml | 12 ++++++--- content/slides/ar.yaml | 2 +- content/slides/hu.yaml | 2 +- content/slides/ja.yaml | 2 +- content/slides/kmr.yaml | 2 +- content/slides/pa_PK.yaml | 2 +- content/slides/sq.yaml | 2 +- content/slides/uk.yaml | 2 +- content/slides/zh_Hans.yaml | 44 ++++++++++++++++----------------- 9 files changed, 37 insertions(+), 33 deletions(-) diff --git a/content/adventures/zh_Hans.yaml b/content/adventures/zh_Hans.yaml index 85bebe6c127..da1d7044127 100644 --- a/content/adventures/zh_Hans.yaml +++ b/content/adventures/zh_Hans.yaml @@ -1923,10 +1923,12 @@ adventures: ### 练习 这首歌的下一节是: + ```not_hedy_code 昨晚我躺在枕头上的时候 昨晚我躺在床上的时候 昨晚我躺在枕头上的时候 我梦见我的邦妮死去了 + ``` 你能用和示例同样的方法编写这段诗句吗? example_code: | @@ -5062,11 +5064,13 @@ adventures: 12: story_text: | ### 练习 - 用乌龟重新绘制图纸! - 提示:手镯设计程序。首先,为手镯上要使用的每个形状定义一个函数。然后,将形状添加到手镯中,如下所示: - - 手镯设计程序 + 用乌龟重新绘制图画! + + 首先,为您想要在手环上使用的每种形状**定义一个函数。 然后,将形状添加到手镯中,如下所示: + + 手链设计程序 example_code: | + 提示手链设计程序 ``` {define} draw_a_square _ diff --git a/content/slides/ar.yaml b/content/slides/ar.yaml index 993f492267d..914e23fdd66 100644 --- a/content/slides/ar.yaml +++ b/content/slides/ar.yaml @@ -1121,8 +1121,8 @@ levels: {print} 'Do you even know this person?!' debug: 'True' 4: - text: Enjoy the adventures in level 16! header: Let's try it out! + text: Enjoy the adventures in level 16! 17: 1: header: Welcome to level 17 diff --git a/content/slides/hu.yaml b/content/slides/hu.yaml index 924bfc0aa1d..c29d97f1d14 100644 --- a/content/slides/hu.yaml +++ b/content/slides/hu.yaml @@ -1120,8 +1120,8 @@ levels: {print} 'Do you even know this person?!' debug: 'True' 4: - text: Enjoy the adventures in level 16! header: Let's try it out! + text: Enjoy the adventures in level 16! 17: 1: header: Welcome to level 17 diff --git a/content/slides/ja.yaml b/content/slides/ja.yaml index e1ccd60adaa..f2248504006 100644 --- a/content/slides/ja.yaml +++ b/content/slides/ja.yaml @@ -1120,8 +1120,8 @@ levels: {print} 'Do you even know this person?!' debug: 'True' 4: - text: Enjoy the adventures in level 16! header: Let's try it out! + text: Enjoy the adventures in level 16! 17: 1: header: Welcome to level 17 diff --git a/content/slides/kmr.yaml b/content/slides/kmr.yaml index 36f4b394f20..6d1e0f19fc6 100644 --- a/content/slides/kmr.yaml +++ b/content/slides/kmr.yaml @@ -1118,8 +1118,8 @@ levels: {print} 'Do you even know this person?!' debug: 'True' 4: - text: Enjoy the adventures in level 16! header: Let's try it out! + text: Enjoy the adventures in level 16! 17: 1: header: Welcome to level 17 diff --git a/content/slides/pa_PK.yaml b/content/slides/pa_PK.yaml index 93034dd498b..fa5f0ab8d6b 100644 --- a/content/slides/pa_PK.yaml +++ b/content/slides/pa_PK.yaml @@ -1120,8 +1120,8 @@ levels: {print} 'Do you even know this person?!' debug: 'True' 4: - header: Let's try it out! text: Enjoy the adventures in level 16! + header: Let's try it out! 17: 1: header: Welcome to level 17 diff --git a/content/slides/sq.yaml b/content/slides/sq.yaml index fa5f0ab8d6b..93034dd498b 100644 --- a/content/slides/sq.yaml +++ b/content/slides/sq.yaml @@ -1120,8 +1120,8 @@ levels: {print} 'Do you even know this person?!' debug: 'True' 4: - text: Enjoy the adventures in level 16! header: Let's try it out! + text: Enjoy the adventures in level 16! 17: 1: header: Welcome to level 17 diff --git a/content/slides/uk.yaml b/content/slides/uk.yaml index 9e31e5399bb..caf70a2ffd9 100644 --- a/content/slides/uk.yaml +++ b/content/slides/uk.yaml @@ -1175,8 +1175,8 @@ levels: {sleep} debug: 'True' 5: - header: Let's try it out! text: Enjoy the adventures in level 17! + header: Let's try it out! 18: 1: header: Welcome to level 18 diff --git a/content/slides/zh_Hans.yaml b/content/slides/zh_Hans.yaml index 26072f9836b..2eb535178eb 100644 --- a/content/slides/zh_Hans.yaml +++ b/content/slides/zh_Hans.yaml @@ -1069,18 +1069,18 @@ levels: guesses = 10 {while} guess = 0 - answer = 'Guess my number:' + answer = '猜猜我的数字:' {if} answer >= random_number - {print} 'lower' + {print} '小了' guesses = guesses -1 {if} answer > random_number - {print} 'higher!' + {print} '大了!' guesses = guesses {else} answer = random_number - {print} 'correct' + {print} '对了' guesses = 10 - debug: 'True' + debug: '对的' 4: header: 让我们开始尝试! text: 享受15级的冒险吧! @@ -1104,35 +1104,35 @@ levels: header: Debugging text: Let's debug this code! code: |- - {print} 'Friendship test' + {print} '友情测试' {subjects} = ['song', 'movie', 'food', 'drink'] answers_player_1 = [] answers_player_2 = [] score = 100 {for} i {in} {range} 1 {to} 4 - answer = {ask} 'what is your favorite ' subjects[i] + answer = {ask} '你最爱的' subjects[i] {add} answer {to} answers_player_1 - {print} 'Player 2, your turn!' + {print} '玩家2,轮到你了!' {for} i {in} {range} 0 {to} 4 - answer_player_2 = {ask} 'what is player 1s favorite ' subjects + answer_player_2 = {ask} '什么是玩家1 最喜爱的 ' subjects {add} answer_player_2 {in} answers_player_2 {if} answers_player_2[2] == answers_player_1[1] - {print} 'Correct!' + {print} '对了!' {else} - {print} 'Wrong!' + {print} '错了!' score = score - 25 - {print} 'Player 2, you've scored ' score '%' + {print} '玩家2,你的分数 ' score '%' {if} score = 100 - {print} 'You are an amazing friend' + {print} '你是位超赞的朋友' {if} score < 100 {or} score >= 50 - {print} 'You could do better' + {print} '你能作的更好' {else} score < 50 - {print} 'Do you even know this person?!' - debug: 'True' + {print} '你真的认识这个人吗?!' + debug: '对的' 4: header: 让我们开始尝试! text: 享受16级的冒险吧! @@ -1169,12 +1169,12 @@ levels: text: Let's debug this code! code: |- {define} ask_direction - direction = {ask} 'Where do you want to go?' - {if} direction = 'backwards' + direction = {ask} '你想去哪里?' + {if} direction = '后退' {turn} 180 - {else} direction == 'right' + {else} direction == '右' {turn} 90 - {else} direction == 'left' + {else} direction == '左' {turn} 270 {forward} 100 @@ -1183,9 +1183,9 @@ levels: {while} continue == 'yes' {print} ask_direction {sleep} - continue = 'do you want to draw some more?' + continue = '你想再画一些吗?' {sleep} - debug: 'True' + debug: '对的' 5: header: 我们来试一下! text: 享受第17关的冒险吧!