Changeset View
Changeset View
Standalone View
Standalone View
src/activities/sudoku/resource/2/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 symbols.") | ||||
25 | difficulty: 4 | ||||
26 | | ||||
27 | property var symbols: [ | ||||
28 | {"imgName": "circle.svg", "text": 'A'}, | ||||
29 | {"imgName": "rectangle.svg", "text": 'B'}, | ||||
30 | {"imgName": "rhombus.svg", "text": 'C'}, | ||||
31 | {"imgName": "star.svg", "text": 'D'}, | ||||
32 | {"imgName": "triangle.svg", "text": 'E'} | ||||
33 | ] | ||||
34 | | ||||
35 | data: [ | ||||
36 | { | ||||
37 | "symbols": symbols, | ||||
38 | "data": [ | ||||
39 | [ | ||||
40 | ['.','B','C','D'], | ||||
41 | ['D','C','.','A'], | ||||
42 | ['.','D','A','B'], | ||||
43 | ['B','A','.','C'] | ||||
44 | ], | ||||
45 | [ | ||||
46 | ['A','.','.','D'], | ||||
47 | ['D','C','B','.'], | ||||
48 | ['C','D','A','.'], | ||||
49 | ['.','.','D','C'] | ||||
50 | ], | ||||
51 | [ | ||||
52 | ['.','B','.','.'], | ||||
53 | ['.','C','B','A'], | ||||
54 | ['C','D','A','.'], | ||||
55 | ['.','.','D','.'] | ||||
56 | ], | ||||
57 | [ | ||||
58 | ['.','B','A','.'], | ||||
59 | ['D','.','B','C'], | ||||
60 | ['A','C','.','B'], | ||||
61 | ['.','D','C','.'] | ||||
62 | ], | ||||
63 | [ | ||||
64 | ['.','.','.','.'], | ||||
65 | ['D','A','B','C'], | ||||
66 | ['A','C','D','B'], | ||||
67 | ['.','.','.','.'] | ||||
68 | ], | ||||
69 | ] | ||||
70 | }, | ||||
71 | { | ||||
72 | "symbols": symbols, | ||||
73 | "data": [ | ||||
74 | [ | ||||
75 | ['.','.','.','.'], | ||||
76 | ['D','A','B','.'], | ||||
77 | ['C','.','A','B'], | ||||
78 | ['.','.','.','D'] | ||||
79 | ], | ||||
80 | [ | ||||
81 | ['A','B','C','D'], | ||||
82 | ['.','.','.','.'], | ||||
83 | ['.','.','.','.'], | ||||
84 | ['B','C','D','A'] | ||||
85 | ], | ||||
86 | [ | ||||
87 | ['.','.','A','D'], | ||||
88 | ['D','.','.','C'], | ||||
89 | ['A','.','.','B'], | ||||
90 | ['B','D','.','.'] | ||||
91 | ], | ||||
92 | [ | ||||
93 | ['.','.','A','.'], | ||||
94 | ['D','A','B','.'], | ||||
95 | ['.','C','D','B'], | ||||
96 | ['.','D','.','.'] | ||||
97 | ], | ||||
98 | [ | ||||
99 | ['C','B','.','D'], | ||||
100 | ['.','.','.','C'], | ||||
101 | ['A','.','.','.'], | ||||
102 | ['B','.','C','A'] | ||||
103 | ], | ||||
104 | ] | ||||
105 | }, | ||||
106 | { | ||||
107 | "symbols": symbols, | ||||
108 | "data": [ | ||||
109 | [ | ||||
110 | ['C','.','.','D'], | ||||
111 | ['.','.','B','.'], | ||||
112 | ['A','.','.','.'], | ||||
113 | ['.','.','D','.'] | ||||
114 | ], | ||||
115 | [ | ||||
116 | ['.','B','.','A'], | ||||
117 | ['.','.','B','.'], | ||||
118 | ['C','.','D','.'], | ||||
119 | ['.','.','.','C'] | ||||
120 | ], | ||||
121 | [ | ||||
122 | ['A','.','B','.'], | ||||
123 | ['.','C','.','A'], | ||||
124 | ['.','.','.','D'], | ||||
125 | ['D','.','C','.'] | ||||
126 | ], | ||||
127 | [ | ||||
128 | ['.','A','.','.'], | ||||
129 | ['C','.','A','B'], | ||||
130 | ['.','.','C','.'], | ||||
131 | ['D','.','.','A'] | ||||
132 | ], | ||||
133 | [ | ||||
134 | ['C','.','.','D'], | ||||
135 | ['B','.','A','.'], | ||||
136 | ['.','B','.','A'], | ||||
137 | ['.','.','.','.'] | ||||
138 | ], | ||||
139 | [ | ||||
140 | ['.','A','C','.'], | ||||
141 | ['.','.','.','D'], | ||||
142 | ['C','.','.','A'], | ||||
143 | ['.','B','.','.'] | ||||
144 | ], | ||||
145 | [ | ||||
146 | ['.','C','.','D'], | ||||
147 | ['B','.','.','.'], | ||||
148 | ['.','.','.','.'], | ||||
149 | ['C','A','.','B'] | ||||
150 | ], | ||||
151 | [ | ||||
152 | ['B','.','.','C'], | ||||
153 | ['.','A','.','.'], | ||||
154 | ['.','.','D','.'], | ||||
155 | ['.','B','.','.'] | ||||
156 | ] | ||||
157 | ] | ||||
158 | } | ||||
159 | ] | ||||
160 | } |