ShareShortcuts

Shortcuts Slots iOS13

Shortcut slots fixed for iOS13

chefchip1965
Fork “Shortcuts Slots iOS13”

Built something new on top of this Shortcut? Share it as a fork: it becomes a Shortcut of your own, which you manage, and both pages link to each other so chefchip1965 gets credit.

  1. 1Get the Shortcut and change it in the Shortcuts app. Give it a name of its own.
  2. 2Share it from the Shortcuts app and copy the iCloud link.
  3. 3Come back here, paste the link and describe what is different, e.g. “Added a step that uses Apple Intelligence to personalise the text.”
Downloads
65K
Saved
0
Actions
261
Category
API
Version
1.0
Language
EN

Preview

Shortcut slots fixed for iOS13

What's New

Version 1.0

First release

Version History
1.0 Sep 29, 2019

First release

What it does

261 actions
  1. Comment
    🎰 SHORTCUTS SLOTS 🎰 Author: u/chefchip1965 This game is intended to play lot a slot machine. It starts out by showing you the payouts for $1, $5 and $10 bets. You then put money 💴 into tour bank 🏦, $20, 50 or $100. The spin is done by 3 random n…
  2. Comment
    /Start beginning of the game and passing values to the next spin. 2 variables are passed when the shortcut is rerun.
  3. Split Text
  4. Get Item from List
  5. Set Variable
    Bank
  6. Count
  7. If
  8. Comment
    If bank is less < 1 go get the bank value from the bank.txt file.
  9. Get File
  10. Set Variable
    Bank
  11. If
  12. Comment
    /Start mechanical weighting
  13. Text
  14. Set Variable
    Mechanicalweighting
  15. Comment
    /End mechanical weighting
  16. Text
  17. Set Variable
    Arrow
  18. Comment
    /Start get bet from last spin.
  19. Get Item from List
  20. Set Variable
    Bet
  21. Comment
    /Start see if this is a new game or the continuation of another game. This was needed because if the player leaves the game or if the shortcut crashes the game will continue until the player selects cashout.
  22. Get File
  23. Set Variable
    Flag
  24. If
  25. If
  26. Comment
    /Start show the payout schedule
  27. Text
  28. Base64 Encode
  29. Play Sound
  30. Show Alert
    💰Shortcut Slots💰
  31. Comment
    /Start add some money 💴 to the bank.
  32. List
  33. Choose from List
  34. Set Variable
    Bank
  35. Save File
  36. Comment
    /Start cashin sound
  37. Text
  38. Base64 Encode
  39. Play Sound
  40. Show Notification
  41. Comment
    /Start set flag that a new game has started
  42. Text
  43. Save File
  44. Comment
    /Start set the max number in the random number generator. The higher the number the higher the odds.
  45. Text
  46. Set Variable
    Maxspin
  47. Comment
    /Start create the wheel table and the payouts per bet column.
  48. Dictionary
  49. Set Variable
    Symbols
  50. Get Dictionary Value
  51. Count
  52. Set Variable
    Wheelitemcount
  53. Comment
    /Start create the payout row indicator table. The spaces in the values are intentional to create room for "->" symbol which shows which row hit when three wheels match.
  54. Dictionary
  55. Set Variable
    Payout
  56. Comment
    /Start create column indicator table used to capture the item position from the Symbols table value.
  57. Dictionary
  58. Set Variable
    Multiplier
  59. Dictionary
  60. Set Variable
    Ch
  61. Comment
    /Start if there is a bet then show the player the selection menu.
  62. If
  63. List
  64. Choose from List
  65. If
  66. List
  67. Comment
    /Start set the bet amount
  68. Choose from List
  69. Set Variable
    Bet
  70. If
  71. Comment
    /Start end the the game and close the bank 🏦 out.
  72. Get Variable
  73. If
  74. Comment
    /Start reset the slots game flag to empty to ready for a new game
  75. Text
  76. Save File
  77. Comment
    /Start clear the bank 🏦 to empty.
  78. Text
  79. Save File
  80. Show Notification
  81. Text
  82. Base64 Encode
  83. Play Sound
  84. Stop This Shortcut
  85. If
  86. If
  87. List
  88. Choose from List
  89. If
  90. List
  91. Choose from List
  92. Set Variable
    Bet
  93. If
  94. Comment
    /Start clear the slots flag
  95. Text
  96. Save File
  97. Comment
    /Start empty the bank 🏦
  98. Text
  99. Save File
  100. Show Notification
  101. Text
  102. Base64 Encode
  103. Play Sound
  104. Stop This Shortcut
  105. Nothing
  106. Comment
    /Start generate the 3 random numbers
  107. Repeat
  108. Comment
    /Start Random number to mimic the mechanical positions on real slot machines.
  109. Random Number
  110. Calculate
  111. Comment
    /End Random number to mimic the mechanical positions on real slot machines.
  112. Random Number
  113. Comment
    New
  114. If
  115. Get Dictionary Value
  116. Split Text
  117. Get Item from List
  118. Add to Variable
  119. If
  120. Get Dictionary Value
  121. Split Text
  122. Get Item from List
  123. Add to Variable
  124. Combine Text
  125. Show Notification
    …
  126. Text
  127. Base64 Encode
  128. Play Sound
  129. Comment
    New
  130. Comment
    /Start limit the payout calculation to only apply to the payable symbols. Eliminate action is the 3 numbers are ➖➖➖
  131. Get Item from List
  132. Set Variable
    W1
  133. Get Item from List
  134. Set Variable
    W2
  135. Get Item from List
  136. Set Variable
    W3
  137. Text
  138. Set Variable
    Notificationwheel
  139. Comment
    /Start calculate winnings
  140. Text
  141. Set Variable
    Resultspin
  142. If
  143. If
  144. Get Dictionary Value
  145. Repeat with Each
  146. Split Text
  147. Get Item from List
  148. Get Variable
  149. If
  150. Set Dictionary Value
  151. Set Variable
    Payout
  152. Text
  153. Set Variable
    Winflag
  154. Get Dictionary Value
  155. Set Variable
    Paycolumn
  156. Split Text
  157. Get Item from List
  158. Set Variable
    Won
  159. Calculate
  160. Calculate
  161. Set Variable
    Bank
  162. If
  163. If
  164. Text
  165. Set Variable
    W1flag
  166. If
  167. Text
  168. Set Variable
    W1flag
  169. If
  170. Text
  171. Set Variable
    W2flag
  172. If
  173. Text
  174. Set Variable
    W2flag
  175. If
  176. Text
  177. Set Variable
    W3flag
  178. If
  179. Text
  180. Set Variable
    W3flag
  181. Calculate
  182. Calculate
  183. If
  184. Set Dictionary Value
  185. Set Variable
    Payout
  186. Text
  187. Set Variable
    Won
  188. Calculate
  189. Calculate
  190. Set Variable
    Bank
  191. Text
  192. Set Variable
    Winflag
  193. If
  194. Get Variable
  195. If
  196. Set Dictionary Value
  197. Set Variable
    Payout
  198. Text
  199. Set Variable
    Won
  200. Calculate

Ratings & Reviews

Write a Review
–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings

No reviews yet. Be the first to share what you think!

Advertisement

More by chefchip1965

See All

You Might Also Like

See All
Advertisement