Mit dem iPhone scannen, um zu installieren
Send a nuke
Neue Funktionen
Version 1.0
First release
Was er macht
15 Aktionen-
Ask for InputWho/Where do you want to nuke?
-
Ask for InputHow many nukes?
-
Choose from MenuHow big?
-
Choose from MenuTiny
-
Choose from MenuSmall
-
Choose from MenuNormal
-
Choose from MenuBig
-
Choose from MenuHuge
-
Choose from MenuEnormous
-
Choose from MenuWorld destroyer
-
Show NotificationNuke landing in...
-
Show Notification3..
-
Show Notification2..
-
Show Notification1..
-
Show NotificationNuke has landed.
Als Code ansehen
Jede Aktion dieses Kurzbefehls als Cherri ausgeschrieben, eine Programmiersprache für Kurzbefehle. Ideal, um zu lernen, wie er funktioniert.
#define color red
#define glyph alertTriangle
prompt("Who/Where do you want to nuke? ")
prompt("How many nukes? ")
menu "How big? " {
item "Tiny":
item "Small":
item "Normal":
item "Big":
item "Huge":
item "Enormous ":
item "World destroyer":
}
showNotification("Nuke landing in... ")
showNotification("3..")
showNotification("2..")
showNotification("1..")
showNotification("Nuke has landed. ")
In Cherri Playground öffnen
Mit cherri 2.3.0 (GPL-2.0) dekompiliert. Eventuell sind kleine Korrekturen nötig, bevor es kompiliert wird.
Bewertungen und Rezensionen
Rezension schreiben–
von 5
★★★★★
★★★★
★★★
★★
★
0 ratings
No reviews yet. Be the first to share what you think!
Werbung
Das gefällt dir vielleicht auch
Werbung