Changeset View
Changeset View
Standalone View
Standalone View
src/activities/scalesboard/resource/5/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 100.") | ||||
25 | difficulty: 4 | ||||
26 | data: [ | ||||
27 | { | ||||
28 | "masses": [[3, "3"], [5, "5"], [7, "7"], [8, "8"], [9, "9"], [2, "2"], [5, "5"]], | ||||
29 | "targets": [[8, "8"], [13, "13"], [15, "15"],[17,"17"],[20,"20"],[10,"10"],[11,"11"]], | ||||
30 | "rightDrop": false, | ||||
31 | "message": qsTr("Drop weights on the left side to balance the scale.") | ||||
32 | }, | ||||
33 | { | ||||
34 | "masses": [[10, "10"], [11, "11"], [14, "14"], [5, "5"], [15, "15"], [13, "13"], [12, "12"]], | ||||
35 | "targets": [[22, "22"], [28, "28"], [19, "19"],[30,"30"],[20,"20"],[25,"25"],[27,"27"]], | ||||
36 | "rightDrop": false, | ||||
37 | "message": qsTr("Drop weights on the left side to balance the scale.") | ||||
38 | }, | ||||
39 | { | ||||
40 | "masses": [[20, "20"], [28, "28"], [30, "30"], [12, "12"], [17, "17"], [29, "29"], [15, "15"]], | ||||
41 | "targets": [[35, "35"], [48, "48"], [40, "40"], [50, "50"], [37, "37"], [49, "49"], [43, "43"]], | ||||
42 | "rightDrop": false, | ||||
43 | "message": qsTr("Drop weights on the left side to balance the scale.") | ||||
44 | }, | ||||
45 | { | ||||
46 | "masses": [[50, "50"], [28, "28"], [15, "15"], [10, "10"], [17, "17"], [29, "29"], [28, "28"]], | ||||
47 | "targets": [[65, "65"], [78, "78"], [60, "60"], [94, "94"], [77, "77"], [85, "85"], [89, "89"]], | ||||
48 | "rightDrop": false, | ||||
49 | "message": qsTr("Drop weights on the left side to balance the scale.") | ||||
50 | }, | ||||
51 | { | ||||
52 | "masses": [[20, "20"], [14, "14"], [21, "21"], [13, "13"], [14, "14"], [22, "22"], [12, "12"]], | ||||
53 | "targets": [[23, "23"], [25,"25"], [29, "29"], [30,"30"],[17,"17"]], | ||||
54 | "message": qsTr("Take care, you can drop weights on both sides of the scale."), | ||||
55 | "rightDrop": true | ||||
56 | }, | ||||
57 | { | ||||
58 | "masses": [[8, "8"], [6, "6"], [15, "15"], [10, "10"], [25, "25"], [23, "23"], [24, "24"]], | ||||
59 | "targets": [[42, "42"], [41,"41"], [39, "39"], [40,"40"]], | ||||
60 | "message": qsTr("Take care, you can drop weights on both sides of the scale."), | ||||
61 | "rightDrop": true | ||||
62 | }, | ||||
63 | { | ||||
64 | "masses": [[50, "50"], [7, "7"], [18, "18"], [22, "22"], [24, "24"], [20, "20"], [13, "13"]], | ||||
65 | "targets": [[83, "83"], [81,"81"], [79, "79"], [87,"87"]], | ||||
66 | "message": qsTr("Take care, you can drop weights on both sides of the scale."), | ||||
67 | "rightDrop": true | ||||
68 | }, | ||||
69 | { | ||||
70 | "masses": [[11, "11"], [6, "6"], [2, "2"], [12, "12"], [13, "13"], [9, "9"], [10, "10"]], | ||||
71 | "targets": [[17, "17"], [29, "29"], [23, "23"],[25,"25"],[21,"21"]], | ||||
72 | "rightDrop": false, | ||||
73 | "message": qsTr("Now you have to guess the weight of the gift."), | ||||
74 | "question": qsTr("Enter the weight of the gift: %1") | ||||
75 | }, | ||||
76 | { | ||||
77 | "masses": [[23, "23"], [22, "22"], [30, "30"], [8, "8"], [24, "24"], [22, "22"], [20, "20"]], | ||||
78 | "targets": [[44, "44"], [38, "38"], [50, "50"],[31,"31"],[47,"47"],[43,"43"],[30,"30"]], | ||||
79 | "rightDrop": false, | ||||
80 | "message": qsTr("Now you have to guess the weight of the gift."), | ||||
81 | "question": qsTr("Enter the weight of the gift: %1") | ||||
82 | }, | ||||
83 | { | ||||
84 | "masses": [[10, "10"], [11, "11"], [14, "14"], [5, "5"], [15, "15"], [13, "13"], [12, "12"]], | ||||
85 | "targets": [[22, "22"], [28, "28"], [19, "19"],[30,"30"],[20,"20"],[25,"25"],[27,"27"]], | ||||
86 | "rightDrop": false, | ||||
87 | "message": qsTr("Now you have to guess the weight of the gift."), | ||||
88 | "question": qsTr("Enter the weight of the gift: %1") | ||||
89 | }, | ||||
90 | { | ||||
91 | "masses": [[20, "20"], [28, "28"], [30, "30"], [12, "12"], [17, "17"], [29, "29"], [15, "15"]], | ||||
92 | "targets": [[35, "35"], [48, "48"], [40, "40"], [50, "50"], [37, "37"], [49, "49"], [43, "43"]], | ||||
93 | "rightDrop": false, | ||||
94 | "message": qsTr("Now you have to guess the weight of the gift."), | ||||
95 | "question": qsTr("Enter the weight of the gift: %1") | ||||
96 | }, | ||||
97 | { | ||||
98 | "masses": [[50, "50"], [28, "28"], [15, "15"], [10, "10"], [17, "17"], [29, "29"], [28, "28"]], | ||||
99 | "targets": [[65, "65"], [78, "78"], [60, "60"], [94, "94"], [77, "77"], [85, "85"], [89, "89"]], | ||||
100 | "rightDrop": false, | ||||
101 | "message": qsTr("Now you have to guess the weight of the gift."), | ||||
102 | "question": qsTr("Enter the weight of the gift: %1") | ||||
103 | } | ||||
104 | ] | ||||
105 | } | ||||
106 | | ||||
107 | | ||||
108 | | ||||
109 | |