Warning, /education/gcompris/src/activities/frieze/resource/1/Data.qml is written in an unsupported language. File is not indexed.
0001 /* GCompris - Data.qml
0002 *
0003 * SPDX-FileCopyrightText: 2023 Bruno Anselme <be.root@free.fr>
0004 *
0005 * Authors:
0006 * Bruno Anselme <be.root@free.fr>
0007 * SPDX-License-Identifier: GPL-3.0-or-later
0008 *
0009 * Syntax:
0010 * hidden: bool, hide tokens when ready
0011 * shown: number of tokens shown. Greater than count shows all token.
0012 * A token is made of 3 values: [ shape index, color index, size index ]
0013 * Shapes and colors arrays are shuffled each time.
0014 * Shapes 1, 2... will be a different shape each time.
0015 * Idem for colors 1, 2...
0016 * Size: 1 = big, 2 = small
0017 * Index set to zero is reserved for future use.
0018 * patLength : sequence's length of tokens repeated until count is reached.
0019 * count : numbers of tokens to find
0020 * duplicate : no repeated token when false (low difficulty)
0021 * Values are tokens'indexes in tokens array
0022 * The number of tokens must be at least equal to patLength.
0023 */
0024 import GCompris 1.0
0025
0026 // 10 levels. 2 shapes with different colors and 1 size. Count : 8, 10, 12
0027 Data {
0028 objective: qsTr("Copy this frieze: 2 shapes with different colors/signs.")
0029 difficulty: 1
0030 data: [
0031 { "title": qsTr("Copy this frieze."),
0032 "hidden": false,
0033 "shuffle": false,
0034 "shown": 20,
0035 "duplicate": false,
0036 "subLevels": [
0037 {
0038 "count": 8,
0039 "tokens": [
0040 [ 1, 1, 1 ],
0041 [ 2, 2, 1 ]
0042 ],
0043 "patLength": 2
0044 },
0045 {
0046 "count": 8,
0047 "tokens": [
0048 [ 1, 1, 1 ],
0049 [ 2, 2, 1 ]
0050 ],
0051 "patLength": 2
0052 },
0053 {
0054 "count": 8,
0055 "tokens": [
0056 [ 1, 1, 1 ],
0057 [ 2, 2, 1 ]
0058 ],
0059 "patLength": 2
0060 },
0061 {
0062 "count": 8,
0063 "tokens": [
0064 [ 1, 1, 1 ],
0065 [ 2, 2, 1 ]
0066 ],
0067 "patLength": 2
0068 },
0069 {
0070 "count": 10,
0071 "tokens": [
0072 [ 1, 1, 1 ],
0073 [ 2, 2, 1 ]
0074 ],
0075 "patLength": 2
0076 },
0077 {
0078 "count": 10,
0079 "tokens": [
0080 [ 1, 1, 1 ],
0081 [ 2, 2, 1 ]
0082 ],
0083 "patLength": 2
0084 },
0085 {
0086 "count": 10,
0087 "tokens": [
0088 [ 1, 1, 1 ],
0089 [ 2, 2, 1 ]
0090 ],
0091 "patLength": 2
0092 },
0093 {
0094 "count": 10,
0095 "tokens": [
0096 [ 1, 1, 1 ],
0097 [ 2, 2, 1 ]
0098 ],
0099 "patLength": 2
0100 },
0101 {
0102 "count": 12,
0103 "tokens": [
0104 [ 1, 1, 1 ],
0105 [ 2, 2, 1 ]
0106 ],
0107 "patLength": 2
0108 },
0109 {
0110 "count": 12,
0111 "tokens": [
0112 [ 1, 1, 1 ],
0113 [ 2, 2, 1 ]
0114 ],
0115 "patLength": 2
0116 }
0117 ]
0118 }
0119 ]
0120 }