Debian Codegraph @

src/activities/path_encoding_relative/resource/4/Data.qml

raw
1 /* GCompris - Data.qml
2 *
3 * SPDX-FileCopyrightText: 2021 Harsh Kumar <[email protected]>
4 *
5 * Authors:
6 * Harsh Kumar <[email protected]>
7 *
8 * SPDX-License-Identifier: GPL-3.0-or-later
9 */
10 import core 1.0
11
12 Data {
13 objective: qsTr("%1x%2 grids.").arg(12).arg(12)
14 difficulty: 4
15 data: [
16 /*
17 Symbols used:
18 * -> path
19 . -> empty
20 S -> starting point
21 E -> ending point
22 I -> invisible tile
23 R -> rock
24 T -> tree
25 B -> bush
26 G -> grass
27 W -> water
28
29 Note: Make sure you have a unique path.
30 */
31 {
32 path: [
33 ['I', '.', '.', 'B', '.', '.', 'I', 'I', '.', 'E', '.', 'I'],
34 ['I', '*', '*', '*', '*', '.', 'I', 'I', '.', '*', '.', 'I'],
35 ['.', '*', '.', 'T', '*', 'R', '.', '.', '.', '*', '*', '.'],
36 ['.', '*', '*', '.', '*', '.', '.', '.', '.', '.', '*', '.'],
37 ['.', '.', '*', 'W', '*', '*', '*', 'W', '.', '.', '*', '.'],
38 ['*', '*', '*', '.', '.', 'T', '*', 'B', 'W', '.', '*', 'B'],
39 ['*', '.', 'R', '.', '*', '*', '*', '.', '*', '*', '*', '.'],
40 ['*', '*', '.', '.', '*', 'T', '.', '*', '*', '.', '.', '.'],
41 ['.', '*', '.', 'T', '*', '.', '.', '*', '.', '.', 'R', '.'],
42 ['.', '*', '*', '.', '*', '*', '*', '*', 'B', '.', '.', '.'],
43 ['I', '.', '*', '.', 'I', 'R', '.', '.', '.', 'I', 'W', 'I'],
44 ['I', '.', 'S', 'I', 'I', '.', 'I', 'I', 'I', 'I', 'W', 'I'],
45 ]
46 }
47 ]
48 }