| 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("Balance up to %1.").arg(3) |
| 14 |
difficulty: 1 |
| 15 |
data: [ |
| 16 |
{ |
| 17 |
"masses": [[1, "1"], [1, "1"], [3, "3"], [1, "1"], [1, "1"], [1, "1"], [1, "1"]], |
| 18 |
"targets": [[2, "2"]], |
| 19 |
"rightDrop": false, |
| 20 |
"message": qsTr("Drop weights on the left side to balance the scales.") |
| 21 |
}, |
| 22 |
{ |
| 23 |
"masses": [[1, "1"], [1, "1"], [2, "2"], [1, "1"], [1, "1"], [2, "2"], [1, "1"]], |
| 24 |
"targets": [[3, "3"]], |
| 25 |
"rightDrop": false, |
| 26 |
"message": qsTr("Drop weights on the left side to balance the scales.") |
| 27 |
}, |
| 28 |
{ |
| 29 |
"masses": [[3, "3"], [1, "1"], [1, "1"], [1, "1"], [3, "3"], [1, "1"], [1, "1"]], |
| 30 |
"targets": [[2, "2"]], |
| 31 |
"rightDrop": true, |
| 32 |
"message": qsTr("Take care, you can drop weights on both sides of the scales.") |
| 33 |
}, |
| 34 |
{ |
| 35 |
"masses": [[2, "2"], [1, "1"], [2, "2"], [1, "1"], [2, "2"], [1, "1"], [2, "2"]], |
| 36 |
"targets": [[3, "3"]], |
| 37 |
"rightDrop": true, |
| 38 |
"message": qsTr("Take care, you can drop weights on both sides of the scales.") |
| 39 |
}, |
| 40 |
{ |
| 41 |
"masses": [[3, "3"], [1, "1"], [1, "1"], [1, "1"], [3, "3"], [1, "1"], [1, "1"]], |
| 42 |
"targets": [[2, "2"]], |
| 43 |
"rightDrop": false, |
| 44 |
"message": qsTr("Now you have to guess the weight of the gift."), |
| 45 |
"question": qsTr("Enter the weight of the gift: %1") |
| 46 |
}, |
| 47 |
{ |
| 48 |
"masses": [[2, "2"], [1, "1"], [2, "2"], [1, "1"], [2, "2"], [1, "1"], [2, "2"]], |
| 49 |
"targets": [[3, "3"]], |
| 50 |
"rightDrop": false, |
| 51 |
"message": qsTr("Now you have to guess the weight of the gift."), |
| 52 |
"question": qsTr("Enter the weight of the gift: %1") |
| 53 |
} |
| 54 |
] |
| 55 |
} |