Scan med din iPhone for at installere
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
Nyheder
Version 1.1
Added the update function
Hvad den gør
28 handlinger-
Choose from MenuSecret Doors | Main Menu
-
Choose from MenuPlay
-
Choose from MenuSelect a game mode
-
Choose from MenuClassic
-
Ask for InputPick an item: 1 = Sword | 2 = Flashlight | 3 = Food
-
Set VariableITEM
-
Random Number
-
If
-
If
-
Show Alert
-
If
-
Show Alert
-
If
-
If
-
If
-
Show Alert
-
If
-
Show Alert
-
If
-
If
-
Show Alert
-
If
-
Show Alert
-
Choose from MenuCredits
-
Show Alert
-
Choose from MenuUpdate
-
Open URLs
-
Choose from MenuExit
Vis som kode
Alle genvejens handlinger skrevet ud i Cherri, et programmeringssprog til genveje. Perfekt til at lære, hvordan den virker.
#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":
}
Å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 bandito
Du vil måske også kunne lide
Annonce