Escaneie com o iPhone para instalar
Color match game
Novidades
Versão 3.1
Turned it into a game
O que ele faz
16 ações-
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
Ver como código
Todas as ações deste atalho escritas em Cherri, uma linguagem de programação para o app Atalhos. Ótimo para aprender como ele funciona.
#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! ❌")
}
}
Abrir no Cherri Playground
Descompilado com cherri 2.3.0 (GPL-2.0). Pode precisar de pequenos ajustes antes de compilar.
Avaliações e comentários
Escrever uma avaliação–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Ainda não há avaliações. Seja o primeiro a compartilhar o que você pensa!
Publicidade
Mais de vdiya
Você também pode gostar
Publicidade