Escanea con tu iPhone para instalar
Pick a number game
Novedades
Versión 1.0
First release
Qué hace
22 acciones-
Choose from Menu
-
Choose from Menueasy
-
Random Number
-
Ask for Input1-10
-
If
-
Show NotificationCorrect
-
If
-
Show NotificationWrong
-
Choose from Menumedium
-
Random Number
-
Ask for Input1-20
-
If
-
Show NotificationCorrect
-
If
-
Show NotificationWrong
-
Choose from Menuhard
-
Random Number
-
Ask for Input1-50
-
If
-
Show NotificationCorrect
-
If
-
Show NotificationWrong
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 darkorange
menu nil {
item "easy":
randomNumber(1, 10)
const AskForInput = prompt("1-10", "Number")
if AskForInput == {
showNotification("Correct", AskForInput)
} else {
showNotification("Wrong", AskForInput)
}
item "medium":
randomNumber(1, 20)
const AskForInput1 = prompt("1-20", "Number")
if AskForInput1 == {
showNotification("Correct", AskForInput1)
} else {
showNotification("Wrong ", AskForInput1)
}
item "hard":
randomNumber(1, 50)
const AskForInput2 = prompt("1-50", "Number")
if AskForInput2 == {
showNotification("Correct", AskForInput2)
} else {
showNotification("Wrong ", AskForInput2)
}
}
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
También te puede gustar
Publicidad