Scanne avec ton iPhone pour installer
Duuud
Nouveautés
Version 1.0
First release
Ce qu’il fait
15 actions-
Random Number
-
Text
-
Number
-
Text
-
If
-
Show NotificationOnly use numbers between 0 to 10!
-
Wait
-
Stop and Output
-
If
-
If
-
Show NotificationCorrect! the number was …!
-
If
-
Show NotificationWrong! the answer was …!
-
Wait
-
Run ShortcutGuess The Number
Afficher en tant que code
Chaque action de ce raccourci écrite en Cherri, un langage de programmation pour Raccourcis. Idéal pour comprendre son fonctionnement.
#define glyph gameController
const RandomNumber = randomNumber(0, 10)
const Text = "{Ask}"
const Number = number(Text)
if Number > 10 {
showNotification("Only use numbers between 0 to 10!", "Answer", Text)
wait(7)
output(Number)
} else {
}
if Text == RandomNumber {
showNotification("Correct! the number was {RandomNumber}!", "Answer", RandomNumber)
} else {
showNotification("Wrong! the answer was {}!", "Answer", Text)
}
wait(7)
runSelf(IfResult)
Ouvrir dans Cherri Playground
Décompilé avec cherri 2.3.0 (GPL-2.0). Quelques corrections peuvent être nécessaires avant la compilation.
Notes et avis
Écrire un avis–
sur 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Aucun avis pour le moment. Sois le premier à partager ton avis !
Publicité
Plus de coltensus
Ça pourrait aussi te plaire
Publicité