Commit 14fcb6aa authored by Federico Santiago Luongo Gonnet's avatar Federico Santiago Luongo Gonnet
Browse files

Se agregan ejemplos de tipos de desafios

parent 18e66189
......@@ -82,6 +82,49 @@ export const challenges = {
validations:[],
tip:"Debes insertar dos coordenadas.",
type: 0
},
{
name: "Obtener el resultado 19",
pipes: [
{type:"CONST",value: 5, dir:{bottom:"NUMBER"}, pos:{x:0,y:0}},
{type:"CONST",value: 4, dir:{bottom:"NUMBER"}, pos:{x:0,y:2}},
{type:"CONST",value: 10, dir:{bottom:"NUMBER"}, pos:{x:0,y:3}},
{type:"END",dir:{top:"GENERIC"},pos:{x:3,y:2}},
{type:"DUMMY",dir:{top:"NUMBER",right:"NUMBER"},pos:{x:1,y:0}},
{type:"DUMMY",dir:{top:"NUMBER",left:"NUMBER"},pos:{x:1,y:2}},
{type:"DUMMY",dir:{top:"NUMBER",right:"NUMBER"},pos:{x:2,y:1}},
{type:"DUMMY",dir:{top:"NUMBER",bottom:"NUMBER"},pos:{x:1,y:3}},
{type:"DUMMY",dir:{top:"NUMBER",left:"NUMBER"},pos:{x:2,y:3}},
],
size:{x:20,y:20},
result: "19",
description: "Agregar dos operaciones para obtener el resultado 19",
validations:[],
tip:"Debes agregar 2 operaciones.",
type: 3
},
{
name: "Suma del 3 a 5",
pipes: [
{type:"VARIABLE",dir:{bottom:"NUMBER"},name:"x0",pos:{x:0,y:0}},
{type:"VARIABLE",dir:{bottom:"NUMBER"},name:"x1",pos:{x:0,y:2}},
{type:"VARIABLE",dir:{bottom:"NUMBER"},name:"x2",pos:{x:0,y:3}},
{type:"FUNCTION",dir:{bottom:"NUMBER",right:"NUMBER",left:"NUMBER"},name:"ADD",pos:{x:1,y:1}},
{type:"FUNCTION",dir:{bottom:"NUMBER",right:"NUMBER",left:"NUMBER"},name:"ADD",pos:{x:2,y:2}},
{type:"END",dir:{top:"GENERIC"},pos:{x:3,y:2}},
{type:"DUMMY",dir:{top:"NUMBER",right:"NUMBER"},pos:{x:1,y:0}},
{type:"DUMMY",dir:{top:"NUMBER",left:"NUMBER"},pos:{x:1,y:2}},
{type:"DUMMY",dir:{top:"NUMBER",right:"NUMBER"},pos:{x:2,y:1}},
{type:"DUMMY",dir:{top:"NUMBER",bottom:"NUMBER"},pos:{x:1,y:3}},
{type:"DUMMY",dir:{top:"NUMBER",left:"NUMBER"},pos:{x:2,y:3}},
],
size:{x:20,y:20},
result: "12",
description: "Obtener la suma de los numeros 3 a 5",
validations:[],
tip:"Debes completar las variables del tablero.",
type: 5
}
],
intermediate:[
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment