| 1 |
/* GCompris - Data.qml |
| 2 |
* |
| 3 |
* SPDX-FileCopyrightText: 2019 Sambhav Kaul <[email protected]> |
| 4 |
* |
| 5 |
* Authors: |
| 6 |
* Sambhav Kaul <[email protected]> |
| 7 |
* |
| 8 |
* SPDX-License-Identifier: GPL-3.0-or-later |
| 9 |
*/ |
| 10 |
|
| 11 |
import core 1.0 |
| 12 |
|
| 13 |
Data { |
| 14 |
objective: qsTr("Guess a number between 1 and %1.").arg(100) |
| 15 |
difficulty: 2 |
| 16 |
data: [ |
| 17 |
{ |
| 18 |
// first number is the minimum number and second is the maximum number |
| 19 |
"objective" : qsTr("Guess a number between 1 and %1.").arg(10), |
| 20 |
"maxNumber" : 10 |
| 21 |
}, |
| 22 |
{ |
| 23 |
"objective" : qsTr("Guess a number between 1 and %1.").arg(100), |
| 24 |
"maxNumber" : 100 |
| 25 |
} |
| 26 |
] |
| 27 |
} |