Skip to content

Commit

Permalink
Merge pull request #1486 from Program-AR/limpiandoElHumedal
Browse files Browse the repository at this point in the history
Limpiando el humedal
  • Loading branch information
danielferro69 authored Oct 20, 2023
2 parents 2b95ca5 + 96484f0 commit 613d3e5
Show file tree
Hide file tree
Showing 10 changed files with 90 additions and 0 deletions.
37 changes: 37 additions & 0 deletions app/services/blocks-gallery.js
Original file line number Diff line number Diff line change
Expand Up @@ -784,6 +784,43 @@ export default Service.extend({
}`,
});

this.crearBloqueAccion('Colocar', 'putIntoTheTrash', {
icono: 'icono.tacho.png',
comportamiento: 'Soltar',
argumentos: `{
idTransicion: "colocar",
etiqueta: "Tacho",
}`,
});

this.crearBloqueAccion('IrseEnYacare', 'goInAlligator', {
icono: 'icono.yacare.png',
comportamiento: 'Irse',
argumentos: `{
irseCon: "yacare",
nombreAnimacion: "surfear"
}`,
});

this.crearBloqueAccion('TomarLata', 'takeCan', {
icono: 'icono.lata.png',
comportamiento: 'Sostener',
argumentos: `{
etiqueta: "Lata",
nombreAnimacion: "recoger"
}`,
});

this.crearBloqueAccion('TomarPapel', 'takePaper', {
id: 'TomarPapel',
icono: 'icono.papel.png',
comportamiento: 'Sostener',
argumentos: `{
etiqueta: "Papel",
nombreAnimacion: "recoger"
}`,
});

this.crearBloqueAccion('AvanzarMono', 'moveRight', {
icono: 'icono.derecha.png',
comportamiento: 'MoverACasillaDerecha',
Expand Down
6 changes: 6 additions & 0 deletions app/utils/staticData/desafios.js
Original file line number Diff line number Diff line change
Expand Up @@ -2840,6 +2840,12 @@ export const desafios = [
escena: 'InstalandoJuegosYvoty',
bloques: ['PasarASiguienteComputadora', 'PrenderComputadora', 'ApagarComputadora', 'EscribirC', 'EscribirB', 'EscribirA', 'InstalarJuego', 'Repetir', 'Procedimiento'],
},
{
id: 'nuevo12',
nombre: 'LimpiandoElHumedal',
escena: 'LimpiandoElHumedal',
bloques: ['MoverACasillaDerecha', 'MoverACasillaIzquierda', 'MoverACasillaArriba', 'MoverACasillaAbajo', 'TomarLata', 'TomarPapel', 'Colocar', 'IrseEnYacare', 'Repetir', 'Procedimiento'],
},
{
id: 'nuevo13',
nombre: 'PateandoAVeces',
Expand Down
Binary file added public/iconos/icono.yacare.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions tests/integration/desafios/LimpiandoElHumedal-test.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions translations/blocks/en-us.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ pickIron: Pick iron
pickCarbon: Pick carbon
lightCampfire: Light the campfire
putIntoTheShip: Put into the spaceship
goInAlligator: Go in alligator
takeCan: Take can
takePaper: Take paper
putIntoTheTrash: Put into the trash
leavePresent: Leave a present
nextLine: Go to the next line
nextColumn: Go to the next column
Expand Down
4 changes: 4 additions & 0 deletions translations/blocks/es-ar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ pickIron: Agarrar hierro
pickCarbon: Agarrar carbón
lightCampfire: Prender fogata
putIntoTheShip: Poner en la nave
goInAlligator: Irse en yacaré
takeCan: Agarrar lata
takePaper: Agarrar papel
putIntoTheTrash: Poner en el tacho
leavePresent: Dejar un regalo
nextLine: Pasar a la siguiente fila
nextColumn: Pasar a la siguiente columna
Expand Down
4 changes: 4 additions & 0 deletions translations/blocks/pt-br.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ pickIron: Pegar ferro
pickCarbon: Pegar carvão
lightCampfire: Acender fogueira
putIntoTheShip: Colocar no navio
goInAlligator: Vai em jacaré
takeCan: Pegar a lata
takePaper: Pegar um papel
putIntoTheTrash: colocar na lata de lixo
leavePresent: Deixar presente
nextLine: Ir para a próxima linha
nextColumn: Ir para a linha anterior
Expand Down
4 changes: 4 additions & 0 deletions translations/en-us.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -699,6 +699,10 @@ model:
description: |
Yvoty needs to install a game in 3 different computers to have fun with his friends. The steps to install the game in each computer are: powering the computer on, writing the password ("ABC"), installing the game, and finally powering the computer off. Clue: make the most of the fact that you have to do the same work in each computer.
clue: ''
'nuevo12':
title: Cleaning the wetland
description: 'Capy needs to clean the wetland to go surfing. To achieve this, Capy needs to carry 3 cans and 3 papers to the trash, but Capy cannot throw more than one at a time. Then, Capy gets on the alligator and finally goes surfing!'
clue: ''
'nuevo16':
title: Three telescopes
description: |
Expand Down
4 changes: 4 additions & 0 deletions translations/es-ar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -709,6 +709,10 @@ model:
description: |
Yvoty va a instalar un juego en tres computadoras para que ella y sus amigas tengan todo listo para divertirse esta noche. Los pasos para instalarlo son: encender la computadora, escribir la contraseña ("ABC"), instalar el juego y apagar la máquina. Ayudala a completar la instalación de las tres compus.
clue: '¿Hay algo que se repita? Seguramente te diste cuenta que en cada computadora hay que hacer exactamente el mismo trabajo. ¿Cómo podría ayudarte tener en cuenta eso?'
'nuevo12':
title: Limpiando el humedal
description: 'Capy necesita limpiar el humedal antes de ir a surfear. Para lograrlo, Capy necesita agarrar 3 latas y 3 papeles y llevarlos hasta el tacho, pero no puede tirar más de uno a la vez. Luego, se sube al yacaré y se va a surfear!'
clue: ''
'nuevo13':
title: Chuy y la pelota indecisa
description: |
Expand Down
4 changes: 4 additions & 0 deletions translations/pt-br.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -689,6 +689,10 @@ model:
description: |
Yvoty tiene que instalar un juego en 3 compus para divertirse con sus amigos. Los pasos para instalarlo en cada una son: encenderla, escribir la contraseña ("ABC"), instalar el juego y apagar la máquina. Pista: aprovechá que en cada compu hay que hacer el mismo trabajo.
clue: ''
'nuevo12':
title: Limpando o pantanal
description: 'Capy precisa limpar o pântano antes de surfar. Para conseguir isso, Capy precisa pegar 3 latas e 3 pedaços de papel e levá-los para o lixo, mas não pode jogar mais de um de cada vez. Aí ele sobe no jacaré e finalmente a surfar!'
clue: ''
'nuevo16':
title: Tres telescopios
description: |
Expand Down

0 comments on commit 613d3e5

Please sign in to comment.