Skip to content

Commit

Permalink
Merge branch 'main' into Delete-old-teacher-file
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored Sep 14, 2023
2 parents 25d0f0e + 63bb3f5 commit 8147e63
Show file tree
Hide file tree
Showing 106 changed files with 11,538 additions and 11,002 deletions.
8 changes: 4 additions & 4 deletions content/achievements/pt_BR.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,8 @@ achievements:
Criar um programa que resulte em uma advertência (não vazia)
one_for_money:
title: "One for the Money, Two for the Show"
text: |-
Duplicate a class
text: |
Duplicar classe
hedy_certificate:
title: Hedy Certificate of Completion
text: Hedy Certificate of Completion
title: Certificado Hedy de Conclusão
text: Certificado Hedy de Conclusão
420 changes: 210 additions & 210 deletions content/adventures/es.yaml

Large diffs are not rendered by default.

150 changes: 78 additions & 72 deletions content/adventures/fr.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/cheatsheets/pt_BR.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
{if} resposta {is} longe {forward} 100 {else} {forward} 5
- name: '{in}'
explanation: Verifique elementos com `{in}`.
demo_code: "cores_bonitas {is} verde, amarelo\ncor {is} {ask} 'Qual é a sua cor favorita?'\n{if} cor {in} cores_bonitas {print} 'bonita!' {else} {print} 'não gostei'"
demo_code: "cores_bonitas {is} verde, amarelo\ncor {is} {ask} 'Qual {is} a sua cor favorita?'\n{if} cor {in} cores_bonitas {print} 'bonita!' {else} {print} 'não gostei'"
- name: '{pressed}'
explanation: Verifique se uma determinada tecla no teclado está `{pressed}`.
demo_code: "{if} a {is} {pressed} {print} 'Você apertou A!' {else} {print} 'Você apertou outra tecla!'"
Expand Down
24 changes: 12 additions & 12 deletions content/keywords/da.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@ def: def
call: call
with: with
print: print
ask: ask
echo: echo
forward: forward
turn: turn
color: color
black: black
blue: blue
brown: brown
gray: gray
green: green
ask: spørg
echo: ekko
forward: fremad
turn: drej
color: farve
black: sort
blue: blå
brown: brun
gray: grå
green: grøn
orange: orange
pink: pink
purple: purple
pink: lyserød
purple: lila
red: red
white: white
yellow: yellow
Expand Down
6 changes: 3 additions & 3 deletions content/keywords/pt_BR.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ orange: laranja
pink: rosa
white: branco
yellow: amarelo
pressed: pressed
pressed: apertado
button: button
not in: not in
not in: não em
comma: ','
clear: clear
clear: limpar
32 changes: 16 additions & 16 deletions content/keywords/tr.yaml
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
return: return
define: define
def: def
call: call
with: with
return: geridön
define: tanımla
def: tanı
call: çağır
with: ile
forward: ileri
turn: döndür
print: yazdır
ask: sor
echo: eko
echo: yankıla
right: sağ
left: sol
is: eşit
sleep: bekle
sleep: uyu
add: ekle
to_list: to
to_list: şuraya
remove: sil
from: şuradan
at: şurada
random: rastgele
in: içinde
if: eğer
else: başka
else: değilse
and: ve
repeat: tekrar
repeat: tekrarla
times: kere
for: şunun için
range: dizi
for: için
range: aralık
to: şuraya
step: adım
elif: elif
elif: değilseeğer
input: girdi
or: veya
while: iken
Expand Down Expand Up @@ -58,6 +58,6 @@ red: kırmızı
white: beyaz
yellow: sarı
pressed: basılı
button: button
not in: değil
clear: temiz
button: düğme
not in: içinde değil
clear: temizle
4 changes: 2 additions & 2 deletions content/keywords/ur.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ times: دفعہ
for: فی
range: حد
to: سے
step: step
step: قدم
elif: یااگر
input: بتاؤ
or: یا
while: جبتک
length: length
length: لمبائی
d1: '1'
d2: '2'
d3: '3'
Expand Down
730 changes: 375 additions & 355 deletions content/pages/es.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/pages/ru.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ sections:
We use this structure in our lessons: Introduction, New concepts and commands, let's get to work, puzzels and quizzes.
- title: "Слайды"
text: |
**COMING SOON** Here you'll soon find slides to use in your lessons.
**УЖЕ СКОРО** Cкоро вы здесь найдете слайды для использования на ваших уроках.
- title: "Введение"
text: |
You can start your lessons by activating your students' prior knowledge: What do they already know about the subject, what did they learn in the previous lesson and which mistakes did they make that they've now learned from?
Expand Down
176 changes: 88 additions & 88 deletions content/parsons/pt_BR.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,37 +6,37 @@ levels:
Você entra na padaria e é recebido pelo padeiro.
Ele pergunta que tipo de torta você quer pedir.
Em seguida, seu pedido está sendo preparado.
code: |
{print} Welcome to bakery Hedy!
{ask} What type of pie do you want to order?
{echo} So you want
{print} Your order is being prepared!
code: |-
{print} Bem-vindo à padaria Hedy!
{ask} Qual tipo de torta você quer pedir?
{echo} Então você quer
{print} Seu pedido está sendo preparado!
2:
story: |
You're at the DJ Booth requesting a song. Create a program that asks if you are ready to party and then asks which song you would like to hear.
code: |
{print} This is DJ Hedy
{ask} Are you ready to party?
{ask} What song would you like to hear?
{echo} Great choice! I love
code: |-
{print} Aqui é a DJ Hedy
{ask} Você tá pronto pra festa?
{ask} Qual música você gostaria de ouvir?
{echo} Ótima escolha! Eu amo essa
2:
1:
story: |
You and your friends are going to watch some Netflix.
Show which movie you're about to watch and wish the viewers lot of fun!
code: |
{print} It is time for an evening of Netflix
film {is} Sonic the Hedgehog 2
{print} We're going to film
{print} Have fun!
code: |-
{print} Está na hora para uma tarde de Netflix
filme {is} Sonic the Hedgehog 2
{print} Vamos assistir o filme
{print} Se divirta!
2:
story: |
This is the webshop of a toy store. Create a program where costumers can add an item to their shopping cart.
code: |
{print} Welcome to our toystore
toy {is} {ask} What would you like to buy?
{print} The toy is added to your shopping cart.
{print} Thank you for shopping with us!
code: |-
{print} Bem-vindo à nossa loja de brinquedo
Brinquedo {is} {ask} O que você gostaria de comprar?
{print} O brinquedo foi adicionado no seu carrinho de compra.
{print} Obrigado por comprar conosco!
3:
1:
story: |
Expand All @@ -45,121 +45,121 @@ levels:
Which house will you be sorted into?
Are you a Gryffindor, Hufflepuf, Ravenclaw or Slytherin.
Let the program wait a short period before revealing your house.
code: |
{print} The new school year at Hogwarts is starting!
{print} The sorting hat is ready to sort you into a Hogwarts house.
houses {is} Gryffindor, Hufflepuf, Ravenclaw, Slytherin
code: |-
{print} O novo ano escolar de Hogwarts está começando!
{print} O chapeu seletor está pronto para escolher uma casa para você.
As casas são {is} Grifinória, Lufa-Lufa, Corvinal, Sonserina
{sleep} 2
{print} And it is houses {at} {random}
{print} E a casa é {at} {random}
2:
story: |
Create a program that chooses a random meal for you. Make a list of food and a list of toppings and let the program decide what you'll have!
code: |
food {is} pizza, icecream, salad, sandwich
toppings {is} chocolate, cheese, tuna, sprinkles
{print} Your random meal for today is...
sleep 2
{print} food at random with toppings at random
code: |-
comida {is} pizza, sorvete, salada, sanduiche
cobertura {is} chocolate, queijo, atum, granulado
{print} Sua comida aleatória de hoje é...
{sleep} 2
{print} comida {at} {random} com cobertura {at} {random}
4:
1:
story: |
You are the newest Pokémon trainer from Pallet Town!
Make a program that selects your first Pokémon.
Let the program wait a minute before revealing your first pokémon.
code: |
pokemons {is} Pikachu, Charmander, Bulbasaur, Squirtle
{print} 'This is going to be your first pokémon!'
code: |-
pokemons {is} Pikachu, Charmander, Bulbassauro, Squirtle
{print} 'Esse vai ser seu primeiro pokémon!'
{sleep}
{print} pokemons {at} {random}
2:
story: |
Create a lottery that lets you choose an extra price that you might win.
code: |
prices {is} car, hamster, 1 million euros
price {is} {ask} 'What would you like to win?'
{add} price {to_list} prices
{print} 'You won a ' prices {at} {random}
code: |-
premios {is} carro, hamster, 1 milhão de reais
premio {is} {ask} 'O que você gostaria de ganhar?'
{add} premio {to_list} premios
{print} 'Você ganhou um' premios {at} {random}
5:
1:
story: |
Make a program that checks if your favourite movie is already in the list of the computer.
If so, print that you have great taste, otherwise add the movie to the list.
code: |
favoriete_movies {is} Batman, Spiderman, The Avengers, Jurassic Park
movie {is} {ask} 'What is your favourite movie?'
{if} movie {in} favoriete_movies {print} 'You have great taste!'
{else} {print} 'Such a shame that your favourite movie is not in the list, we will add it right away!'
{add} movie {to_list} favoriete_movies
code: |-
filmes_favoritos {is} Batman, Homem Aranha, Os vingadores, Jurassic Park
filme {is} {ask} 'Qual seu filme favorito?'
{if} filme {in} filmes_favoritos {print} 'Você tem um bom gosto!'
{else} {print} 'Que pena que seu filme favorito não está na lista, vamos adiciona-lo pra já!'
{add} filme {to_list} filmes_favoritos
2:
story: |
Create a maths game.
code: |
{print} 'Solve this problem'
answer {is} {ask} '88 - 16 = ?'
{if} answer {is} 72 {print} 'Correct!'
{else} print 'Wrong! The answer was 72'
code: |-
{print} 'Resolve essa problema'
resposta {is} {ask} '88 - 16 = ?'
{if} resposta {is} 72 {print} 'Certo!'
{else} {print} 'Errado! A resposta era 72'
6:
1:
story: |
Make a program that calculates how old you are in dog and cat years.
First ask the age of the user and start calculating.
First calculate the dogyears then the catyears.
Show the user the different ages.
code: |
age = {ask} 'How old are you?'
dog_age = age * 7
cat_age = age * 5
{print} 'In dogyears you are ' dog_age ' years old.'
{print} 'In catyears you are ' cat_age ' years old.'
code: |-
idade = {ask} 'Qual sua idade?'
idade_cachorro = idade * 7
idade_gato = idade * 5
{print} 'Em anos de cachorro você tem ' dog_age ' anos.'
{print} 'Em anos de gato você tem ' cat_age ' anos.'
2:
story: |
Create a program that helps you calculate how many cakes you should buy for your birthday party.
code: |
{print} 'It is your birthday!'
people = {ask} 'How many people do you want to give a slice of cake?'
cakes_amount is people/8
{print} 'You will have to buy ' cakes_amount ' cakes'
code: |-
{print} 'Quando é seu aniversário!'
pessoas = {ask} 'Você gostaria de dar um pedaço de bolo para quantas pessoas?'
fatia_de_bolo {is} pessoas/8
{print} 'Você vai precisar comprar ' fatia_de_bolo ' fatias de bolo'
7:
1:
story: |
In a chess tournament there are three players left.
Create a program that decides which two players first play against each other.
First print the two players who play the first match, then print against which player the winner will play.
code: |
players = Liam, Noah, Sophie
player1 = players {at} {random}
{remove} player1 {from} players
player2 = players {at} {random}
{print} player1 ' first plays against ' player2
{remove} player2 {from} players
{print} 'The winner plays against ' players {at} {random}
code: |-
jogadores = João, Marcos, Sofia
jogador_1 = jogadores {at} {random}
{remove} jogador_1 {from} jogadores
jogador_2 = jogadores {at} {random}
{print} jogador_1 ' joga primeiro contra ' jogador_2
{remove} jogador_2 {from} jogadores
{print} 'O vencedor joga contra ' jogadores {at} {random}
2:
story: |
Create the song 'The wheels on the bus go round and round'
code: |
{print} 'the wheels on the bus go'
{repeat} 3 {times} {print} 'round and round'
{print} 'the wheels of the bus go round and round'
{print} 'all through the town '
code: |-
{print} 'as rodas do ônibus vão'
{repeat} 3 {times} {print} 'girando e girando'
{print} 'as rodas do ônibus vão girando e girando'
{print} 'por toda a cidade'
8:
1:
story: |
You and four other friends are playing Pokémon Go! Create a program that decides in which team each of you will play.
Either red, yellow or blue! Take a little pauze after announcing a team.
code: |
teams = red, yellow, blue
{print} 'Red, Yellow of Blue?'
Você e seus quatro amigos estão jogando Pokémon Go! Crie um programa que decida qual equipe cada um de vocês vai jogar.
Equipe vermelha, amarela ou azul! Dê uma pausa depois de anunciar a equipe.
code: |-
equipes = vermelho, amarelo, azul
{print} 'Vermelho, Amarelo ou Azul?'
{repeat} 5 {times}
{print} 'You are selected in team... '
{print} teams {at} {random}
sleep 2
{print} 'Você está na equipe... '
{print} equipes {at} {random}
sleep 2
2:
story: |
Print the countdown for a game of hide and seek.
Imprima a contagem regressiva para um jogo de esconde-esconde
code: |-
counter = 11
contador = 11
{repeat} 10 {times}
counter = counter - 1
{print} counter
{sleep} 1
{print} 'Ready or not here I come!'
contador = contador - 1
{print} contador
{sleep} 1
{print} 'Pronto ou não aqui vou eu!'
Loading

0 comments on commit 8147e63

Please sign in to comment.