Changeset View
Changeset View
Standalone View
Standalone View
src/activities/magic-hat-minus/resource/2/Data.qml
- This file was added.
1 | /* GCompris - Data.qml | ||||
---|---|---|---|---|---|
2 | * | ||||
3 | * Copyright (C) 2019 Akshay Kumar <email.akshay98@gmail.com> | ||||
4 | * | ||||
5 | * Authors: | ||||
6 | * Akshay Kumar <email.akshay98@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 QtQuick 2.6 | ||||
22 | import GCompris 1.0 | ||||
23 | import "../../../../core" | ||||
24 | | ||||
25 | Dataset { | ||||
26 | objective: qsTr("Learn to calculate remaining stars up to 10") | ||||
27 | difficulty: 2 | ||||
28 | property int maxValue: 10 | ||||
29 | data: [ | ||||
30 | { | ||||
31 | "level" : "1", | ||||
32 | "minStars" : [2, 0, 0], | ||||
33 | "maxStars" : [3, 0, 0] | ||||
34 | }, | ||||
35 | { | ||||
36 | "level" : "2", | ||||
37 | "minStars" : [2, 0, 0], | ||||
38 | "maxStars" : [5, 0, 0] | ||||
39 | }, | ||||
40 | { | ||||
41 | "level" : "3", | ||||
42 | "minStars" : [2, 0, 0], | ||||
43 | "maxStars" : [6, 0, 0] | ||||
44 | }, | ||||
45 | { | ||||
46 | "level" : "4", | ||||
47 | "minStars" : [2, 0, 0], | ||||
48 | "maxStars" : [7, 0, 0] | ||||
49 | }, | ||||
50 | { | ||||
51 | "level" : "5", | ||||
52 | "minStars" : [2, 0, 0], | ||||
53 | "maxStars" : [8, 0, 0] | ||||
54 | }, | ||||
55 | { | ||||
56 | "level" : "6", | ||||
57 | "minStars" : [2, 0, 0], | ||||
58 | "maxStars" : [9, 0, 0] | ||||
59 | }, | ||||
60 | { | ||||
61 | "level" : "7", | ||||
62 | "minStars" : [2, 0, 0], | ||||
63 | "maxStars" : [10, 0, 0] | ||||
64 | } | ||||
65 | ] | ||||
66 | } |