Changeset View
Changeset View
Standalone View
Standalone View
src/activities/scalesboard/resource/3/Data.qml
- This file was added.
1 | /* GCompris - Data.qml | ||||
---|---|---|---|---|---|
2 | * | ||||
3 | * Copyright (C) 2020 Deepak Kumar <deepakdk2431@gmail.com> | ||||
4 | * | ||||
5 | * Authors: | ||||
6 | * Deepak Kumar <deepakdk2431@gmail.com> | ||||
7 | * | ||||
8 | * This program is free software; you can redistribute it and/or modify | ||||
9 | * it under the terms of the GNU General Public License as published by | ||||
10 | * the Free Software Foundation; either version 3 of the License, or | ||||
11 | * (at your option) any later version. | ||||
12 | * | ||||
13 | * This program is distributed in the hope that it will be useful, | ||||
14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||||
16 | * GNU General Public License for more details. | ||||
17 | * | ||||
18 | * You should have received a copy of the GNU General Public License | ||||
19 | * along with this program; if not, see <http://www.gnu.org/licenses/>. | ||||
20 | */ | ||||
21 | import "../../../../core" | ||||
22 | | ||||
23 | Dataset { | ||||
24 | objective: qsTr("Balance the scales until 20.") | ||||
25 | difficulty: 3 | ||||
26 | data: [ | ||||
27 | { | ||||
28 | "masses": [[1, "1"], [1, "1"], [2, "2"], [1, "1"], [2, "2"], [1, "1"], [2, "2"]], | ||||
29 | "targets": [[3, "3"], [4, "4"], [5, "5"]], | ||||
30 | "rightDrop": false | ||||
31 | }, | ||||
32 | { | ||||
33 | "masses": [[1, "1"], [2, "2"], [2, "2"], [4, "4"], [2, "2"], [1, "1"], [2, "2"]], | ||||
34 | "targets": [[3, "3"], [4, "4"], [5, "5"],[7,"7"],[8,"8"], [10,"10"]], | ||||
35 | "rightDrop": false | ||||
36 | }, | ||||
37 | { | ||||
38 | "masses": [[3, "3"], [5, "5"], [7, "7"], [8, "8"], [9, "9"], [2, "2"], [5, "5"]], | ||||
39 | "targets": [[8, "8"], [13, "13"], [15, "15"],[17,"17"],[20,"20"],[10,"10"],[11,"11"]], | ||||
40 | "rightDrop": false | ||||
41 | }, | ||||
42 | { | ||||
43 | "masses": [[6, "6"], [9, "9"], [2, "2"], [5 ,"5"], [6, "6"], [10, "10"], [11, "11"]], | ||||
44 | "targets": [[7, "7"], [8,"8"], [1, "1"]], | ||||
45 | "rightDrop": true, | ||||
46 | "message": qsTr("Take care, you can drop weights on both sides of the scale.") | ||||
47 | }, | ||||
48 | { | ||||
49 | "masses": [[6, "6"], [4, "4"], [12, "12"], [11, "11"], [4, "4"], [13, "13"], [14, "14"]], | ||||
50 | "targets": [[3, "3"], [8,"8"], [9, "9"], [7,"7"],[10,"10"]], | ||||
51 | "message": qsTr("Take care, you can drop weights on both sides of the scale."), | ||||
52 | "rightDrop": true | ||||
53 | }, | ||||
54 | { | ||||
55 | "masses": [[10, "10"], [7, "7"], [6, "6"], [11, "11"], [13, "13"], [11, "11"], [3, "3"]], | ||||
56 | "targets": [[12, "12"], [15,"15"], [19, "19"], [20,"20"],[17,"17"]], | ||||
57 | "message": qsTr("Take care, you can drop weights on both sides of the scale."), | ||||
58 | "rightDrop": true | ||||
59 | }, | ||||
60 | { | ||||
61 | "masses": [[1, "1"], [3, "3"], [2, "2"], [5, "5"], [7, "7"], [1, "1"], [2, "2"]], | ||||
62 | "targets": [[4, "4"], [7, "7"], [10, "10"],[6,"6"]], | ||||
63 | "rightDrop": false, | ||||
64 | "message": qsTr("Now you have to guess the weight of the gift."), | ||||
65 | "question": qsTr("Enter the weight of the gift: %1") | ||||
66 | }, | ||||
67 | { | ||||
68 | "masses": [[1, "1"], [8, "8"], [2, "2"], [1, "1"], [7, "7"], [9, "9"], [10, "10"]], | ||||
69 | "targets": [[4, "4"], [7, "7"], [10, "10"],[5,"5"]], | ||||
70 | "rightDrop": false, | ||||
71 | "message": qsTr("Now you have to guess the weight of the gift."), | ||||
72 | "question": qsTr("Enter the weight of the gift: %1") | ||||
73 | }, | ||||
74 | { | ||||
75 | "masses": [[3, "3"], [5, "5"], [7, "7"], [8, "8"], [9, "9"], [2, "2"], [4, "4"]], | ||||
76 | "targets": [[8, "8"], [13, "13"], [15, "15"],[17,"17"],[20,"20"],[10,"10"],[11,"11"]], | ||||
77 | "rightDrop": false, | ||||
78 | "message": qsTr("Now you have to guess the weight of the gift."), | ||||
79 | "question": qsTr("Enter the weight of the gift: %1") | ||||
80 | } | ||||
81 | ] | ||||
82 | } | ||||
83 | | ||||
84 | | ||||
85 | | ||||
86 | |