/* GCompris * * Copyright (C) 2016 Stefan Toncu * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see . */ import QtQuick 2.0 /* Numbers of kids are given in the left widget which eases kid work. No rest (basket). */ QtObject { property variant levels : [ { "instruction": qsTr("Paul wants to equally share 2 candies between 2 of his friends: one girl and one boy. Can you help him? First, place the children in center, then drag the candies to each of them."), "totalBoys": 1, "totalGirls": 1, "totalCandies": 2, "showCount": true, "forceShowBasket": "false", "placedInGirls": 0, "placedInBoys": 0 }, { "instruction": qsTr("Now he wants to give 4 candies to his friends."), "totalBoys": 1, "totalGirls": 1, "totalCandies": 4, "showCount": true, "forceShowBasket": false, "placedInGirls": 0, "placedInBoys": 0 }, { "instruction": qsTr("Can you now give 6 of Paul's candies to his friends?"), "totalBoys": 1, "totalGirls": 1, "totalCandies": 6, "showCount": true, "forceShowBasket": false, "placedInGirls": 0, "placedInBoys": 0 }, { "instruction": qsTr("Paul has only 10 candies left. He eats 2 candies and he gives the rest to his friends. Can you help him equally split the 8 remaining candies?"), "totalBoys": 1, "totalGirls": 1, "totalCandies": 8, "showCount": true, "forceShowBasket": false, "placedInGirls": 0, "placedInBoys": 0 } ] }