Escanea con tu iPhone para instalar
Color match game
Novedades
Versión 3.1
Turned it into a game
Qué hace
16 acciones-
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 las acciones de este atajo escritas en Cherri, un lenguaje de programación para Atajos. Ideal para aprender cómo 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 en Cherri Playground
Descompilado con cherri 2.3.0 (GPL-2.0). Puede que necesite pequeños ajustes antes de compilarse.
Valoraciones y reseñas
Escribe una reseña–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Aún no hay reseñas. ¡Sé el primero en compartir tu opinión!
Publicidad
Más de vdiya
También te puede gustar
Publicidad