tx · HzETu3N33yyVGo3CdmwbvMHK6CGro4482xHM4ms1P381 3N26e1BbLcoF8kFqpm6Gddr7kxgoDe9REJb: -0.02900000 Waves 2022.07.19 17:53 [2146784] smart account 3N26e1BbLcoF8kFqpm6Gddr7kxgoDe9REJb > SELF 0.00000000 Waves
{ "type": 13, "id": "HzETu3N33yyVGo3CdmwbvMHK6CGro4482xHM4ms1P381", "fee": 2900000, "feeAssetId": null, "timestamp": 1658242351941, "version": 2, "chainId": 84, "sender": "3N26e1BbLcoF8kFqpm6Gddr7kxgoDe9REJb", "senderPublicKey": "3krGBeGHSKGxasgdvrDcAML6LcR4761m3mGrStenhy5a", "proofs": [ "ap9QwF6fBdyR1Xpn9bcCW7VBdXPVqxrwNS5dpqVwjysDYD2NTeqHLtJjFgiwTgPwd1QBvBBxmFfBGTABKq4vRPn" ], "script": "base64:AAIFAAAAAAAAAEAIAhIDCgEIEgYKBAgIAQESABIDCgEIEgMKAQgSAwoBCBIFCgMBCAgSAwoBCBIHCgUBCAgICBIAEgcKBQEICAgIAAAANAAAAAATZ2FtZU1hc3RlclB1YmxpY0tleQEAAAAAAAAAAAlSU0FQVUJMSUMJAAJbAAAAAQIAAAAQYmFzZTY0OlJTQVBVQkxJQwAAAAAWc2V0dXBHYW1lc0NvdW50ZXJMYWJlbAIAAAATR19TRVRVUEdBTUVTQ09VTlRFUgAAAAAVdXNlZEdhbWVzQ291bnRlckxhYmVsAgAAABJHX1VTRURHQU1FU0NPVU5URVIAAAAAEGRlYWxlclF1ZXVlTGFiZWwCAAAADUdfREVBTEVSUVVFVUUAAAAAD2dhbWVNYXhCZXRMYWJlbAIAAAAIR19NQVhCRVQBAAAAC2dhbWVzTWF4QmV0AAAAAAkABBoAAAACBQAAAAR0aGlzBQAAAA9nYW1lTWF4QmV0TGFiZWwBAAAAFGdhbWVzU2V0dXBHZXRDb3VudGVyAAAAAAkABBoAAAACBQAAAAR0aGlzBQAAABZzZXR1cEdhbWVzQ291bnRlckxhYmVsAQAA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kczMJAAACAAAAAQIAAAARSW5pdEdhbWUgUmVxdWlyZWQAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tledf1J+4=", "height": 2146784, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4pBqueShucN232SoFZSQ8JqScyN7A4C8agrSjBC9Rz1x Next: AGRoNAGMxs2CLp2tFSFfPHjYruQecqcLuFbuLS2dsiJq 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'' | |
5 | 5 | ||
6 | - | let RSAPUBLIC = fromBase64String("base64: | |
6 | + | let RSAPUBLIC = fromBase64String("base64:RSAPUBLIC") | |
7 | 7 | ||
8 | 8 | let setupGamesCounterLabel = "G_SETUPGAMESCOUNTER" | |
9 | 9 | ||
487 | 487 | else if ((action == "raise")) | |
488 | 488 | then { | |
489 | 489 | let ante = value(getGameAnteAmount(currentGame)) | |
490 | - | let pay = i.payments[0].amount | |
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 | - | then throw(((" | |
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)] | |
532 | 532 | then throw("Only one mayment allowed") | |
533 | 533 | else { | |
534 | 534 | let p = i.payments[0] | |
535 | - | let ante = p.amount | |
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.") |
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'' | |
5 | 5 | ||
6 | - | let RSAPUBLIC = fromBase64String("base64: | |
6 | + | let RSAPUBLIC = fromBase64String("base64:RSAPUBLIC") | |
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 (verifyCard(card3, currentGame, 3)) | |
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 | - | let pay = i.payments[0].amount | |
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 | - | then throw(((" | |
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 | - | let ante = p.amount | |
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/169f3d6 130.53 ms ◑