ShareShortcuts

Shortcuts Slots

chefchip1965
Dupliquer « Shortcuts Slots »

Tu as créé quelque chose de nouveau à partir de ce raccourci ? Partage-le comme version dérivée : il devient un raccourci à toi, que tu gères, et les deux pages renvoient l’une vers l’autre pour que chefchip1965 soit crédité.

  1. 1Obtenez le raccourci et modifiez-le dans l’app Raccourcis. Donnez-lui un nom bien à lui.
  2. 2Partage-le depuis l’app Raccourcis et copie le lien iCloud.
  3. 3Reviens ici, colle le lien et décris ce qui change, par exemple : « Ajout d’une étape qui utilise Apple Intelligence pour personnaliser le texte. »
Créer mon fork
Téléchargements
72K
Enregistré
2
Actions
280
Catégorie
Fun
Version
1.6
Langue
EN

Aperçu

🎰 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, $100 or $200

The spin is done by 3 random numbers. To increase or decrease the odds change the variable Maxspin. It is preset to 16. Changing a small amount yields large odd changing results. The higher the number the higher the odds. There is also a second random number to give the affect of mechanical positioning like the slots. It is a variable called Mechanical weighting. It is preset to 4. This variable subtracts from Maxspin to allow differing odds per wheel.

The payout column is noted with an ✅ and if you win, the row is indicated with a -▶︎ on the left side of the show alert.

2 files are created in you shortcuts folder. One called slots.txt that either is blank or has a 1 showing a game is in progress. When you cashout the file is blank indicating the next time the shortcut is run it is a new game.

The other file is bank.txt. It is used to store your bank 🏦 balance.

Nouveautés

Version 1.6

Minor formatting change

Historique des versions
1.6 24 févr. 2019

Minor formatting change

1.5 24 févr. 2019

Fixed a calculation error that did not subtract the bet amount when a win was spun

1.4 23 févr. 2019

Teamed formatting and increased odds of a 🍒

1.3 23 févr. 2019

Added spinning notifications

1.2 23 févr. 2019

Added a mechanical weighting random number to give each wheel a chance at different odds in an attempt to mimic the different mechanical positions of a real slot machine.

1.1 13 févr. 2019

Fixed a very hidden bug

1.0 12 févr. 2019

First release

Ce qu’il fait

280 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 Variable
  20. Get Item from List
  21. Set Variable
    Bet
  22. 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.
  23. Get File
  24. Set Variable
    Flag
  25. If
  26. If
  27. Comment
    /Start show the payout schedule
  28. Text
  29. Base64 Encode
  30. Play Sound
  31. Show Alert
    💰Shortcut Slots💰
  32. Comment
    /Start add some money 💴 to the bank.
  33. List
  34. Choose from List
  35. Set Variable
    Bank
  36. Save File
  37. Comment
    /Start cashin sound
  38. Text
  39. Base64 Encode
  40. Play Sound
  41. Show Notification
  42. Comment
    /Start set flag that a new game has started
  43. Text
  44. Save File
  45. Comment
    /Start set the max number in the random number generator. The higher the number the higher the odds.
  46. Text
  47. Set Variable
    Maxspin
  48. Comment
    /Start create the wheel table and the payouts per bet column.
  49. Dictionary
  50. Set Variable
    Symbols
  51. Get Dictionary Value
  52. Count
  53. Set Variable
    Wheelitemcount
  54. 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.
  55. Dictionary
  56. Set Variable
    Payout
  57. Comment
    /Start create column indicator table used to capture the item position from the Symbols table value.
  58. Dictionary
  59. Set Variable
    Multiplier
  60. Dictionary
  61. Set Variable
    Ch
  62. Comment
    /Start if there is a bet then show the player the selection menu.
  63. Get Variable
  64. If
  65. List
  66. Choose from List
  67. If
  68. List
  69. Comment
    /Start set the bet amount
  70. Choose from List
  71. Set Variable
    Bet
  72. If
  73. Comment
    /Start end the the game and close the bank 🏦 out.
  74. Get Variable
  75. If
  76. Comment
    /Start reset the slots game flag to empty to ready for a new game
  77. Text
  78. Save File
  79. Comment
    /Start clear the bank 🏦 to empty.
  80. Text
  81. Save File
  82. Show Notification
  83. Text
  84. Base64 Encode
  85. Play Sound
  86. Stop This Shortcut
  87. If
  88. If
  89. List
  90. Choose from List
  91. If
  92. List
  93. Choose from List
  94. Set Variable
    Bet
  95. If
  96. Comment
    /Start clear the slots flag
  97. Text
  98. Save File
  99. Comment
    /Start empty the bank 🏦
  100. Text
  101. Save File
  102. Show Notification
  103. Text
  104. Base64 Encode
  105. Play Sound
  106. Stop This Shortcut
  107. Nothing
  108. Comment
    /Start generate the 3 random numbers
  109. Repeat
  110. Comment
    /Start Random number to mimic the mechanical positions on real slot machines.
  111. Random Number
  112. Get Variable
  113. Calculate
  114. Comment
    /End Random number to mimic the mechanical positions on real slot machines.
  115. Random Number
  116. Comment
    New
  117. If
  118. Get Variable
  119. Get Dictionary Value
  120. Split Text
  121. Get Item from List
  122. Add to Variable
  123. If
  124. Get Variable
  125. Get Dictionary Value
  126. Split Text
  127. Get Item from List
  128. Add to Variable
  129. Get Variable
  130. Combine Text
  131. Show Notification
    …
  132. Text
  133. Base64 Encode
  134. Play Sound
  135. Comment
    New
  136. Comment
    /Start limit the payout calculation to only apply to the payable symbols. Eliminate action is the 3 numbers are ➖➖➖
  137. Get Variable
  138. Get Item from List
  139. Set Variable
    W1
  140. Get Variable
  141. Get Item from List
  142. Set Variable
    W2
  143. Get Variable
  144. Get Item from List
  145. Set Variable
    W3
  146. Text
  147. Set Variable
    Notificationwheel
  148. Comment
    /Start calculate winnings
  149. Text
  150. Set Variable
    Resultspin
  151. If
  152. If
  153. Get Variable
  154. Get Dictionary Value
  155. Repeat with Each
  156. Get Variable
  157. Split Text
  158. Get Item from List
  159. Get Variable
  160. If
  161. Get Variable
  162. Set Dictionary Value
  163. Set Variable
    Payout
  164. Text
  165. Set Variable
    Winflag
  166. Get Variable
  167. Get Dictionary Value
  168. Set Variable
    Paycolumn
  169. Get Variable
  170. Split Text
  171. Get Item from List
  172. Set Variable
    Won
  173. Calculate
  174. Calculate
  175. Set Variable
    Bank
  176. If
  177. Get Variable
  178. If
  179. Text
  180. Set Variable
    W1flag
  181. If
  182. Text
  183. Set Variable
    W1flag
  184. Get Variable
  185. If
  186. Text
  187. Set Variable
    W2flag
  188. If
  189. Text
  190. Set Variable
    W2flag
  191. Get Variable
  192. If
  193. Text
  194. Set Variable
    W3flag
  195. If
  196. Text
  197. Set Variable
    W3flag
  198. Get Variable
  199. Calculate
  200. Calculate

Notes et avis

Écrire un avis
–
sur 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Aucun avis pour le moment. Sois le premier à partager ton avis !

Publicité

Plus de chefchip1965

Tout afficher

Ça pourrait aussi te plaire

Tout afficher
Publicité