/* GCompris - ActivityInfo.qml * * Copyright (C) 2015 Manuel Tondeur * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see . */ import GCompris 1.0 // Must be updated once GnumchEquality is reviewed ActivityInfo { name: "gnumch-primes/GnumchPrimes.qml" difficulty: 6 icon: "gnumch-primes/gnumch-primes.svg" author: "Manuel Tondeur <manueltondeur@gmail.com>" demo: true //: Activity title title: qsTr("Gnumch Primes") //: Help title description: qsTr("Guide the Number Muncher to all the prime numbers.") // intro: "Guide the number eater with the arrow keys to the prime numbers and press space to swallow them." //: Help goal goal: qsTr("Learn about prime numbers.") //: Help prerequisite prerequisite: "" //: Help manual manual: qsTr("Prime numbers are numbers that are only divisible by themselves and 1. For example, 3 is a prime number, but 4 isn't (because 4 is divisible by 2). You can think of prime numbers as very small families: they only ever have two people in them! Only themselves and 1. You can't fit any other numbers into them with nothing left over. 5 is one of these lonely numbers (only 5 × 1 = 5), but you can see that 6 has 2 and 3 in its family as well (6 × 1 = 6, 2 × 3 = 6). So 6 is not a prime number.") + "

" + qsTr("If you have a keyboard you can use the arrow keys to move and hit space to swallow a number. With a mouse you can click on the block next to your position to move and click again to swallow the number. With a touch screen you can do like with a mouse or swipe anywhere in the direction you want to move and tap to swallow the number.") + "

" + qsTr("Take care to avoid the Troggles.") credit: "" section: "math" }