Escanea con tu iPhone para instalar
It’s what it says
Novedades
Versión 1.0
First release
Qué hace
32 acciones-
Choose from MenuPick
-
Choose from Menurock
-
Random Number
-
If
-
Show Alert
-
If
-
If
-
Show Alert
-
If
-
If
-
Show Alert
-
If
-
Choose from Menupaper
-
Random Number
-
If
-
Show Alert
-
If
-
If
-
Show Alert
-
If
-
If
-
Show Alert
-
If
-
Choose from Menuscissors
-
Random Number
-
If
-
Show Alert
-
If
-
Show Alert
-
If
-
Show Alert
-
If
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 lightblue
#define glyph gameController
menu "Pick " {
item "rock ":
const RandomNumber = randomNumber(1, 3)
if RandomNumber == 3 {
confirm("I win")
} else {
if RandomNumber == 2 {
confirm("You win")
} else {
if RandomNumber == 1 {
confirm("Tie")
} else {
}
}
}
item "paper":
const RandomNumber1 = randomNumber(1, 3)
if RandomNumber1 == 3 {
confirm("You win")
} else {
}
if RandomNumber1 == 2 {
confirm("Tie")
} else {
}
if RandomNumber1 == 1 {
confirm("I win")
} else {
}
item "scissors ":
const RandomNumber2 = randomNumber(1, 3)
if RandomNumber2 == 3 {
confirm("Tie")
} else {
confirm("You win")
}
if RandomNumber2 == 2 {
confirm("I win ")
} else {
}
}
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