Changeset View
Changeset View
Standalone View
Standalone View
src/activities/sudoku/resource/3/Data.qml
- This file was added.
1 | /* GCompris - Data.qml | ||||
---|---|---|---|---|---|
2 | * | ||||
3 | * Copyright (C) 2020 Shubham Mishra <shivam828787@gmail.com> | ||||
4 | * | ||||
5 | * Authors: | ||||
6 | * Shubham Mishra <shivam828787@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 GCompris 1.0 | ||||
22 | | ||||
23 | Data { | ||||
24 | objective: qsTr("Play with medium size grids using numbers and symbols.") | ||||
25 | difficulty: 5 | ||||
26 | | ||||
27 | property var symbols: [ | ||||
28 | {"imgName": "circle", "text": 'A', "extension": ".svg"}, | ||||
29 | {"imgName": "rectangle", "text": 'B', "extension": ".svg"}, | ||||
30 | {"imgName": "rhombus", "text": 'C', "extension": ".svg"}, | ||||
31 | {"imgName": "star", "text": 'D', "extension": ".svg"}, | ||||
32 | {"imgName": "triangle", "text": 'E', "extension": ".svg"}, | ||||
33 | {"imgName": "1", "text": '1', "extension": ".svg"}, | ||||
34 | {"imgName": "2", "text": '2', "extension": ".svg"}, | ||||
35 | {"imgName": "3", "text": '3', "extension": ".svg"}, | ||||
36 | {"imgName": "4", "text": '4', "extension": ".svg"}, | ||||
37 | {"imgName": "5", "text": '5', "extension": ".svg"} | ||||
38 | ] | ||||
39 | | ||||
40 | data: [ | ||||
41 | { | ||||
42 | "symbols": symbols, | ||||
43 | "data": [ | ||||
44 | [ | ||||
45 | ['A','B','C','D','E'], | ||||
46 | ['.','A','B','C','D'], | ||||
47 | ['.','.','A','B','C'], | ||||
48 | ['.','.','.','A','B'], | ||||
49 | ['.','.','.','.','A'] | ||||
50 | ], | ||||
51 | [ | ||||
52 | ['A','B','.','D','.'], | ||||
53 | ['.','.','D','E','A'], | ||||
54 | ['C','.','.','A','.'], | ||||
55 | ['D','E','.','.','C'], | ||||
56 | ['.','A','B','.','D'] | ||||
57 | ], | ||||
58 | [ | ||||
59 | ['.','C','.','A','.'], | ||||
60 | ['A','.','B','.','C'], | ||||
61 | ['.','B','.','C','.'], | ||||
62 | ['D','.','C','.','A'], | ||||
63 | ['.','A','E','.','B'] | ||||
64 | ], | ||||
65 | [ | ||||
66 | ['C','B','.','.','D'], | ||||
67 | ['.','.','D','C','.'], | ||||
68 | ['D','.','B','.','E'], | ||||
69 | ['.','A','.','D','C'], | ||||
70 | ['E','.','.','B','.'] | ||||
71 | ], | ||||
72 | [ | ||||
73 | ['D','.','.','B','E'], | ||||
74 | ['.','E','A','.','.'], | ||||
75 | ['A','C','.','.','B'], | ||||
76 | ['.','.','B','C','.'], | ||||
77 | ['C','B','.','A','.'] | ||||
78 | ], | ||||
79 | [ | ||||
80 | ['.','.','C','D','.'], | ||||
81 | ['B','.','.','.','C'], | ||||
82 | ['.','C','.','B','D'], | ||||
83 | ['C','.','D','A','.'], | ||||
84 | ['D','E','.','.','A'] | ||||
85 | ] | ||||
86 | ] | ||||
87 | }, | ||||
88 | { | ||||
89 | "symbols": symbols, | ||||
90 | "data": [ | ||||
91 | [ | ||||
92 | ['1','2','3','4','5'], | ||||
93 | ['.','1','2','3','4'], | ||||
94 | ['.','.','1','2','3'], | ||||
95 | ['.','.','.','1','2'], | ||||
96 | ['.','.','.','.','1'] | ||||
97 | ], | ||||
98 | [ | ||||
99 | ['1','2','.','4','.'], | ||||
100 | ['.','.','4','5','1'], | ||||
101 | ['3','.','.','1','.'], | ||||
102 | ['4','5','.','.','3'], | ||||
103 | ['.','1','2','.','4'] | ||||
104 | ], | ||||
105 | [ | ||||
106 | ['.','3','.','1','.'], | ||||
107 | ['1','.','2','.','3'], | ||||
108 | ['.','2','.','3','.'], | ||||
109 | ['4','.','3','.','1'], | ||||
110 | ['.','1','5','.','2'] | ||||
111 | ], | ||||
112 | [ | ||||
113 | ['3','2','.','.','4'], | ||||
114 | ['.','.','4','3','.'], | ||||
115 | ['4','.','2','.','5'], | ||||
116 | ['.','1','.','4','3'], | ||||
117 | ['5','.','.','2','.'] | ||||
118 | ], | ||||
119 | [ | ||||
120 | ['4','.','.','2','5'], | ||||
121 | ['.','5','1','.','.'], | ||||
122 | ['1','3','.','.','2'], | ||||
123 | ['.','.','2','3','.'], | ||||
124 | ['3','2','.','1','.'] | ||||
125 | ], | ||||
126 | [ | ||||
127 | ['.','.','3','4','.'], | ||||
128 | ['2','.','.','.','3'], | ||||
129 | ['.','3','.','2','4'], | ||||
130 | ['3','.','4','1','.'], | ||||
131 | ['4','5','.','.','1'] | ||||
132 | ] | ||||
133 | ] | ||||
134 | } | ||||
135 | ] | ||||
136 | } |