ShareShortcuts

Secret Doors

Secret Doors is an Apple Shortcut game

bandito
„Secret Doors“ forken

Hast du auf Basis dieses Kurzbefehls etwas Neues erstellt? Teile ihn als Fork: Er wird zu deinem eigenen Kurzbefehl, den du selbst verwaltest, und beide Seiten verlinken aufeinander, damit bandito die Anerkennung erhält.

  1. 1Lade den Kurzbefehl und ändere ihn in der Kurzbefehle-App. Gib ihm einen eigenen Namen.
  2. 2Teile ihn in der Kurzbefehle-App und kopiere den iCloud-Link.
  3. 3Komm hierher zurück, füge den Link ein und beschreibe, was sich geändert hat, z. B. „Einen Schritt hinzugefügt, der Apple Intelligence nutzt, um den Text zu personalisieren.“
Downloads
38K
Gesichert
1
Aktionen
28
Kategorie
Fun
Version
1.1
Sprache
EN

Secret Doors is an Apple Shortcut game. In this game you must pick a tool and then you will enter a room. The tool you pick will determine your very fate.

Update One

  • Official Release
  • Classic game mode release
  • Three new items
  • Three new rooms

Neue Funktionen

Version 1.1

Added the update function

Versionsverlauf
1.1 16. Okt 2022

Added the update function

1.0 16. Okt 2022

First release

Was er macht

28 Aktionen
  1. Choose from Menu
    Secret Doors | Main Menu
  2. Choose from Menu
    Play
  3. Choose from Menu
    Select a game mode
  4. Choose from Menu
    Classic
  5. Ask for Input
    Pick an item: 1 = Sword | 2 = Flashlight | 3 = Food
  6. Set Variable
    ITEM
  7. Random Number
  8. If
  9. If
  10. Show Alert
  11. If
  12. Show Alert
  13. If
  14. If
  15. If
  16. Show Alert
  17. If
  18. Show Alert
  19. If
  20. If
  21. Show Alert
  22. If
  23. Show Alert
  24. Choose from Menu
    Credits
  25. Show Alert
  26. Choose from Menu
    Update
  27. Open URLs
  28. Choose from Menu
    Exit

Als Code ansehen
Beta

Jede Aktion dieses Kurzbefehls als Cherri ausgeschrieben, eine Programmiersprache für Kurzbefehle. Ideal, um zu lernen, wie er funktioniert.

#include 'actions/web'
#define color red
#define glyph ghost


menu "Secret Doors | Main Menu" {
item "Play":
	menu "Select a game mode" {
	item "Classic":
		const ProvidedInput = prompt("Pick an item: 1 = Sword | 2 = Flashlight | 3 = Food", "Number")
		@ITEM = ProvidedInput
		const RandomNumber = randomNumber(1, 3)
		if RandomNumber == 1 {
			if ProvidedInput == 1 {
				confirm("Behind the door is a zombie. You defeat the zombie with your sword and escape!")
			} else {
				confirm("Behind the door is a zombie. You did not have a sword to defend yourself. You die.")
			}
		} else {
			if RandomNumber == 2 {
				if @ITEM == 2 {
					confirm("Behind the door is a dark room. You use your flashlight to see and escape!")
				} else {
					confirm("Behind the door is a dark room. You cannot see and end up getting lost. You die.")
				}
			} else {
				if RandomNumber == 3 {
					confirm("Behind the door is a timer locked door. You'll have to wait one week until the door opens. Luckily you have food and you escape!")
				} else {
					confirm("Behind the door is a timer locked door. You do not have any food. You die.")
				}
			}
		}
	}
item "Credits":
	confirm("Made by @bandito")
item "Update":
	openURL("https://shareshortcuts.com/shortcuts/2214-secret-doors.html")
item "Exit":
}
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

Mehr von bandito

Alle anzeigen

Das gefällt dir vielleicht auch

Alle anzeigen
Werbung