Scanne avec ton iPhone pour installer
Color match game
Nouveautés
Version 3.1
Turned it into a game
Ce qu’il fait
16 actions-
Text
-
Repeat
-
List
-
Filter Files
-
Combine Text
-
Set Variableranpattern
-
Show Notification…
-
Wait
-
Repeat
-
Choose from List
-
Combine Text
-
Set Variableuserpattern
-
If
-
Show Alert
-
If
-
Show Alert
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 color pink
#define glyph brainHead
const Text = "500"
const RepeatResults = repeat _ for Text {
const List = list("🔴", "🟠", "🟡", "🟢", "🔵", "🟣")
const Files = filterFiles(List, 5, "File Extension", "Z to A")
joinText(Files, "Custom")
@ranpattern
showNotification(@ranpattern, "Memorize the pattern! ⬇️", @ranpattern)
wait(7)
repeat _ for 6 {
chooseFromList(List, "Choose the colors in the correct pattern!")
}
joinText(RepeatResults, "Custom")
@userpattern
if @userpattern == @ranpattern {
confirm("You have matched the colors! ✅")
} else {
confirm("You have NOT matched the colors! ❌")
}
}
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 vdiya
Ça pourrait aussi te plaire
Publicité