Scan med din iPhone for at installere
Quick and easy rolling of different types of dice. Has a custom die option.
Nyheder
Version 1.0
First release
Hvad den gør
37 handlinger-
Choose from MenuWhat Kind?
-
Choose from Menutetrahedron (4 sides)
-
Random Number
-
Show NotificationRolling...
-
Wait
-
Show Notification…
-
Choose from Menunormal die (6 sides)
-
Random Number
-
Show NotificationRolling...
-
Wait
-
Show Notification…
-
Choose from Menuoctahedron (8 sides)
-
Random Number
-
Show NotificationRolling...
-
Wait
-
Show Notification…
-
Choose from Menudodecahedron (12 sides)
-
Random Number
-
Show NotificationRolling...
-
Wait
-
Show Notification…
-
Choose from Menuicosahedron (20 sides)
-
Random Number
-
Show NotificationRolling...
-
Wait
-
Show Notification…
-
Choose from Menucustom die (# number of sides)
-
Ask for InputHow Many Sides?
-
Random Number
-
Show NotificationRolling...
-
Wait
-
Show Notification…
-
Choose from MenuRoll Again?
-
Choose from MenuYes
-
Run ShortcutRoll A Die
-
Choose from MenuNo
-
Stop This Shortcut
Vis som kode
Alle genvejens handlinger skrevet ud i Cherri, et programmeringssprog til genveje. Perfekt til at lære, hvordan den virker.
#define color gray
#define glyph boxOutline
menu "What Kind?" {
item "tetrahedron (4 sides)":
randomNumber(1, 4)
showNotification("Rolling... ", false)
wait(0)
showNotification(, false)
item "normal die (6 sides)":
randomNumber(1, 6)
showNotification("Rolling... ", false)
wait(0)
showNotification(, false)
item "octahedron (8 sides)":
randomNumber(1, 8)
showNotification("Rolling... ", false)
wait(0)
showNotification(, false)
item "dodecahedron (12 sides)":
randomNumber(1, 12)
showNotification("Rolling... ", false)
wait(0)
showNotification(, false)
item "icosahedron (20 sides)":
randomNumber(1, 20)
showNotification("Rolling... ", false)
wait(0)
showNotification(, false)
item "custom die (# number of sides)":
const ProvidedInput = prompt("How Many Sides?", "Number")
randomNumber(1, ProvidedInput)
showNotification("Rolling... ", false)
wait(0)
showNotification(, false)
}
menu "Roll Again?" {
item "Yes":
runSelf()
item "No":
stop()
}
Åbn i Cherri Playground
Dekompileret med cherri 2.3.0 (GPL-2.0). Kan kræve små rettelser, før den kan kompileres.
Bedømmelser og anmeldelser
Skriv en anmeldelse–
ud af 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Ingen anmeldelser endnu. Vær den første!
Annonce
Mere fra theshortcutguy2
Du vil måske også kunne lide
Annonce