Skip to content

Commit

Permalink
Merge pull request #65 from Program-AR/refactorChuyAndOthers
Browse files Browse the repository at this point in the history
Chuy haciendo jueguito y otros
  • Loading branch information
danielferro69 committed Dec 1, 2023
2 parents 8d11305 + a6a62ee commit d5ada9f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pilas-bloques-exercises",
"version": "1.4.25",
"version": "1.4.26",
"description": "Exercises for Pilas Bloques",
"homepage": "http://pilasbloques.program.ar",
"author": {
Expand Down
15 changes: 9 additions & 6 deletions src/escenas/ChuyHaciendoJueguito.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ class ChuyHaciendoJueguito extends EscenaActividad {
builder.agregarEstado('posCorrecta',false);
builder.agregarEstado('calentar1',false);
builder.agregarEstado('calentar2',false);
builder.agregarEstado('calentar3',false);
builder.agregarEstado('enCalor',false);
builder.agregarEstado('levantarPelota',false);
builder.agregarEstado('tirarAlAire',false);
Expand All @@ -51,10 +52,10 @@ class ChuyHaciendoJueguito extends EscenaActividad {
builder.agregarEstadoAceptacion('fin');

builder.agregarTransicion('inicial', 'posCorrecta', 'avanzar');
builder.agregarTransicion('posCorrecta','calentar1','retroceder');
builder.agregarTransicion('posCorrecta','calentar2','avanzar');
builder.agregarTransicion('calentar1','enCalor','avanzar');
builder.agregarTransicion('calentar2','enCalor','retroceder');
builder.agregarTransicion('posCorrecta','calentar1','avanzar');
builder.agregarTransicion('calentar1','calentar2','retroceder');
builder.agregarTransicion('calentar2','calentar3','avanzar');
builder.agregarTransicion('calentar3','enCalor','retroceder');
builder.agregarTransicion('enCalor','levantarPelota','recoger');
builder.agregarTransicion('levantarPelota','tirarAlAire','revolearPulpito');
builder.agregarTransicion('levantarPelota','jugarConElPie','rebotarPiePulpito');
Expand All @@ -73,10 +74,12 @@ class ChuyHaciendoJueguito extends EscenaActividad {

builder.agregarError('calentar1', 'revolearPulpito', 'Primero hay que entrar en calor y agarrar la pelota');
builder.agregarError('calentar1', 'rebotarPiePulpito', 'Primero hay que entrar en calor y agarrar la pelota');
builder.agregarError('calentar1', 'retroceder', 'Primero hay que avanzar, entrar en calor y agarrar la pelota');


builder.agregarError('calentar2', 'revolearPulpito', 'Primero hay que entrar en calor y agarrar la pelota');
builder.agregarError('calentar2', 'rebotarPiePulpito', 'Primero hay que entrar en calor y agarrar la pelota');

builder.agregarError('calentar3', 'revolearPulpito', 'Primero hay que entrar en calor y agarrar la pelota');
builder.agregarError('calentar3', 'rebotarPiePulpito', 'Primero hay que entrar en calor y agarrar la pelota');

builder.agregarError('enCalor', 'revolearPulpito', 'Primero hay que agarrar la pelota');
builder.agregarError('enCalor', 'rebotarPiePulpito', 'Primero hay que agarrar la pelota');
Expand Down

0 comments on commit d5ada9f

Please sign in to comment.