tx · F5DbcWSHBWG7Fp4ezaMBBFDWXAd8Qx1Grsk4SAzkAsV1 3N6hQF6HBBQ5JCKB8Xs17Q61wkG3VrLvbGd: -0.25000100 Waves 2022.06.23 13:42 [2108952] smart account 3N6hQF6HBBQ5JCKB8Xs17Q61wkG3VrLvbGd > SELF 0.00000000 Waves
{ "type": 13, "id": "F5DbcWSHBWG7Fp4ezaMBBFDWXAd8Qx1Grsk4SAzkAsV1", "fee": 25000100, "feeAssetId": null, "timestamp": 1655980942609, "version": 2, "chainId": 84, "sender": "3N6hQF6HBBQ5JCKB8Xs17Q61wkG3VrLvbGd", "senderPublicKey": "7Hi4o6vBstRs79NMVMjEove52dmP87RAcvNDAXN8C4Wi", "proofs": [ "2s5cDSj7KjuSDk35ZQ5ht2TCareN5wMBuMtpfZaoaoCamwjxy1W2bsdXmzh1wqydsC52vM4CBcnY5xKGiMDgcGTU" ], "script": "base64:AAIFAAAAAAAAAEAIAhIDCgEIEgYKBAgIAQESABIDCgEIEgMKAQgSAwoBCBIFCgMBCAgSAwoBCBIHCgUBCAgICBIAEgcKBQEICAgIAAAANAAAAAATZ2FtZU1hc3RlclB1YmxpY0tleQEAAAAaAVQzFcfp85ujM4mZ/b9ZTF6cZzUYnjIJLLEAAAAACVJTQVBVQkxJQwkAAlsAAAABAgAAAZNiYXNlNjQ6TUlJQkl6QU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FSQUFNSUlCQ3dLQ0FRSUErQ3Biek1CS3BxKzdWYXJTREhMVzB3UVNvaDJMVGJnbDFyQWhmcnVaR0NqdDZNTzRvMXYxaUxxS3lOSDNGSnN2d2xMVXFtcUU3RTJXbDdMYklQQTI2UHhPMlhDRGZ2ajBPV3A3Y0VKa1VCRWl5UFlDbitpdVBYVVB3dWRvRmdNNFdIZjBJUGJESjJPNk9nelFsQkJtTnU2T3dyN25hSVRpSnJQQXZha1BnQWRtVVB2NHJPemN1NkJSMFQ4R3dzendwcnZ3V1psS0Y2QWQwMG9tTEZEbX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AQCQAAyQAAAAIIBQAAAAFpAAAADXRyYW5zYWN0aW9uSWQAAAAAAAAAABAAAAAAAAAAAAIEAAAAC2N1cnJlbnRHYW1lCQAAZAAAAAIFAAAAEVNFVFVQR0FNRVNDT1VOVEVSAAAAAAAAAAABAwkBAAAAAiE9AAAAAgUAAAAKZ2FtZU51bWJlcgUAAAALY3VycmVudEdhbWUJAAACAAAAAQIAAAASV3JvbmcgZ2FtZSBudW1iZXIuAwkAAAAAAAACCQAAagAAAAIFAAAACnJhbmRvbWl6ZXIAAAAAAAAAAAIAAAAAAAAAAAEJAQAAAAxnZXRHYW1lU2V0dXAAAAAGBQAAAAtjdXJyZW50R2FtZQUAAAAKcmFuZG9taXplcgUAAAAGY2FyZHMzBQAAAAZjYXJkczIFAAAABmNhcmRzMQUAAAAGY2FyZHMwCQEAAAAMZ2V0R2FtZVNldHVwAAAABgUAAAALY3VycmVudEdhbWUFAAAACnJhbmRvbWl6ZXIFAAAABmNhcmRzMAUAAAAGY2FyZHMxBQAAAAZjYXJkczIFAAAABmNhcmRzMwkAAAIAAAABAgAAABFJbml0R2FtZSBSZXF1aXJlZAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5MI2GsA==", "height": 2108952, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 7yn3thdZb2YS1R1AHqwPEmmCoeS4eAMTf3rpNj2Q217T Next: F3PkdVPHr1zTzYJUwoCqn1pLx2B3jXRLnRFRGY4P89G8 Diff:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | - | let gameMasterPublicKey = base58' | |
4 | + | let gameMasterPublicKey = base58'3MtaCL4v1bjTabUqs7oU4ofS8fbai34WM1i' | |
5 | 5 | ||
6 | - | let RSAPUBLIC = fromBase64String("base64: | |
6 | + | let RSAPUBLIC = fromBase64String("base64:MIIBIzANBgkqhkiG9w0BAQEFAAOCARAAMIIBCwKCAQIA+CpbzMBKpq+7VarSDHLW0wQSoh2LTbgl1rAhfruZGCjt6MO4o1v1iLqKyNH3FJsvwlLUqmqE7E2Wl7LbIPA26PxO2XCDfvj0OWp7cEJkUBEiyPYCn+iuPXUPwudoFgM4WHf0IPbDJ2O6OgzQlBBmNu6Owr7naITiJrPAvakPgAdmUPv4rOzcu6BR0T8GwszwprvwWZlKF6Ad00omLFDmx66HvBE51sRBiXIRbJnjDhlopize4LoR1FIrQaAu1sfs5bEHLA33jvKybne+IDawCsiINZYdPZV1WWcURC+XAFfBiYCw4PYyguxaBRHotzLc2dOsBV1HDNIjLKVoRknyt50CAwEAAQ==") | |
7 | 7 | ||
8 | 8 | let setupGamesCounterLabel = "G_SETUPGAMESCOUNTER" | |
9 | 9 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | - | let gameMasterPublicKey = base58' | |
4 | + | let gameMasterPublicKey = base58'3MtaCL4v1bjTabUqs7oU4ofS8fbai34WM1i' | |
5 | 5 | ||
6 | - | let RSAPUBLIC = fromBase64String("base64: | |
6 | + | let RSAPUBLIC = fromBase64String("base64:MIIBIzANBgkqhkiG9w0BAQEFAAOCARAAMIIBCwKCAQIA+CpbzMBKpq+7VarSDHLW0wQSoh2LTbgl1rAhfruZGCjt6MO4o1v1iLqKyNH3FJsvwlLUqmqE7E2Wl7LbIPA26PxO2XCDfvj0OWp7cEJkUBEiyPYCn+iuPXUPwudoFgM4WHf0IPbDJ2O6OgzQlBBmNu6Owr7naITiJrPAvakPgAdmUPv4rOzcu6BR0T8GwszwprvwWZlKF6Ad00omLFDmx66HvBE51sRBiXIRbJnjDhlopize4LoR1FIrQaAu1sfs5bEHLA33jvKybne+IDawCsiINZYdPZV1WWcURC+XAFfBiYCw4PYyguxaBRHotzLc2dOsBV1HDNIjLKVoRknyt50CAwEAAQ==") | |
7 | 7 | ||
8 | 8 | let setupGamesCounterLabel = "G_SETUPGAMESCOUNTER" | |
9 | 9 | ||
10 | 10 | let usedGamesCounterLabel = "G_USEDGAMESCOUNTER" | |
11 | 11 | ||
12 | 12 | let dealerQueueLabel = "G_DEALERQUEUE" | |
13 | 13 | ||
14 | 14 | let gameMaxBetLabel = "G_MAXBET" | |
15 | 15 | ||
16 | 16 | func gamesMaxBet () = getInteger(this, gameMaxBetLabel) | |
17 | 17 | ||
18 | 18 | ||
19 | 19 | func gamesSetupGetCounter () = getInteger(this, setupGamesCounterLabel) | |
20 | 20 | ||
21 | 21 | ||
22 | 22 | func gamesUsedGetCounter () = getInteger(this, usedGamesCounterLabel) | |
23 | 23 | ||
24 | 24 | ||
25 | 25 | func getDealerQueue () = getString(this, dealerQueueLabel) | |
26 | 26 | ||
27 | 27 | ||
28 | 28 | func getGameCardsSignatureLabel (gameNumber,card) = ((("G_" + toString(gameNumber)) + "_CARDSIGNATURE_") + toString(card)) | |
29 | 29 | ||
30 | 30 | ||
31 | 31 | func getGameCardsLabel (gameNumber,card) = ((("G_" + toString(gameNumber)) + "_CARD_") + toString(card)) | |
32 | 32 | ||
33 | 33 | ||
34 | 34 | func getGameSortedHandLabel (gameNumber,who) = (((("G_" + toString(gameNumber)) + "_") + who) + "_SORTEDHAND") | |
35 | 35 | ||
36 | 36 | ||
37 | 37 | func getGameHandScoreLabel (gameNumber,who) = (((("G_" + toString(gameNumber)) + "_") + who) + "_SCORE") | |
38 | 38 | ||
39 | 39 | ||
40 | 40 | func getGameAnteAmountLabel (gameNumber) = (("G_" + toString(gameNumber)) + "_ANTE") | |
41 | 41 | ||
42 | 42 | ||
43 | 43 | func getGamePlayerLabel (gameNumber) = (("G_" + toString(gameNumber)) + "_PLAYER") | |
44 | 44 | ||
45 | 45 | ||
46 | 46 | func getGamePayoutLabel (gameNumber) = (("G_" + toString(gameNumber)) + "_PAYOUT") | |
47 | 47 | ||
48 | 48 | ||
49 | 49 | func getGameStateLabel (gameNumber) = (("G_" + toString(gameNumber)) + "_STATE") | |
50 | 50 | ||
51 | 51 | ||
52 | 52 | func getGameShuffelOffesetLabel (gameNumber) = (("G_" + toString(gameNumber)) + "_OFFSET") | |
53 | 53 | ||
54 | 54 | ||
55 | 55 | func getGameCardsSignature (gameNumber,card) = getString(this, getGameCardsSignatureLabel(gameNumber, card)) | |
56 | 56 | ||
57 | 57 | ||
58 | 58 | func getGameSortedHandCards (gameNumber,who) = getString(this, getGameSortedHandLabel(gameNumber, who)) | |
59 | 59 | ||
60 | 60 | ||
61 | 61 | func getGameHandScore (gameNumber,who) = getInteger(this, getGameHandScoreLabel(gameNumber, who)) | |
62 | 62 | ||
63 | 63 | ||
64 | 64 | func getGameCards (gameNumber,card) = getString(this, getGameCardsLabel(gameNumber, card)) | |
65 | 65 | ||
66 | 66 | ||
67 | 67 | func getGamePlayer (gameNumber) = getString(this, getGamePlayerLabel(gameNumber)) | |
68 | 68 | ||
69 | 69 | ||
70 | 70 | func getGameState (gameNumber) = getInteger(this, getGameStateLabel(gameNumber)) | |
71 | 71 | ||
72 | 72 | ||
73 | 73 | func getGameAnteAmount (gameNumber) = getInteger(this, getGameAnteAmountLabel(gameNumber)) | |
74 | 74 | ||
75 | 75 | ||
76 | 76 | func getGameShuffelOffeset (gameNumber) = getInteger(this, getGameShuffelOffesetLabel(gameNumber)) | |
77 | 77 | ||
78 | 78 | ||
79 | 79 | func getGamePayout (gameNumber) = getInteger(this, getGamePayoutLabel(gameNumber)) | |
80 | 80 | ||
81 | 81 | ||
82 | 82 | func getPlayerCurrentGameLabel (address) = (("P_" + address) + "_CURRENTGAME") | |
83 | 83 | ||
84 | 84 | ||
85 | 85 | func getPlayerCurrentGame (address) = getInteger(this, getPlayerCurrentGameLabel(address)) | |
86 | 86 | ||
87 | 87 | ||
88 | 88 | func verifyCard (card,gameNumber,cardNumber) = rsaVerify_16Kb(SHA256, toBytes(card), fromBase64String(split(value(getGameCardsSignature(gameNumber, cardNumber)), " ")[0]), RSAPUBLIC) | |
89 | 89 | ||
90 | 90 | ||
91 | 91 | func checkPermission (callerPublicKey) = (callerPublicKey != gameMasterPublicKey) | |
92 | 92 | ||
93 | 93 | ||
94 | 94 | func createGameMetadata (address,ante) = { | |
95 | 95 | let gameToReserve = (value(gamesUsedGetCounter()) + 1) | |
96 | 96 | let dealerQueue = value(getDealerQueue()) | |
97 | 97 | [IntegerEntry(usedGamesCounterLabel, gameToReserve), IntegerEntry(getPlayerCurrentGameLabel(address), gameToReserve), IntegerEntry(getGameStateLabel(gameToReserve), 1), IntegerEntry(getGameAnteAmountLabel(gameToReserve), ante), StringEntry(dealerQueueLabel, ((value(getDealerQueue()) + ",") + toString(gameToReserve))), StringEntry(getGamePlayerLabel(gameToReserve), address)] | |
98 | 98 | } | |
99 | 99 | ||
100 | 100 | ||
101 | 101 | func getGameSetup (gameNumber,randomizer,cards0,cards1,cards2,cards3) = [IntegerEntry(setupGamesCounterLabel, gameNumber), IntegerEntry(getGameStateLabel(gameNumber), 0), IntegerEntry(getGameShuffelOffesetLabel(gameNumber), randomizer), StringEntry(getGameCardsSignatureLabel(gameNumber, 0), cards0), StringEntry(getGameCardsSignatureLabel(gameNumber, 1), cards1), StringEntry(getGameCardsSignatureLabel(gameNumber, 2), cards2), StringEntry(getGameCardsSignatureLabel(gameNumber, 3), cards3)] | |
102 | 102 | ||
103 | 103 | ||
104 | 104 | func getSuit (card) = split(card, "/")[1] | |
105 | 105 | ||
106 | 106 | ||
107 | 107 | func getNumber (card) = value(parseInt(split(card, "/")[0])) | |
108 | 108 | ||
109 | 109 | ||
110 | 110 | func isFourOfAKind (hand) = if (if ((hand[0] == hand[3])) | |
111 | 111 | then true | |
112 | 112 | else (hand[1] == hand[4])) | |
113 | 113 | then true | |
114 | 114 | else false | |
115 | 115 | ||
116 | 116 | ||
117 | 117 | func isFullHouse (hand) = if (if (if ((hand[0] == hand[2])) | |
118 | 118 | then (hand[3] == hand[4]) | |
119 | 119 | else false) | |
120 | 120 | then true | |
121 | 121 | else if ((hand[0] == hand[1])) | |
122 | 122 | then (hand[2] == hand[4]) | |
123 | 123 | else false) | |
124 | 124 | then true | |
125 | 125 | else false | |
126 | 126 | ||
127 | 127 | ||
128 | 128 | func isFlush (hand) = { | |
129 | 129 | let firstSuit = hand[0] | |
130 | 130 | if (if (if (if ((hand[1] == firstSuit)) | |
131 | 131 | then (hand[2] == firstSuit) | |
132 | 132 | else false) | |
133 | 133 | then (hand[3] == firstSuit) | |
134 | 134 | else false) | |
135 | 135 | then (hand[4] == firstSuit) | |
136 | 136 | else false) | |
137 | 137 | then true | |
138 | 138 | else false | |
139 | 139 | } | |
140 | 140 | ||
141 | 141 | ||
142 | 142 | func isStraight (hand) = { | |
143 | 143 | let largest = hand[4] | |
144 | 144 | if (if (if (if ((hand[3] == (largest - 1))) | |
145 | 145 | then (hand[2] == (largest - 2)) | |
146 | 146 | else false) | |
147 | 147 | then (hand[1] == (largest - 3)) | |
148 | 148 | else false) | |
149 | 149 | then (hand[0] == (largest - 4)) | |
150 | 150 | else false) | |
151 | 151 | then true | |
152 | 152 | else false | |
153 | 153 | } | |
154 | 154 | ||
155 | 155 | ||
156 | 156 | func isThreeOfKind (hand) = if (if (if ((hand[0] == hand[2])) | |
157 | 157 | then true | |
158 | 158 | else (hand[1] == hand[3])) | |
159 | 159 | then true | |
160 | 160 | else (hand[2] == hand[4])) | |
161 | 161 | then true | |
162 | 162 | else false | |
163 | 163 | ||
164 | 164 | ||
165 | 165 | func isTwoPair (hand) = { | |
166 | 166 | let numberOfPairs = 0 | |
167 | 167 | let matching = [(hand[0] == hand[1]), (hand[1] == hand[2]), (hand[2] == hand[3]), (hand[3] == hand[4])] | |
168 | 168 | if (if (if ((indexOf(matching, true) != lastIndexOf(matching, true))) | |
169 | 169 | then (indexOf(matching, true) != unit) | |
170 | 170 | else false) | |
171 | 171 | then (lastIndexOf(matching, true) != unit) | |
172 | 172 | else false) | |
173 | 173 | then true | |
174 | 174 | else false | |
175 | 175 | } | |
176 | 176 | ||
177 | 177 | ||
178 | 178 | func isOnePair (hand) = if (if (if (if ((hand[0] == hand[1])) | |
179 | 179 | then true | |
180 | 180 | else (hand[1] == hand[2])) | |
181 | 181 | then true | |
182 | 182 | else (hand[2] == hand[3])) | |
183 | 183 | then true | |
184 | 184 | else (hand[3] == hand[4])) | |
185 | 185 | then true | |
186 | 186 | else false | |
187 | 187 | ||
188 | 188 | ||
189 | 189 | func getScore (hand) = { | |
190 | 190 | let allNumbers = (((((nil :+ getNumber(hand[0])) :+ getNumber(hand[1])) :+ getNumber(hand[2])) :+ getNumber(hand[3])) :+ getNumber(hand[4])) | |
191 | 191 | let allSuits = (((((nil :+ getSuit(hand[0])) :+ getSuit(hand[1])) :+ getSuit(hand[2])) :+ getSuit(hand[3])) :+ getSuit(hand[4])) | |
192 | 192 | if (isStraight(allNumbers)) | |
193 | 193 | then if (isFlush(allSuits)) | |
194 | 194 | then if ((allNumbers[4] == 14)) | |
195 | 195 | then 9 | |
196 | 196 | else 8 | |
197 | 197 | else 4 | |
198 | 198 | else if (isFourOfAKind(allNumbers)) | |
199 | 199 | then 7 | |
200 | 200 | else if (isFullHouse(allNumbers)) | |
201 | 201 | then 6 | |
202 | 202 | else if (isFlush(allSuits)) | |
203 | 203 | then 5 | |
204 | 204 | else if (isThreeOfKind(allNumbers)) | |
205 | 205 | then 3 | |
206 | 206 | else if (isTwoPair(allNumbers)) | |
207 | 207 | then 2 | |
208 | 208 | else if (isOnePair(allNumbers)) | |
209 | 209 | then 1 | |
210 | 210 | else 0 | |
211 | 211 | } | |
212 | 212 | ||
213 | 213 | ||
214 | 214 | func payoutMultiplier (playerScore) = if ((playerScore == 9)) | |
215 | 215 | then 101 | |
216 | 216 | else if ((playerScore == 8)) | |
217 | 217 | then 51 | |
218 | 218 | else if ((playerScore == 7)) | |
219 | 219 | then 21 | |
220 | 220 | else if ((playerScore == 6)) | |
221 | 221 | then 8 | |
222 | 222 | else if ((playerScore == 5)) | |
223 | 223 | then 6 | |
224 | 224 | else if ((playerScore == 4)) | |
225 | 225 | then 5 | |
226 | 226 | else if ((playerScore == 3)) | |
227 | 227 | then 4 | |
228 | 228 | else if ((playerScore == 2)) | |
229 | 229 | then 3 | |
230 | 230 | else 2 | |
231 | 231 | ||
232 | 232 | ||
233 | 233 | func whoHasHighestCard (allPlayerNumbers,allDealerNumbers) = if ((allDealerNumbers[4] > allPlayerNumbers[4])) | |
234 | 234 | then 2 | |
235 | 235 | else if ((allPlayerNumbers[4] > allDealerNumbers[4])) | |
236 | 236 | then 1 | |
237 | 237 | else if ((allDealerNumbers[3] > allPlayerNumbers[3])) | |
238 | 238 | then 2 | |
239 | 239 | else if ((allPlayerNumbers[3] > allDealerNumbers[3])) | |
240 | 240 | then 1 | |
241 | 241 | else if ((allDealerNumbers[2] > allPlayerNumbers[2])) | |
242 | 242 | then 2 | |
243 | 243 | else if ((allPlayerNumbers[2] > allDealerNumbers[2])) | |
244 | 244 | then 1 | |
245 | 245 | else if ((allDealerNumbers[1] > allPlayerNumbers[1])) | |
246 | 246 | then 2 | |
247 | 247 | else if ((allPlayerNumbers[1] > allDealerNumbers[1])) | |
248 | 248 | then 1 | |
249 | 249 | else if ((allDealerNumbers[0] > allPlayerNumbers[0])) | |
250 | 250 | then 2 | |
251 | 251 | else if ((allPlayerNumbers[0] > allDealerNumbers[0])) | |
252 | 252 | then 1 | |
253 | 253 | else 0 | |
254 | 254 | ||
255 | 255 | ||
256 | 256 | func highestPairNumber (cardNumbers) = if ((cardNumbers[4] == cardNumbers[3])) | |
257 | 257 | then cardNumbers[4] | |
258 | 258 | else if ((cardNumbers[3] == cardNumbers[2])) | |
259 | 259 | then cardNumbers[3] | |
260 | 260 | else if ((cardNumbers[2] == cardNumbers[1])) | |
261 | 261 | then cardNumbers[2] | |
262 | 262 | else if ((cardNumbers[1] == cardNumbers[0])) | |
263 | 263 | then cardNumbers[1] | |
264 | 264 | else -1 | |
265 | 265 | ||
266 | 266 | ||
267 | 267 | func lowestPairNumber (cardNumbers) = if ((cardNumbers[0] == cardNumbers[1])) | |
268 | 268 | then cardNumbers[1] | |
269 | 269 | else if ((cardNumbers[1] == cardNumbers[2])) | |
270 | 270 | then cardNumbers[1] | |
271 | 271 | else if ((cardNumbers[2] == cardNumbers[3])) | |
272 | 272 | then cardNumbers[2] | |
273 | 273 | else if ((cardNumbers[3] == cardNumbers[4])) | |
274 | 274 | then cardNumbers[3] | |
275 | 275 | else -1 | |
276 | 276 | ||
277 | 277 | ||
278 | 278 | func getHighestNonPairNumber (cardNumbers) = if ((cardNumbers[4] != cardNumbers[3])) | |
279 | 279 | then cardNumbers[4] | |
280 | 280 | else if ((cardNumbers[2] != cardNumbers[1])) | |
281 | 281 | then cardNumbers[2] | |
282 | 282 | else cardNumbers[0] | |
283 | 283 | ||
284 | 284 | ||
285 | 285 | func secondHighestNonPairOfPairHand (cardNumbers) = if ((cardNumbers[3] == cardNumbers[2])) | |
286 | 286 | then cardNumbers[1] | |
287 | 287 | else if ((cardNumbers[2] == cardNumbers[1])) | |
288 | 288 | then cardNumbers[3] | |
289 | 289 | else cardNumbers[2] | |
290 | 290 | ||
291 | 291 | ||
292 | 292 | func thirdHighestNonPairOfPairHand (cardNumbers) = if ((cardNumbers[0] == cardNumbers[1])) | |
293 | 293 | then cardNumbers[2] | |
294 | 294 | else cardNumbers[0] | |
295 | 295 | ||
296 | 296 | ||
297 | 297 | func getPlayerPayout (playerHand,dealerHand,ante,playerScore) = { | |
298 | 298 | let playerCards = split(playerHand, "+") | |
299 | 299 | let playerValue = playerScore | |
300 | 300 | let dealerCards = split(dealerHand, "+") | |
301 | 301 | let dealerValue = getScore(dealerCards) | |
302 | 302 | let allPlayerNumbers = (((((nil :+ getNumber(playerCards[0])) :+ getNumber(playerCards[1])) :+ getNumber(playerCards[2])) :+ getNumber(playerCards[3])) :+ getNumber(playerCards[4])) | |
303 | 303 | let allDealerNumbers = (((((nil :+ getNumber(dealerCards[0])) :+ getNumber(dealerCards[1])) :+ getNumber(dealerCards[2])) :+ getNumber(dealerCards[3])) :+ getNumber(dealerCards[4])) | |
304 | 304 | if (if (if ((indexOf(dealerHand, "13") != unit)) | |
305 | 305 | then (indexOf(dealerHand, "14") != unit) | |
306 | 306 | else false) | |
307 | 307 | then true | |
308 | 308 | else (dealerValue >= 1)) | |
309 | 309 | then if ((playerValue == dealerValue)) | |
310 | 310 | then if ((playerValue == 9)) | |
311 | 311 | then (ante + (ante * 2)) | |
312 | 312 | else if (if ((playerValue == 8)) | |
313 | 313 | then true | |
314 | 314 | else (playerValue == 4)) | |
315 | 315 | then if ((allDealerNumbers[4] > allPlayerNumbers[4])) | |
316 | 316 | then 0 | |
317 | 317 | else if ((allDealerNumbers[4] == allPlayerNumbers[4])) | |
318 | 318 | then (ante + (ante * 2)) | |
319 | 319 | else (((payoutMultiplier(playerValue) * ante) * 2) + (ante * 2)) | |
320 | 320 | else if ((playerValue == 7)) | |
321 | 321 | then if ((allDealerNumbers[1] > allPlayerNumbers[1])) | |
322 | 322 | then 0 | |
323 | 323 | else (((payoutMultiplier(playerValue) * ante) * 2) + (ante * 2)) | |
324 | 324 | else if ((playerValue == 6)) | |
325 | 325 | then if ((allDealerNumbers[2] > allPlayerNumbers[2])) | |
326 | 326 | then 0 | |
327 | 327 | else (((payoutMultiplier(playerValue) * ante) * 2) + (ante * 2)) | |
328 | 328 | else if ((playerValue == 5)) | |
329 | 329 | then { | |
330 | 330 | let highestCardThere = whoHasHighestCard(allPlayerNumbers, allDealerNumbers) | |
331 | 331 | if ((highestCardThere == 1)) | |
332 | 332 | then (((payoutMultiplier(playerValue) * ante) * 2) + (ante * 2)) | |
333 | 333 | else if ((highestCardThere == 2)) | |
334 | 334 | then 0 | |
335 | 335 | else (ante + (ante * 2)) | |
336 | 336 | } | |
337 | 337 | else if ((playerValue == 3)) | |
338 | 338 | then if ((allDealerNumbers[2] > allPlayerNumbers[2])) | |
339 | 339 | then 0 | |
340 | 340 | else (((payoutMultiplier(playerValue) * ante) * 2) + (ante * 2)) | |
341 | 341 | else if (if ((playerValue == 2)) | |
342 | 342 | then true | |
343 | 343 | else (playerValue == 1)) | |
344 | 344 | then { | |
345 | 345 | let playersHighestPair = highestPairNumber(allPlayerNumbers) | |
346 | 346 | let dealersHighestPair = highestPairNumber(allDealerNumbers) | |
347 | 347 | if ((dealersHighestPair > playersHighestPair)) | |
348 | 348 | then 0 | |
349 | 349 | else if ((playersHighestPair > dealersHighestPair)) | |
350 | 350 | then (((payoutMultiplier(playerValue) * ante) * 2) + (ante * 2)) | |
351 | 351 | else { | |
352 | 352 | let dealersHighestNonPair = getHighestNonPairNumber(allDealerNumbers) | |
353 | 353 | let playerssHighestNonPair = getHighestNonPairNumber(allPlayerNumbers) | |
354 | 354 | if ((playerValue == 2)) | |
355 | 355 | then { | |
356 | 356 | let playersLowestPair = lowestPairNumber(allPlayerNumbers) | |
357 | 357 | let dealersLowestPair = lowestPairNumber(allDealerNumbers) | |
358 | 358 | if ((dealersLowestPair > playersLowestPair)) | |
359 | 359 | then 0 | |
360 | 360 | else if ((playersLowestPair > dealersLowestPair)) | |
361 | 361 | then (((payoutMultiplier(playerValue) * ante) * 2) + (ante * 2)) | |
362 | 362 | else if ((dealersHighestNonPair > playerssHighestNonPair)) | |
363 | 363 | then 0 | |
364 | 364 | else if ((playerssHighestNonPair > dealersHighestNonPair)) | |
365 | 365 | then (((payoutMultiplier(playerValue) * ante) * 2) + (ante * 2)) | |
366 | 366 | else (ante + (ante * 2)) | |
367 | 367 | } | |
368 | 368 | else if ((dealersHighestNonPair > playerssHighestNonPair)) | |
369 | 369 | then 0 | |
370 | 370 | else if ((playerssHighestNonPair > dealersHighestNonPair)) | |
371 | 371 | then (((payoutMultiplier(playerValue) * ante) * 2) + (ante * 2)) | |
372 | 372 | else { | |
373 | 373 | let dealerssecondHighestNonPair = secondHighestNonPairOfPairHand(allDealerNumbers) | |
374 | 374 | let playerssecondHighestNonPair = secondHighestNonPairOfPairHand(allPlayerNumbers) | |
375 | 375 | if ((dealerssecondHighestNonPair > playerssecondHighestNonPair)) | |
376 | 376 | then 0 | |
377 | 377 | else if ((playerssecondHighestNonPair > dealerssecondHighestNonPair)) | |
378 | 378 | then (((payoutMultiplier(playerValue) * ante) * 2) + (ante * 2)) | |
379 | 379 | else { | |
380 | 380 | let dealersthirdHighestNonPair = thirdHighestNonPairOfPairHand(allDealerNumbers) | |
381 | 381 | let playersthirdHighestNonPair = thirdHighestNonPairOfPairHand(allPlayerNumbers) | |
382 | 382 | if ((dealersthirdHighestNonPair > playersthirdHighestNonPair)) | |
383 | 383 | then 0 | |
384 | 384 | else if ((playersthirdHighestNonPair > dealersthirdHighestNonPair)) | |
385 | 385 | then (((payoutMultiplier(playerValue) * ante) * 2) + (ante * 2)) | |
386 | 386 | else (ante + (ante * 2)) | |
387 | 387 | } | |
388 | 388 | } | |
389 | 389 | } | |
390 | 390 | } | |
391 | 391 | else { | |
392 | 392 | let highestCardThere = whoHasHighestCard(allPlayerNumbers, allDealerNumbers) | |
393 | 393 | if ((highestCardThere == 1)) | |
394 | 394 | then (((payoutMultiplier(playerValue) * ante) * 2) + (ante * 2)) | |
395 | 395 | else if ((highestCardThere == 2)) | |
396 | 396 | then 0 | |
397 | 397 | else (ante + (ante * 2)) | |
398 | 398 | } | |
399 | 399 | else if ((playerValue > dealerValue)) | |
400 | 400 | then (((payoutMultiplier(playerValue) * ante) * 2) + (ante * 2)) | |
401 | 401 | else 0 | |
402 | 402 | else (ante * 4) | |
403 | 403 | } | |
404 | 404 | ||
405 | 405 | ||
406 | 406 | @Callable(i) | |
407 | 407 | func testPairSingleCards (orderedCards) = { | |
408 | 408 | let hand = split(orderedCards, "+") | |
409 | 409 | let allNumbers = (((((nil :+ getNumber(hand[0])) :+ getNumber(hand[1])) :+ getNumber(hand[2])) :+ getNumber(hand[3])) :+ getNumber(hand[4])) | |
410 | 410 | throw(((((toString(getHighestNonPairNumber(allNumbers)) + "-") + toString(secondHighestNonPairOfPairHand(allNumbers))) + "-") + toString(thirdHighestNonPairOfPairHand(allNumbers)))) | |
411 | 411 | } | |
412 | 412 | ||
413 | 413 | ||
414 | 414 | ||
415 | 415 | @Callable(i) | |
416 | 416 | func testPayout (playerHand,dealerHand,ante,playerScore) = throw(toString(getPlayerPayout(playerHand, dealerHand, ante, playerScore))) | |
417 | 417 | ||
418 | 418 | ||
419 | 419 | ||
420 | 420 | @Callable(i) | |
421 | 421 | func initGame () = if (checkPermission(i.callerPublicKey)) | |
422 | 422 | then throw("initGame_FORBBIDEN") | |
423 | 423 | else match gamesSetupGetCounter() { | |
424 | 424 | case GAMESCOUNTER: Int => | |
425 | 425 | throw("INIT_ALREADY_DONE") | |
426 | 426 | case _ => | |
427 | 427 | [IntegerEntry(setupGamesCounterLabel, 0), IntegerEntry(usedGamesCounterLabel, 0), IntegerEntry(gameMaxBetLabel, 100000000), StringEntry(dealerQueueLabel, "")] | |
428 | 428 | } | |
429 | 429 | ||
430 | 430 | ||
431 | 431 | ||
432 | 432 | @Callable(i) | |
433 | 433 | func testScore (orderedCards) = throw((("Score is " + toString(getScore(split(orderedCards, "+")))) + ".")) | |
434 | 434 | ||
435 | 435 | ||
436 | 436 | ||
437 | 437 | @Callable(i) | |
438 | 438 | func testHighestPair (orderedCards) = { | |
439 | 439 | let hand = split(orderedCards, "+") | |
440 | 440 | let allNumbers = (((((nil :+ getNumber(hand[0])) :+ getNumber(hand[1])) :+ getNumber(hand[2])) :+ getNumber(hand[3])) :+ getNumber(hand[4])) | |
441 | 441 | throw((("Highest Pairs is " + toString(highestPairNumber(allNumbers))) + ".")) | |
442 | 442 | } | |
443 | 443 | ||
444 | 444 | ||
445 | 445 | ||
446 | 446 | @Callable(i) | |
447 | 447 | func testLowestPair (orderedCards) = { | |
448 | 448 | let hand = split(orderedCards, "+") | |
449 | 449 | let allNumbers = (((((nil :+ getNumber(hand[0])) :+ getNumber(hand[1])) :+ getNumber(hand[2])) :+ getNumber(hand[3])) :+ getNumber(hand[4])) | |
450 | 450 | throw((("Highest Pairs is " + toString(lowestPairNumber(allNumbers))) + ".")) | |
451 | 451 | } | |
452 | 452 | ||
453 | 453 | ||
454 | 454 | ||
455 | 455 | @Callable(i) | |
456 | 456 | func revealResults (currentGame,card3,dealerOrderedCards) = if (checkPermission(i.callerPublicKey)) | |
457 | 457 | then throw("setupGame_FORBBIDEN") | |
458 | 458 | else { | |
459 | 459 | let dealerQueue = value(getDealerQueue()) | |
460 | 460 | let nextGameToProcess = split(dealerQueue, ",")[1] | |
461 | 461 | if ((nextGameToProcess == toString(currentGame))) | |
462 | 462 | then if (true) | |
463 | 463 | then { | |
464 | 464 | let ante = value(getGameAnteAmount(currentGame)) | |
465 | 465 | let address = value(addressFromString(value(getGamePlayer(currentGame)))) | |
466 | 466 | let playersOrderedCards = value(getGameSortedHandCards(currentGame, "PLAYER")) | |
467 | 467 | let payout = getPlayerPayout(playersOrderedCards, dealerOrderedCards, ante, value(getGameHandScore(currentGame, "PLAYER"))) | |
468 | 468 | [IntegerEntry(getGameStateLabel(currentGame), 4), StringEntry(dealerQueueLabel, takeRight(dealerQueue, (size(dealerQueue) - (1 + size(toString(currentGame)))))), IntegerEntry(getGamePayoutLabel(currentGame), payout), StringEntry(getGameSortedHandLabel(currentGame, "DEALER"), dealerOrderedCards), ScriptTransfer(address, payout, unit)] | |
469 | 469 | } | |
470 | 470 | else throw("One of the cards failed to be verified.") | |
471 | 471 | else throw(("The next game to process is " + nextGameToProcess)) | |
472 | 472 | } | |
473 | 473 | ||
474 | 474 | ||
475 | 475 | ||
476 | 476 | @Callable(i) | |
477 | 477 | func foldOrRaise (action) = { | |
478 | 478 | let address = toBase58String(i.caller.bytes) | |
479 | 479 | if (if ((action != "fold")) | |
480 | 480 | then (action != "raise") | |
481 | 481 | else false) | |
482 | 482 | then throw("Invalid action.") | |
483 | 483 | else { | |
484 | 484 | let currentGame = value(getPlayerCurrentGame(address)) | |
485 | 485 | if (value((getGameState(currentGame) != 2))) | |
486 | 486 | then throw("Game is not in correct state.") | |
487 | 487 | else if ((action == "raise")) | |
488 | 488 | then { | |
489 | 489 | let ante = value(getGameAnteAmount(currentGame)) | |
490 | 490 | let pay = (i.payments[0].amount + i.fee) | |
491 | 491 | if (if ((size(i.payments) != 1)) | |
492 | 492 | then true | |
493 | 493 | else (pay != (ante * 2))) | |
494 | 494 | then throw((("Fee must be 2x the ante (" + toString((ante * 2))) + ")")) | |
495 | 495 | else [IntegerEntry(getGameStateLabel(currentGame), 3), StringEntry(dealerQueueLabel, ((value(getDealerQueue()) + ",") + toString(currentGame)))] | |
496 | 496 | } | |
497 | 497 | else [IntegerEntry(getGameStateLabel(currentGame), 6)] | |
498 | 498 | } | |
499 | 499 | } | |
500 | 500 | ||
501 | 501 | ||
502 | 502 | ||
503 | 503 | @Callable(i) | |
504 | 504 | func revealCards (currentGame,card0,card1,card2,playerOrderedCards) = if (checkPermission(i.callerPublicKey)) | |
505 | 505 | then throw("setupGame_FORBBIDEN") | |
506 | 506 | else { | |
507 | 507 | let dealerQueue = value(getDealerQueue()) | |
508 | 508 | let nextGameToProcess = split(dealerQueue, ",")[1] | |
509 | 509 | if ((nextGameToProcess == toString(currentGame))) | |
510 | 510 | then { | |
511 | 511 | let allPlayersCards = (card0 + card1) | |
512 | 512 | let orderedCards = split(playerOrderedCards, "+") | |
513 | 513 | if (true) | |
514 | 514 | then if (if (if (if ((value(getGameState(currentGame)) == 1)) | |
515 | 515 | then verifyCard(card0, currentGame, 0) | |
516 | 516 | else false) | |
517 | 517 | then verifyCard(card1, currentGame, 1) | |
518 | 518 | else false) | |
519 | 519 | then verifyCard(card2, currentGame, 2) | |
520 | 520 | else false) | |
521 | 521 | then [StringEntry(getGameCardsLabel(currentGame, 2), card2), IntegerEntry(value(getGameStateLabel(currentGame)), 2), StringEntry(dealerQueueLabel, takeRight(dealerQueue, (size(dealerQueue) - (1 + size(toString(currentGame)))))), StringEntry(getGameSortedHandLabel(currentGame, "PLAYER"), playerOrderedCards), IntegerEntry(getGameHandScoreLabel(currentGame, "PLAYER"), getScore(orderedCards))] | |
522 | 522 | else throw("One of the cards failed to be verified or game is not in state 1.") | |
523 | 523 | else throw("Ordered cards should be sorted from smallest to largest.") | |
524 | 524 | } | |
525 | 525 | else throw(("The next game to process is " + nextGameToProcess)) | |
526 | 526 | } | |
527 | 527 | ||
528 | 528 | ||
529 | 529 | ||
530 | 530 | @Callable(i) | |
531 | 531 | func startGame () = if ((size(i.payments) != 1)) | |
532 | 532 | then throw("Only one mayment allowed") | |
533 | 533 | else { | |
534 | 534 | let p = i.payments[0] | |
535 | 535 | let ante = (p.amount + i.fee) | |
536 | 536 | let address = toBase58String(i.caller.bytes) | |
537 | 537 | if ((value(gamesUsedGetCounter()) >= value(gamesSetupGetCounter()))) | |
538 | 538 | then throw("No available set up games to use.") | |
539 | 539 | else match getPlayerCurrentGame(address) { | |
540 | 540 | case CURRENTGAME: Int => | |
541 | 541 | if ((4 > value(getGameState(CURRENTGAME)))) | |
542 | 542 | then throw((("Game " + toString(CURRENTGAME)) + " is still in progress.")) | |
543 | 543 | else createGameMetadata(address, ante) | |
544 | 544 | case _: Unit => | |
545 | 545 | createGameMetadata(address, ante) | |
546 | 546 | case _ => | |
547 | 547 | throw("Match error") | |
548 | 548 | } | |
549 | 549 | } | |
550 | 550 | ||
551 | 551 | ||
552 | 552 | ||
553 | 553 | @Callable(i) | |
554 | 554 | func setupGame (gameNumber,cards0,cards1,cards2,cards3) = if (checkPermission(i.callerPublicKey)) | |
555 | 555 | then throw("setupGame_FORBBIDEN") | |
556 | 556 | else match gamesSetupGetCounter() { | |
557 | 557 | case SETUPGAMESCOUNTER: Int => | |
558 | 558 | let randomizer = (toInt(sha256((take(lastBlock.generationSignature, 16) + take(i.transactionId, 16)))) % 2) | |
559 | 559 | let currentGame = (SETUPGAMESCOUNTER + 1) | |
560 | 560 | if ((gameNumber != currentGame)) | |
561 | 561 | then throw("Wrong game number.") | |
562 | 562 | else if (((randomizer % 2) == 1)) | |
563 | 563 | then getGameSetup(currentGame, randomizer, cards3, cards2, cards1, cards0) | |
564 | 564 | else getGameSetup(currentGame, randomizer, cards0, cards1, cards2, cards3) | |
565 | 565 | case _ => | |
566 | 566 | throw("InitGame Required") | |
567 | 567 | } | |
568 | 568 | ||
569 | 569 | ||
570 | 570 | @Verifier(tx) | |
571 | 571 | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
572 | 572 |
github/deemru/w8io/026f985 63.17 ms ◑