tx · 4GJVSfNfXeuZfbcewX4xXWhiLfvwenoXR6csghkfb2ma 3Mz7zzdQoHabgytXU3UuTAzADXPBBLgFqu8: -0.01400000 Waves 2019.12.27 03:28 [826698] smart account 3Mz7zzdQoHabgytXU3UuTAzADXPBBLgFqu8 > SELF 0.00000000 Waves
{ "type": 13, "id": "4GJVSfNfXeuZfbcewX4xXWhiLfvwenoXR6csghkfb2ma", "fee": 1400000, "feeAssetId": null, "timestamp": 1577406463611, "version": 1, "sender": "3Mz7zzdQoHabgytXU3UuTAzADXPBBLgFqu8", "senderPublicKey": "6uncmj7GmSzxFAGGX8NcToqPxTxWUHW7Aj1WSbMH2qXw", "proofs": [ "3DABFhEjZMRBPrqNEQLqVDp78GvjFQT9jV4ALGAdELZyGGGdjvJbLvZvvRsEkyzVaLpJMYMNAPKHkzUthm57hEVy" ], "script": "base64:AAIDAAAAAAAAABIIARIICgYBAQEBAQESBAoCCAIAAAAbAAAAAAlSU0FQVUJMSUMJAAJbAAAAAQIAAAGPYmFzZTY0Ok1JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBTUlJQkNnS0NBUUVBZzRkQVI2WGJCREFTOWhyL0VqM2RKdjZGZmM0NjZ4L21PR01XVTNsckFCczNxYThCSG11Skdua2ZicEVmMnZBd1lUT1dQdnZ6Zk0xME9CYmZsb1N5cTNjOU1LdnlUZTFsdUJMR3FXNHZaVVhJeXZTZ3oxbGl5VVZlZklReTNkeUY5amJlVFpiQzBiYmNULzdPM0RFTCswMXo2QStyRENhY1NaMGxHb2xTUTZBbmhMeHpJa1ZwT1FKYnJCbUMreCtadVpQQ01Xekp5bmQ1YWVPbjdqYWovbWtSVnl4ZTZnLzBPaFd6NE5paVpYZXVNUkIrOG1LeTBmV0QvVWxJbFpXSHNBUzJabXJrWEtxakxxMC8wd3I4SUxKa3pualNxZG5JNUliamczdVFyai80QU4raTlyMjhhUTczL1prUHRZNVNidzBBT2lBQkJ1N2dIbXE5YXlWeFpRSURBUUFCA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VEYXRhU3RyBQAAAANuaWwJAQAAAAtUcmFuc2ZlclNldAAAAAEJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwUAAAANcGxheWVyQWRkcmVzcwUAAAAGd2luQW10BQAAAARXQkVUBQAAAANuaWwEAAAADm5ld0dhbWVEYXRhU3RyCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACAgAAAARMT1NUAgAAAAFfBQAAAA5wbGF5ZXJQdWJLZXk1OAIAAAABXwkAAZEAAAACBQAAAAxnYW1lRGF0YUxpc3QAAAAAAAAAAAICAAAAAV8JAAGRAAAAAgUAAAAMZ2FtZURhdGFMaXN0AAAAAAAAAAADAgAAAAFfCQABkQAAAAIFAAAADGdhbWVEYXRhTGlzdAAAAAAAAAAABAIAAAABXwkAAaQAAAABBQAAAAZ3aW5BbXQCAAAAAV8FAAAAB3JhbmRTdHIJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIFAAAABmdhbWVJZAUAAAAObmV3R2FtZURhdGFTdHIFAAAAA25pbAAAAADgoIVW", "chainId": 84, "height": 826698, "spentComplexity": 0 } View: original | compacted Prev: AgdZodoK1hMCxC7L4c4bRGdNGLYPrqS5CqM5d5tpX4mz Next: QfGXytF9t7FYLdbsdGb9zRE8L1DvXxEGfFP1abmfN2i Diff:
Old | New | Differences | |
---|---|---|---|
1152 | 1152 | let winAmt = (((result1 + result2) + result3) * WAVELET) | |
1153 | 1153 | if ((winAmt > 0)) | |
1154 | 1154 | then { | |
1155 | - | let newGameDataStr = (((((((((((("WON" + "_") + playerPubKey58) + "_") + gameDataList[3]) + "_") + gameDataList[4 | |
1155 | + | let newGameDataStr = (((((((((((("WON" + "_") + playerPubKey58) + "_") + gameDataList[2]) + "_") + gameDataList[3]) + "_") + gameDataList[4]) + "_") + toString(winAmt)) + "_") + randStr) | |
1156 | 1156 | ScriptResult(WriteSet([DataEntry(gameId, newGameDataStr)]), TransferSet([ScriptTransfer(playerAddress, winAmt, WBET)])) | |
1157 | 1157 | } | |
1158 | 1158 | else { | |
1159 | - | let newGameDataStr = (((((((((((("LOST" + "_") + playerPubKey58) + "_") + gameDataList[3]) + "_") + gameDataList[4 | |
1159 | + | let newGameDataStr = (((((((((((("LOST" + "_") + playerPubKey58) + "_") + gameDataList[2]) + "_") + gameDataList[3]) + "_") + gameDataList[4]) + "_") + toString(winAmt)) + "_") + randStr) | |
1160 | 1160 | WriteSet([DataEntry(gameId, newGameDataStr)]) | |
1161 | 1161 | } | |
1162 | 1162 | } |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let RSAPUBLIC = fromBase64String("base64:MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAg4dAR6XbBDAS9hr/Ej3dJv6Ffc466x/mOGMWU3lrABs3qa8BHmuJGnkfbpEf2vAwYTOWPvvzfM10OBbfloSyq3c9MKvyTe1luBLGqW4vZUXIyvSgz1liyUVefIQy3dyF9jbeTZbC0bbcT/7O3DEL+01z6A+rDCacSZ0lGolSQ6AnhLxzIkVpOQJbrBmC+x+ZuZPCMWzJynd5aeOn7jaj/mkRVyxe6g/0OhWz4NiiZXeuMRB+8mKy0fWD/UlIlZWHsAS2ZmrkXKqjLq0/0wr8ILJkznjSqdnI5Ibjg3uQrj/4AN+i9r28aQ73/ZkPtY5Sbw0AOiABBu7gHmq9ayVxZQIDAQAB") | |
5 | 5 | ||
6 | 6 | let GAMESCOUNTERKEY = "$GAME_NUM" | |
7 | 7 | ||
8 | 8 | let RESERVATIONKEY = "$RESERVED_AMOUNT" | |
9 | 9 | ||
10 | 10 | let WBET = base58'A4q1mYKo11yuH9gmvDodeJoksagcyQzeFE9JtphMWddw' | |
11 | 11 | ||
12 | 12 | let WALLETWAVESBET = Address(base58'3MtCy2PCFPyu8A9SRNL4qUo1V17SGLHftD8') | |
13 | 13 | ||
14 | 14 | let WALLETMCAFEE = Address(base58'3MtCy2PCFPyu8A9SRNL4qUo1V17SGLHftD8') | |
15 | 15 | ||
16 | 16 | let WAVELET = 100000000 | |
17 | 17 | ||
18 | 18 | let FEEWAVESBET = 4 | |
19 | 19 | ||
20 | 20 | let FEEMCAFEE = 2 | |
21 | 21 | ||
22 | 22 | let BETMIN = (1 * WAVELET) | |
23 | 23 | ||
24 | 24 | let BETMAX = (20000000 * WAVELET) | |
25 | 25 | ||
26 | 26 | func splitBet (num,bet) = if (if ((num == 0)) | |
27 | 27 | then if (if ((bet == 37)) | |
28 | 28 | then true | |
29 | 29 | else (bet == 38)) | |
30 | 30 | then true | |
31 | 31 | else (bet == 39) | |
32 | 32 | else false) | |
33 | 33 | then 17 | |
34 | 34 | else if (if ((num == 1)) | |
35 | 35 | then if (if ((bet == 37)) | |
36 | 36 | then true | |
37 | 37 | else (bet == 40)) | |
38 | 38 | then true | |
39 | 39 | else (bet == 85) | |
40 | 40 | else false) | |
41 | 41 | then 17 | |
42 | 42 | else if (if ((num == 1)) | |
43 | 43 | then if (if ((bet == 37)) | |
44 | 44 | then true | |
45 | 45 | else (bet == 40)) | |
46 | 46 | then true | |
47 | 47 | else (bet == 85) | |
48 | 48 | else false) | |
49 | 49 | then 17 | |
50 | 50 | else if (if ((num == 2)) | |
51 | 51 | then if (if (if ((bet == 38)) | |
52 | 52 | then true | |
53 | 53 | else (bet == 41)) | |
54 | 54 | then true | |
55 | 55 | else (bet == 73)) | |
56 | 56 | then true | |
57 | 57 | else (bet == 85) | |
58 | 58 | else false) | |
59 | 59 | then 17 | |
60 | 60 | else if (if ((num == 3)) | |
61 | 61 | then if (if ((bet == 39)) | |
62 | 62 | then true | |
63 | 63 | else (bet == 42)) | |
64 | 64 | then true | |
65 | 65 | else (bet == 73) | |
66 | 66 | else false) | |
67 | 67 | then 17 | |
68 | 68 | else if (if ((num == 4)) | |
69 | 69 | then if (if ((bet == 40)) | |
70 | 70 | then true | |
71 | 71 | else (bet == 43)) | |
72 | 72 | then true | |
73 | 73 | else (bet == 86) | |
74 | 74 | else false) | |
75 | 75 | then 17 | |
76 | 76 | else if (if ((num == 5)) | |
77 | 77 | then if (if (if ((bet == 41)) | |
78 | 78 | then true | |
79 | 79 | else (bet == 44)) | |
80 | 80 | then true | |
81 | 81 | else (bet == 74)) | |
82 | 82 | then true | |
83 | 83 | else (bet == 86) | |
84 | 84 | else false) | |
85 | 85 | then 17 | |
86 | 86 | else if (if ((num == 6)) | |
87 | 87 | then if (if ((bet == 42)) | |
88 | 88 | then true | |
89 | 89 | else (bet == 45)) | |
90 | 90 | then true | |
91 | 91 | else (bet == 74) | |
92 | 92 | else false) | |
93 | 93 | then 17 | |
94 | 94 | else if (if ((num == 7)) | |
95 | 95 | then if (if ((bet == 43)) | |
96 | 96 | then true | |
97 | 97 | else (bet == 46)) | |
98 | 98 | then true | |
99 | 99 | else (bet == 87) | |
100 | 100 | else false) | |
101 | 101 | then 17 | |
102 | 102 | else if (if ((num == 8)) | |
103 | 103 | then if (if (if ((bet == 44)) | |
104 | 104 | then true | |
105 | 105 | else (bet == 47)) | |
106 | 106 | then true | |
107 | 107 | else (bet == 75)) | |
108 | 108 | then true | |
109 | 109 | else (bet == 87) | |
110 | 110 | else false) | |
111 | 111 | then 17 | |
112 | 112 | else if (if ((num == 9)) | |
113 | 113 | then if (if ((bet == 45)) | |
114 | 114 | then true | |
115 | 115 | else (bet == 48)) | |
116 | 116 | then true | |
117 | 117 | else (bet == 75) | |
118 | 118 | else false) | |
119 | 119 | then 17 | |
120 | 120 | else if (if ((num == 10)) | |
121 | 121 | then if (if ((bet == 46)) | |
122 | 122 | then true | |
123 | 123 | else (bet == 49)) | |
124 | 124 | then true | |
125 | 125 | else (bet == 88) | |
126 | 126 | else false) | |
127 | 127 | then 17 | |
128 | 128 | else if (if ((num == 11)) | |
129 | 129 | then if (if (if ((bet == 47)) | |
130 | 130 | then true | |
131 | 131 | else (bet == 50)) | |
132 | 132 | then true | |
133 | 133 | else (bet == 76)) | |
134 | 134 | then true | |
135 | 135 | else (bet == 88) | |
136 | 136 | else false) | |
137 | 137 | then 17 | |
138 | 138 | else if (if ((num == 12)) | |
139 | 139 | then if (if ((bet == 48)) | |
140 | 140 | then true | |
141 | 141 | else (bet == 51)) | |
142 | 142 | then true | |
143 | 143 | else (bet == 76) | |
144 | 144 | else false) | |
145 | 145 | then 17 | |
146 | 146 | else if (if ((num == 13)) | |
147 | 147 | then if (if ((bet == 49)) | |
148 | 148 | then true | |
149 | 149 | else (bet == 52)) | |
150 | 150 | then true | |
151 | 151 | else (bet == 89) | |
152 | 152 | else false) | |
153 | 153 | then 17 | |
154 | 154 | else if (if ((num == 14)) | |
155 | 155 | then if (if (if ((bet == 50)) | |
156 | 156 | then true | |
157 | 157 | else (bet == 53)) | |
158 | 158 | then true | |
159 | 159 | else (bet == 77)) | |
160 | 160 | then true | |
161 | 161 | else (bet == 89) | |
162 | 162 | else false) | |
163 | 163 | then 17 | |
164 | 164 | else if (if ((num == 15)) | |
165 | 165 | then if (if ((bet == 51)) | |
166 | 166 | then true | |
167 | 167 | else (bet == 54)) | |
168 | 168 | then true | |
169 | 169 | else (bet == 77) | |
170 | 170 | else false) | |
171 | 171 | then 17 | |
172 | 172 | else if (if ((num == 16)) | |
173 | 173 | then if (if ((bet == 52)) | |
174 | 174 | then true | |
175 | 175 | else (bet == 55)) | |
176 | 176 | then true | |
177 | 177 | else (bet == 90) | |
178 | 178 | else false) | |
179 | 179 | then 17 | |
180 | 180 | else if (if ((num == 17)) | |
181 | 181 | then if (if (if ((bet == 53)) | |
182 | 182 | then true | |
183 | 183 | else (bet == 56)) | |
184 | 184 | then true | |
185 | 185 | else (bet == 78)) | |
186 | 186 | then true | |
187 | 187 | else (bet == 90) | |
188 | 188 | else false) | |
189 | 189 | then 17 | |
190 | 190 | else if (if ((num == 18)) | |
191 | 191 | then if (if ((bet == 54)) | |
192 | 192 | then true | |
193 | 193 | else (bet == 57)) | |
194 | 194 | then true | |
195 | 195 | else (bet == 78) | |
196 | 196 | else false) | |
197 | 197 | then 17 | |
198 | 198 | else if (if ((num == 19)) | |
199 | 199 | then if (if ((bet == 55)) | |
200 | 200 | then true | |
201 | 201 | else (bet == 58)) | |
202 | 202 | then true | |
203 | 203 | else (bet == 91) | |
204 | 204 | else false) | |
205 | 205 | then 17 | |
206 | 206 | else if (if ((num == 20)) | |
207 | 207 | then if (if (if ((bet == 56)) | |
208 | 208 | then true | |
209 | 209 | else (bet == 59)) | |
210 | 210 | then true | |
211 | 211 | else (bet == 79)) | |
212 | 212 | then true | |
213 | 213 | else (bet == 91) | |
214 | 214 | else false) | |
215 | 215 | then 17 | |
216 | 216 | else if (if ((num == 21)) | |
217 | 217 | then if (if ((bet == 57)) | |
218 | 218 | then true | |
219 | 219 | else (bet == 60)) | |
220 | 220 | then true | |
221 | 221 | else (bet == 79) | |
222 | 222 | else false) | |
223 | 223 | then 17 | |
224 | 224 | else if (if ((num == 22)) | |
225 | 225 | then if (if ((bet == 58)) | |
226 | 226 | then true | |
227 | 227 | else (bet == 61)) | |
228 | 228 | then true | |
229 | 229 | else (bet == 92) | |
230 | 230 | else false) | |
231 | 231 | then 17 | |
232 | 232 | else if (if ((num == 23)) | |
233 | 233 | then if (if (if ((bet == 59)) | |
234 | 234 | then true | |
235 | 235 | else (bet == 62)) | |
236 | 236 | then true | |
237 | 237 | else (bet == 80)) | |
238 | 238 | then true | |
239 | 239 | else (bet == 92) | |
240 | 240 | else false) | |
241 | 241 | then 17 | |
242 | 242 | else if (if ((num == 24)) | |
243 | 243 | then if (if ((bet == 60)) | |
244 | 244 | then true | |
245 | 245 | else (bet == 63)) | |
246 | 246 | then true | |
247 | 247 | else (bet == 80) | |
248 | 248 | else false) | |
249 | 249 | then 17 | |
250 | 250 | else if (if ((num == 25)) | |
251 | 251 | then if (if ((bet == 61)) | |
252 | 252 | then true | |
253 | 253 | else (bet == 64)) | |
254 | 254 | then true | |
255 | 255 | else (bet == 93) | |
256 | 256 | else false) | |
257 | 257 | then 17 | |
258 | 258 | else if (if ((num == 26)) | |
259 | 259 | then if (if (if ((bet == 62)) | |
260 | 260 | then true | |
261 | 261 | else (bet == 65)) | |
262 | 262 | then true | |
263 | 263 | else (bet == 81)) | |
264 | 264 | then true | |
265 | 265 | else (bet == 93) | |
266 | 266 | else false) | |
267 | 267 | then 17 | |
268 | 268 | else if (if ((num == 27)) | |
269 | 269 | then if (if ((bet == 63)) | |
270 | 270 | then true | |
271 | 271 | else (bet == 66)) | |
272 | 272 | then true | |
273 | 273 | else (bet == 81) | |
274 | 274 | else false) | |
275 | 275 | then 17 | |
276 | 276 | else if (if ((num == 28)) | |
277 | 277 | then if (if ((bet == 64)) | |
278 | 278 | then true | |
279 | 279 | else (bet == 67)) | |
280 | 280 | then true | |
281 | 281 | else (bet == 94) | |
282 | 282 | else false) | |
283 | 283 | then 17 | |
284 | 284 | else if (if ((num == 29)) | |
285 | 285 | then if (if (if ((bet == 65)) | |
286 | 286 | then true | |
287 | 287 | else (bet == 68)) | |
288 | 288 | then true | |
289 | 289 | else (bet == 82)) | |
290 | 290 | then true | |
291 | 291 | else (bet == 94) | |
292 | 292 | else false) | |
293 | 293 | then 17 | |
294 | 294 | else if (if ((num == 30)) | |
295 | 295 | then if (if ((bet == 66)) | |
296 | 296 | then true | |
297 | 297 | else (bet == 69)) | |
298 | 298 | then true | |
299 | 299 | else (bet == 82) | |
300 | 300 | else false) | |
301 | 301 | then 17 | |
302 | 302 | else if (if ((num == 31)) | |
303 | 303 | then if (if ((bet == 67)) | |
304 | 304 | then true | |
305 | 305 | else (bet == 70)) | |
306 | 306 | then true | |
307 | 307 | else (bet == 95) | |
308 | 308 | else false) | |
309 | 309 | then 17 | |
310 | 310 | else if (if ((num == 32)) | |
311 | 311 | then if (if (if ((bet == 68)) | |
312 | 312 | then true | |
313 | 313 | else (bet == 71)) | |
314 | 314 | then true | |
315 | 315 | else (bet == 83)) | |
316 | 316 | then true | |
317 | 317 | else (bet == 95) | |
318 | 318 | else false) | |
319 | 319 | then 17 | |
320 | 320 | else if (if ((num == 33)) | |
321 | 321 | then if (if ((bet == 69)) | |
322 | 322 | then true | |
323 | 323 | else (bet == 72)) | |
324 | 324 | then true | |
325 | 325 | else (bet == 83) | |
326 | 326 | else false) | |
327 | 327 | then 17 | |
328 | 328 | else if (if ((num == 34)) | |
329 | 329 | then if ((bet == 70)) | |
330 | 330 | then true | |
331 | 331 | else (bet == 96) | |
332 | 332 | else false) | |
333 | 333 | then 17 | |
334 | 334 | else if (if (if ((num == 35)) | |
335 | 335 | then if (if ((bet == 71)) | |
336 | 336 | then true | |
337 | 337 | else (bet == 84)) | |
338 | 338 | then true | |
339 | 339 | else (bet == 96) | |
340 | 340 | else false) | |
341 | 341 | then true | |
342 | 342 | else if ((num == 36)) | |
343 | 343 | then if ((bet == 72)) | |
344 | 344 | then true | |
345 | 345 | else (bet == 84) | |
346 | 346 | else false) | |
347 | 347 | then 17 | |
348 | 348 | else if (if ((num == 36)) | |
349 | 349 | then if ((bet == 72)) | |
350 | 350 | then true | |
351 | 351 | else (bet == 84) | |
352 | 352 | else false) | |
353 | 353 | then 17 | |
354 | 354 | else 0 | |
355 | 355 | ||
356 | 356 | ||
357 | 357 | func streetBet (num,bet) = if (if ((bet == 97)) | |
358 | 358 | then if (if ((num == 0)) | |
359 | 359 | then true | |
360 | 360 | else (num == 1)) | |
361 | 361 | then true | |
362 | 362 | else (num == 2) | |
363 | 363 | else false) | |
364 | 364 | then 11 | |
365 | 365 | else if (if ((bet == 98)) | |
366 | 366 | then if (if ((num == 0)) | |
367 | 367 | then true | |
368 | 368 | else (num == 2)) | |
369 | 369 | then true | |
370 | 370 | else (num == 3) | |
371 | 371 | else false) | |
372 | 372 | then 11 | |
373 | 373 | else if (if ((bet == 99)) | |
374 | 374 | then if (if ((num == 1)) | |
375 | 375 | then true | |
376 | 376 | else (num == 2)) | |
377 | 377 | then true | |
378 | 378 | else (num == 3) | |
379 | 379 | else false) | |
380 | 380 | then 11 | |
381 | 381 | else if (if ((bet == 100)) | |
382 | 382 | then if (if ((num == 4)) | |
383 | 383 | then true | |
384 | 384 | else (num == 5)) | |
385 | 385 | then true | |
386 | 386 | else (num == 6) | |
387 | 387 | else false) | |
388 | 388 | then 11 | |
389 | 389 | else if (if ((bet == 101)) | |
390 | 390 | then if (if ((num == 7)) | |
391 | 391 | then true | |
392 | 392 | else (num == 8)) | |
393 | 393 | then true | |
394 | 394 | else (num == 9) | |
395 | 395 | else false) | |
396 | 396 | then 11 | |
397 | 397 | else if (if ((bet == 102)) | |
398 | 398 | then if (if ((num == 10)) | |
399 | 399 | then true | |
400 | 400 | else (num == 11)) | |
401 | 401 | then true | |
402 | 402 | else (num == 12) | |
403 | 403 | else false) | |
404 | 404 | then 11 | |
405 | 405 | else if (if ((bet == 103)) | |
406 | 406 | then if (if ((num == 13)) | |
407 | 407 | then true | |
408 | 408 | else (num == 14)) | |
409 | 409 | then true | |
410 | 410 | else (num == 15) | |
411 | 411 | else false) | |
412 | 412 | then 11 | |
413 | 413 | else if (if ((bet == 104)) | |
414 | 414 | then if (if ((num == 16)) | |
415 | 415 | then true | |
416 | 416 | else (num == 17)) | |
417 | 417 | then true | |
418 | 418 | else (num == 18) | |
419 | 419 | else false) | |
420 | 420 | then 11 | |
421 | 421 | else if (if ((bet == 105)) | |
422 | 422 | then if (if ((num == 19)) | |
423 | 423 | then true | |
424 | 424 | else (num == 20)) | |
425 | 425 | then true | |
426 | 426 | else (num == 21) | |
427 | 427 | else false) | |
428 | 428 | then 11 | |
429 | 429 | else if (if ((bet == 106)) | |
430 | 430 | then if (if ((num == 22)) | |
431 | 431 | then true | |
432 | 432 | else (num == 23)) | |
433 | 433 | then true | |
434 | 434 | else (num == 24) | |
435 | 435 | else false) | |
436 | 436 | then 11 | |
437 | 437 | else if (if ((bet == 107)) | |
438 | 438 | then if (if ((num == 25)) | |
439 | 439 | then true | |
440 | 440 | else (num == 26)) | |
441 | 441 | then true | |
442 | 442 | else (num == 27) | |
443 | 443 | else false) | |
444 | 444 | then 11 | |
445 | 445 | else if (if ((bet == 108)) | |
446 | 446 | then if (if ((num == 28)) | |
447 | 447 | then true | |
448 | 448 | else (num == 29)) | |
449 | 449 | then true | |
450 | 450 | else (num == 30) | |
451 | 451 | else false) | |
452 | 452 | then 11 | |
453 | 453 | else if (if ((bet == 109)) | |
454 | 454 | then if (if ((num == 31)) | |
455 | 455 | then true | |
456 | 456 | else (num == 32)) | |
457 | 457 | then true | |
458 | 458 | else (num == 33) | |
459 | 459 | else false) | |
460 | 460 | then 11 | |
461 | 461 | else if (if ((bet == 110)) | |
462 | 462 | then if (if ((num == 34)) | |
463 | 463 | then true | |
464 | 464 | else (num == 35)) | |
465 | 465 | then true | |
466 | 466 | else (num == 36) | |
467 | 467 | else false) | |
468 | 468 | then 11 | |
469 | 469 | else 0 | |
470 | 470 | ||
471 | 471 | ||
472 | 472 | func cornerBet (num,bet) = if (if ((bet == 111)) | |
473 | 473 | then if (if (if ((num == 0)) | |
474 | 474 | then true | |
475 | 475 | else (num == 1)) | |
476 | 476 | then true | |
477 | 477 | else (num == 2)) | |
478 | 478 | then true | |
479 | 479 | else (num == 3) | |
480 | 480 | else false) | |
481 | 481 | then 8 | |
482 | 482 | else if (if ((bet == 112)) | |
483 | 483 | then if (if (if ((num == 1)) | |
484 | 484 | then true | |
485 | 485 | else (num == 2)) | |
486 | 486 | then true | |
487 | 487 | else (num == 4)) | |
488 | 488 | then true | |
489 | 489 | else (num == 5) | |
490 | 490 | else false) | |
491 | 491 | then 8 | |
492 | 492 | else if (if ((bet == 113)) | |
493 | 493 | then if (if (if ((num == 2)) | |
494 | 494 | then true | |
495 | 495 | else (num == 3)) | |
496 | 496 | then true | |
497 | 497 | else (num == 5)) | |
498 | 498 | then true | |
499 | 499 | else (num == 6) | |
500 | 500 | else false) | |
501 | 501 | then 8 | |
502 | 502 | else if (if ((bet == 114)) | |
503 | 503 | then if (if (if ((num == 4)) | |
504 | 504 | then true | |
505 | 505 | else (num == 5)) | |
506 | 506 | then true | |
507 | 507 | else (num == 7)) | |
508 | 508 | then true | |
509 | 509 | else (num == 8) | |
510 | 510 | else false) | |
511 | 511 | then 8 | |
512 | 512 | else if (if ((bet == 115)) | |
513 | 513 | then if (if (if ((num == 5)) | |
514 | 514 | then true | |
515 | 515 | else (num == 6)) | |
516 | 516 | then true | |
517 | 517 | else (num == 8)) | |
518 | 518 | then true | |
519 | 519 | else (num == 9) | |
520 | 520 | else false) | |
521 | 521 | then 8 | |
522 | 522 | else if (if ((bet == 116)) | |
523 | 523 | then if (if (if ((num == 7)) | |
524 | 524 | then true | |
525 | 525 | else (num == 8)) | |
526 | 526 | then true | |
527 | 527 | else (num == 10)) | |
528 | 528 | then true | |
529 | 529 | else (num == 11) | |
530 | 530 | else false) | |
531 | 531 | then 8 | |
532 | 532 | else if (if ((bet == 117)) | |
533 | 533 | then if (if (if ((num == 8)) | |
534 | 534 | then true | |
535 | 535 | else (num == 9)) | |
536 | 536 | then true | |
537 | 537 | else (num == 11)) | |
538 | 538 | then true | |
539 | 539 | else (num == 12) | |
540 | 540 | else false) | |
541 | 541 | then 8 | |
542 | 542 | else if (if ((bet == 118)) | |
543 | 543 | then if (if (if ((num == 10)) | |
544 | 544 | then true | |
545 | 545 | else (num == 11)) | |
546 | 546 | then true | |
547 | 547 | else (num == 13)) | |
548 | 548 | then true | |
549 | 549 | else (num == 14) | |
550 | 550 | else false) | |
551 | 551 | then 8 | |
552 | 552 | else if (if ((bet == 119)) | |
553 | 553 | then if (if (if ((num == 11)) | |
554 | 554 | then true | |
555 | 555 | else (num == 12)) | |
556 | 556 | then true | |
557 | 557 | else (num == 14)) | |
558 | 558 | then true | |
559 | 559 | else (num == 15) | |
560 | 560 | else false) | |
561 | 561 | then 8 | |
562 | 562 | else if (if ((bet == 120)) | |
563 | 563 | then if (if (if ((num == 13)) | |
564 | 564 | then true | |
565 | 565 | else (num == 14)) | |
566 | 566 | then true | |
567 | 567 | else (num == 16)) | |
568 | 568 | then true | |
569 | 569 | else (num == 17) | |
570 | 570 | else false) | |
571 | 571 | then 8 | |
572 | 572 | else if (if ((bet == 121)) | |
573 | 573 | then if (if (if ((num == 14)) | |
574 | 574 | then true | |
575 | 575 | else (num == 15)) | |
576 | 576 | then true | |
577 | 577 | else (num == 17)) | |
578 | 578 | then true | |
579 | 579 | else (num == 18) | |
580 | 580 | else false) | |
581 | 581 | then 8 | |
582 | 582 | else if (if ((bet == 122)) | |
583 | 583 | then if (if (if ((num == 16)) | |
584 | 584 | then true | |
585 | 585 | else (num == 17)) | |
586 | 586 | then true | |
587 | 587 | else (num == 19)) | |
588 | 588 | then true | |
589 | 589 | else (num == 20) | |
590 | 590 | else false) | |
591 | 591 | then 8 | |
592 | 592 | else if (if ((bet == 123)) | |
593 | 593 | then if (if (if ((num == 17)) | |
594 | 594 | then true | |
595 | 595 | else (num == 18)) | |
596 | 596 | then true | |
597 | 597 | else (num == 20)) | |
598 | 598 | then true | |
599 | 599 | else (num == 21) | |
600 | 600 | else false) | |
601 | 601 | then 8 | |
602 | 602 | else if (if ((bet == 124)) | |
603 | 603 | then if (if (if ((num == 19)) | |
604 | 604 | then true | |
605 | 605 | else (num == 20)) | |
606 | 606 | then true | |
607 | 607 | else (num == 22)) | |
608 | 608 | then true | |
609 | 609 | else (num == 23) | |
610 | 610 | else false) | |
611 | 611 | then 8 | |
612 | 612 | else if (if ((bet == 125)) | |
613 | 613 | then if (if (if ((num == 20)) | |
614 | 614 | then true | |
615 | 615 | else (num == 21)) | |
616 | 616 | then true | |
617 | 617 | else (num == 23)) | |
618 | 618 | then true | |
619 | 619 | else (num == 24) | |
620 | 620 | else false) | |
621 | 621 | then 8 | |
622 | 622 | else if (if ((bet == 126)) | |
623 | 623 | then if (if (if ((num == 22)) | |
624 | 624 | then true | |
625 | 625 | else (num == 23)) | |
626 | 626 | then true | |
627 | 627 | else (num == 25)) | |
628 | 628 | then true | |
629 | 629 | else (num == 26) | |
630 | 630 | else false) | |
631 | 631 | then 8 | |
632 | 632 | else if (if ((bet == 127)) | |
633 | 633 | then if (if (if ((num == 23)) | |
634 | 634 | then true | |
635 | 635 | else (num == 24)) | |
636 | 636 | then true | |
637 | 637 | else (num == 26)) | |
638 | 638 | then true | |
639 | 639 | else (num == 27) | |
640 | 640 | else false) | |
641 | 641 | then 8 | |
642 | 642 | else if (if ((bet == 128)) | |
643 | 643 | then if (if (if ((num == 25)) | |
644 | 644 | then true | |
645 | 645 | else (num == 26)) | |
646 | 646 | then true | |
647 | 647 | else (num == 28)) | |
648 | 648 | then true | |
649 | 649 | else (num == 29) | |
650 | 650 | else false) | |
651 | 651 | then 8 | |
652 | 652 | else if (if ((bet == 129)) | |
653 | 653 | then if (if (if ((num == 26)) | |
654 | 654 | then true | |
655 | 655 | else (num == 27)) | |
656 | 656 | then true | |
657 | 657 | else (num == 29)) | |
658 | 658 | then true | |
659 | 659 | else (num == 30) | |
660 | 660 | else false) | |
661 | 661 | then 8 | |
662 | 662 | else if (if ((bet == 130)) | |
663 | 663 | then if (if (if ((num == 28)) | |
664 | 664 | then true | |
665 | 665 | else (num == 29)) | |
666 | 666 | then true | |
667 | 667 | else (num == 31)) | |
668 | 668 | then true | |
669 | 669 | else (num == 32) | |
670 | 670 | else false) | |
671 | 671 | then 8 | |
672 | 672 | else if (if ((bet == 131)) | |
673 | 673 | then if (if (if ((num == 29)) | |
674 | 674 | then true | |
675 | 675 | else (num == 30)) | |
676 | 676 | then true | |
677 | 677 | else (num == 32)) | |
678 | 678 | then true | |
679 | 679 | else (num == 33) | |
680 | 680 | else false) | |
681 | 681 | then 8 | |
682 | 682 | else if (if ((bet == 132)) | |
683 | 683 | then if (if (if ((num == 31)) | |
684 | 684 | then true | |
685 | 685 | else (num == 32)) | |
686 | 686 | then true | |
687 | 687 | else (num == 34)) | |
688 | 688 | then true | |
689 | 689 | else (num == 35) | |
690 | 690 | else false) | |
691 | 691 | then 8 | |
692 | 692 | else if (if ((bet == 133)) | |
693 | 693 | then if (if (if ((num == 32)) | |
694 | 694 | then true | |
695 | 695 | else (num == 33)) | |
696 | 696 | then true | |
697 | 697 | else (num == 35)) | |
698 | 698 | then true | |
699 | 699 | else (num == 36) | |
700 | 700 | else false) | |
701 | 701 | then 8 | |
702 | 702 | else 0 | |
703 | 703 | ||
704 | 704 | ||
705 | 705 | func lineBet (num,bet) = if (if (if ((bet == 134)) | |
706 | 706 | then (num >= 1) | |
707 | 707 | else false) | |
708 | 708 | then (6 >= num) | |
709 | 709 | else false) | |
710 | 710 | then 5 | |
711 | 711 | else if (if (if ((bet == 135)) | |
712 | 712 | then (num >= 4) | |
713 | 713 | else false) | |
714 | 714 | then (9 >= num) | |
715 | 715 | else false) | |
716 | 716 | then 5 | |
717 | 717 | else if (if (if ((bet == 136)) | |
718 | 718 | then (num >= 7) | |
719 | 719 | else false) | |
720 | 720 | then (12 >= num) | |
721 | 721 | else false) | |
722 | 722 | then 5 | |
723 | 723 | else if (if (if ((bet == 137)) | |
724 | 724 | then (num >= 10) | |
725 | 725 | else false) | |
726 | 726 | then (15 >= num) | |
727 | 727 | else false) | |
728 | 728 | then 5 | |
729 | 729 | else if (if (if ((bet == 138)) | |
730 | 730 | then (num >= 13) | |
731 | 731 | else false) | |
732 | 732 | then (18 >= num) | |
733 | 733 | else false) | |
734 | 734 | then 5 | |
735 | 735 | else if (if (if ((bet == 139)) | |
736 | 736 | then (num >= 16) | |
737 | 737 | else false) | |
738 | 738 | then (21 >= num) | |
739 | 739 | else false) | |
740 | 740 | then 5 | |
741 | 741 | else if (if (if ((bet == 140)) | |
742 | 742 | then (num >= 19) | |
743 | 743 | else false) | |
744 | 744 | then (24 >= num) | |
745 | 745 | else false) | |
746 | 746 | then 5 | |
747 | 747 | else if (if (if ((bet == 141)) | |
748 | 748 | then (num >= 22) | |
749 | 749 | else false) | |
750 | 750 | then (27 >= num) | |
751 | 751 | else false) | |
752 | 752 | then 5 | |
753 | 753 | else if (if (if ((bet == 142)) | |
754 | 754 | then (num >= 25) | |
755 | 755 | else false) | |
756 | 756 | then (30 >= num) | |
757 | 757 | else false) | |
758 | 758 | then 5 | |
759 | 759 | else if (if (if ((bet == 143)) | |
760 | 760 | then (num >= 28) | |
761 | 761 | else false) | |
762 | 762 | then (33 >= num) | |
763 | 763 | else false) | |
764 | 764 | then 5 | |
765 | 765 | else if (if (if ((bet == 144)) | |
766 | 766 | then (num >= 31) | |
767 | 767 | else false) | |
768 | 768 | then (36 >= num) | |
769 | 769 | else false) | |
770 | 770 | then 5 | |
771 | 771 | else 0 | |
772 | 772 | ||
773 | 773 | ||
774 | 774 | func columnBet (num,bet) = if (if ((bet == 145)) | |
775 | 775 | then if (if (if (if (if (if (if (if (if (if (if (if ((num == 0)) | |
776 | 776 | then true | |
777 | 777 | else (num == 1)) | |
778 | 778 | then true | |
779 | 779 | else (num == 4)) | |
780 | 780 | then true | |
781 | 781 | else (num == 7)) | |
782 | 782 | then true | |
783 | 783 | else (num == 10)) | |
784 | 784 | then true | |
785 | 785 | else (num == 13)) | |
786 | 786 | then true | |
787 | 787 | else (num == 16)) | |
788 | 788 | then true | |
789 | 789 | else (num == 19)) | |
790 | 790 | then true | |
791 | 791 | else (num == 22)) | |
792 | 792 | then true | |
793 | 793 | else (num == 25)) | |
794 | 794 | then true | |
795 | 795 | else (num == 28)) | |
796 | 796 | then true | |
797 | 797 | else (num == 31)) | |
798 | 798 | then true | |
799 | 799 | else (num == 34) | |
800 | 800 | else false) | |
801 | 801 | then 2 | |
802 | 802 | else if (if ((bet == 146)) | |
803 | 803 | then if (if (if (if (if (if (if (if (if (if (if (if ((num == 0)) | |
804 | 804 | then true | |
805 | 805 | else (num == 2)) | |
806 | 806 | then true | |
807 | 807 | else (num == 5)) | |
808 | 808 | then true | |
809 | 809 | else (num == 8)) | |
810 | 810 | then true | |
811 | 811 | else (num == 11)) | |
812 | 812 | then true | |
813 | 813 | else (num == 14)) | |
814 | 814 | then true | |
815 | 815 | else (num == 17)) | |
816 | 816 | then true | |
817 | 817 | else (num == 20)) | |
818 | 818 | then true | |
819 | 819 | else (num == 23)) | |
820 | 820 | then true | |
821 | 821 | else (num == 26)) | |
822 | 822 | then true | |
823 | 823 | else (num == 29)) | |
824 | 824 | then true | |
825 | 825 | else (num == 32)) | |
826 | 826 | then true | |
827 | 827 | else (num == 35) | |
828 | 828 | else false) | |
829 | 829 | then 2 | |
830 | 830 | else if (if ((bet == 147)) | |
831 | 831 | then if (if (if (if (if (if (if (if (if (if (if (if ((num == 0)) | |
832 | 832 | then true | |
833 | 833 | else (num == 3)) | |
834 | 834 | then true | |
835 | 835 | else (num == 6)) | |
836 | 836 | then true | |
837 | 837 | else (num == 9)) | |
838 | 838 | then true | |
839 | 839 | else (num == 12)) | |
840 | 840 | then true | |
841 | 841 | else (num == 15)) | |
842 | 842 | then true | |
843 | 843 | else (num == 18)) | |
844 | 844 | then true | |
845 | 845 | else (num == 21)) | |
846 | 846 | then true | |
847 | 847 | else (num == 24)) | |
848 | 848 | then true | |
849 | 849 | else (num == 27)) | |
850 | 850 | then true | |
851 | 851 | else (num == 30)) | |
852 | 852 | then true | |
853 | 853 | else (num == 33)) | |
854 | 854 | then true | |
855 | 855 | else (num == 36) | |
856 | 856 | else false) | |
857 | 857 | then 2 | |
858 | 858 | else 0 | |
859 | 859 | ||
860 | 860 | ||
861 | 861 | func dozenBet (num,bet) = if (if (if ((bet == 148)) | |
862 | 862 | then (num >= 1) | |
863 | 863 | else false) | |
864 | 864 | then (12 >= num) | |
865 | 865 | else false) | |
866 | 866 | then 2 | |
867 | 867 | else if (if (if ((bet == 149)) | |
868 | 868 | then (num >= 13) | |
869 | 869 | else false) | |
870 | 870 | then (24 >= num) | |
871 | 871 | else false) | |
872 | 872 | then 2 | |
873 | 873 | else if (if (if ((bet == 150)) | |
874 | 874 | then (num >= 25) | |
875 | 875 | else false) | |
876 | 876 | then (36 >= num) | |
877 | 877 | else false) | |
878 | 878 | then 2 | |
879 | 879 | else 0 | |
880 | 880 | ||
881 | 881 | ||
882 | 882 | func colorBet (num,bet) = if (if ((bet == 151)) | |
883 | 883 | then if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if ((num == 1)) | |
884 | 884 | then true | |
885 | 885 | else (num == 3)) | |
886 | 886 | then true | |
887 | 887 | else (num == 5)) | |
888 | 888 | then true | |
889 | 889 | else (num == 7)) | |
890 | 890 | then true | |
891 | 891 | else (num == 9)) | |
892 | 892 | then true | |
893 | 893 | else (num == 12)) | |
894 | 894 | then true | |
895 | 895 | else (num == 14)) | |
896 | 896 | then true | |
897 | 897 | else (num == 16)) | |
898 | 898 | then true | |
899 | 899 | else (num == 18)) | |
900 | 900 | then true | |
901 | 901 | else (num == 19)) | |
902 | 902 | then true | |
903 | 903 | else (num == 21)) | |
904 | 904 | then true | |
905 | 905 | else (num == 23)) | |
906 | 906 | then true | |
907 | 907 | else (num == 25)) | |
908 | 908 | then true | |
909 | 909 | else (num == 27)) | |
910 | 910 | then true | |
911 | 911 | else (num == 30)) | |
912 | 912 | then true | |
913 | 913 | else (num == 32)) | |
914 | 914 | then true | |
915 | 915 | else (num == 34)) | |
916 | 916 | then true | |
917 | 917 | else (num == 36) | |
918 | 918 | else false) | |
919 | 919 | then 2 | |
920 | 920 | else if (if ((bet == 152)) | |
921 | 921 | then if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if ((num == 2)) | |
922 | 922 | then true | |
923 | 923 | else (num == 4)) | |
924 | 924 | then true | |
925 | 925 | else (num == 6)) | |
926 | 926 | then true | |
927 | 927 | else (num == 8)) | |
928 | 928 | then true | |
929 | 929 | else (num == 10)) | |
930 | 930 | then true | |
931 | 931 | else (num == 11)) | |
932 | 932 | then true | |
933 | 933 | else (num == 13)) | |
934 | 934 | then true | |
935 | 935 | else (num == 15)) | |
936 | 936 | then true | |
937 | 937 | else (num == 17)) | |
938 | 938 | then true | |
939 | 939 | else (num == 20)) | |
940 | 940 | then true | |
941 | 941 | else (num == 22)) | |
942 | 942 | then true | |
943 | 943 | else (num == 24)) | |
944 | 944 | then true | |
945 | 945 | else (num == 26)) | |
946 | 946 | then true | |
947 | 947 | else (num == 28)) | |
948 | 948 | then true | |
949 | 949 | else (num == 29)) | |
950 | 950 | then true | |
951 | 951 | else (num == 31)) | |
952 | 952 | then true | |
953 | 953 | else (num == 33)) | |
954 | 954 | then true | |
955 | 955 | else (num == 35) | |
956 | 956 | else false) | |
957 | 957 | then 2 | |
958 | 958 | else 0 | |
959 | 959 | ||
960 | 960 | ||
961 | 961 | func evenOddBet (num,bet) = { | |
962 | 962 | let rem = (num % 2) | |
963 | 963 | if (if (if ((num > 0)) | |
964 | 964 | then (bet == 153) | |
965 | 965 | else false) | |
966 | 966 | then (rem == 0) | |
967 | 967 | else false) | |
968 | 968 | then 1 | |
969 | 969 | else if (if (if ((num > 0)) | |
970 | 970 | then (bet == 154) | |
971 | 971 | else false) | |
972 | 972 | then (rem != 0) | |
973 | 973 | else false) | |
974 | 974 | then 1 | |
975 | 975 | else 0 | |
976 | 976 | } | |
977 | 977 | ||
978 | 978 | ||
979 | 979 | func rouletteCalc (num,bet,betValuet) = if (if ((bet >= 0)) | |
980 | 980 | then (36 >= bet) | |
981 | 981 | else false) | |
982 | 982 | then if ((num == bet)) | |
983 | 983 | then (35 * betValuet) | |
984 | 984 | else 0 | |
985 | 985 | else if (if ((bet >= 37)) | |
986 | 986 | then (96 >= bet) | |
987 | 987 | else false) | |
988 | 988 | then (splitBet(num, bet) * betValuet) | |
989 | 989 | else if (if ((bet >= 97)) | |
990 | 990 | then (110 >= bet) | |
991 | 991 | else false) | |
992 | 992 | then (streetBet(num, bet) * betValuet) | |
993 | 993 | else if (if ((bet >= 111)) | |
994 | 994 | then (133 >= bet) | |
995 | 995 | else false) | |
996 | 996 | then (cornerBet(num, bet) * betValuet) | |
997 | 997 | else if (if ((bet >= 134)) | |
998 | 998 | then (144 >= bet) | |
999 | 999 | else false) | |
1000 | 1000 | then (lineBet(num, bet) * betValuet) | |
1001 | 1001 | else if (if ((bet >= 145)) | |
1002 | 1002 | then (147 >= bet) | |
1003 | 1003 | else false) | |
1004 | 1004 | then (columnBet(num, bet) * betValuet) | |
1005 | 1005 | else if (if ((bet >= 148)) | |
1006 | 1006 | then (150 >= bet) | |
1007 | 1007 | else false) | |
1008 | 1008 | then (dozenBet(num, bet) * betValuet) | |
1009 | 1009 | else if (if ((bet == 151)) | |
1010 | 1010 | then true | |
1011 | 1011 | else (bet == 152)) | |
1012 | 1012 | then (colorBet(num, bet) * betValuet) | |
1013 | 1013 | else if (if ((bet == 153)) | |
1014 | 1014 | then true | |
1015 | 1015 | else (bet == 154)) | |
1016 | 1016 | then (evenOddBet(num, bet) * betValuet) | |
1017 | 1017 | else if (if ((bet == 155)) | |
1018 | 1018 | then true | |
1019 | 1019 | else (bet == 156)) | |
1020 | 1020 | then if (if (if ((bet == 155)) | |
1021 | 1021 | then (num >= 1) | |
1022 | 1022 | else false) | |
1023 | 1023 | then (18 >= num) | |
1024 | 1024 | else false) | |
1025 | 1025 | then (1 * betValuet) | |
1026 | 1026 | else if (if (if ((bet == 156)) | |
1027 | 1027 | then (num >= 19) | |
1028 | 1028 | else false) | |
1029 | 1029 | then (36 >= num) | |
1030 | 1030 | else false) | |
1031 | 1031 | then (1 * betValuet) | |
1032 | 1032 | else 0 | |
1033 | 1033 | else throw("Random number out of range, 0 <= rand <= 36") | |
1034 | 1034 | ||
1035 | 1035 | ||
1036 | 1036 | func IncrementGameNum () = { | |
1037 | 1037 | let gameNum = match getInteger(this, GAMESCOUNTERKEY) { | |
1038 | 1038 | case num: Int => | |
1039 | 1039 | num | |
1040 | 1040 | case _ => | |
1041 | 1041 | 0 | |
1042 | 1042 | } | |
1043 | 1043 | (gameNum + 1) | |
1044 | 1044 | } | |
1045 | 1045 | ||
1046 | 1046 | ||
1047 | 1047 | func ExtractReservedAmt () = match getInteger(this, RESERVATIONKEY) { | |
1048 | 1048 | case a: Int => | |
1049 | 1049 | a | |
1050 | 1050 | case _ => | |
1051 | 1051 | 0 | |
1052 | 1052 | } | |
1053 | 1053 | ||
1054 | 1054 | ||
1055 | 1055 | func ValidateAndIncreaseReservedAmt (winAmt) = { | |
1056 | 1056 | let newReservedAmount = (ExtractReservedAmt() + winAmt) | |
1057 | 1057 | let balance = assetBalance(this, WBET) | |
1058 | 1058 | if ((newReservedAmount > balance)) | |
1059 | 1059 | then throw("Insufficient funds on Wavesbet Dice account. Transaction was rejected for your safety.") | |
1060 | 1060 | else newReservedAmount | |
1061 | 1061 | } | |
1062 | 1062 | ||
1063 | 1063 | ||
1064 | 1064 | func GenerateRandInt (gameId,rsaSign) = { | |
1065 | 1065 | let rsaSigValid = rsaVerify(SHA256, toBytes(gameId), rsaSign, RSAPUBLIC) | |
1066 | 1066 | if (rsaSigValid) | |
1067 | 1067 | then { | |
1068 | 1068 | let rand = ((toInt(sha256(rsaSign)) % 100) * 37) | |
1069 | 1069 | if ((0 > rand)) | |
1070 | 1070 | then ((-1 * rand) + 1) | |
1071 | 1071 | else (rand + 1) | |
1072 | 1072 | } | |
1073 | 1073 | else throw("Invalid RSA signature") | |
1074 | 1074 | } | |
1075 | 1075 | ||
1076 | 1076 | ||
1077 | 1077 | func RandToStr (r) = if (if ((r >= 1)) | |
1078 | 1078 | then (36 >= r) | |
1079 | 1079 | else false) | |
1080 | 1080 | then toString(r) | |
1081 | 1081 | else throw(("Unsupported r parameter passed: expected=[0,...,36] actual=" + toString(r))) | |
1082 | 1082 | ||
1083 | 1083 | ||
1084 | 1084 | func validateBet (bet,betValue) = if (if ((0 > bet)) | |
1085 | 1085 | then true | |
1086 | 1086 | else (bet > 156)) | |
1087 | 1087 | then throw("invalid play, play must be between 0 and 156.") | |
1088 | 1088 | else if ((0 > betValue)) | |
1089 | 1089 | then throw("Bet value must be greater than or equal to 0") | |
1090 | 1090 | else if ((10 > bet)) | |
1091 | 1091 | then ((("00" + toString(bet)) + "-") + toString(betValue)) | |
1092 | 1092 | else if (if ((bet >= 10)) | |
1093 | 1093 | then (100 > bet) | |
1094 | 1094 | else false) | |
1095 | 1095 | then ((("0" + toString(bet)) + "-") + toString(betValue)) | |
1096 | 1096 | else ((toString(bet) + "-") + toString(betValue)) | |
1097 | 1097 | ||
1098 | 1098 | ||
1099 | 1099 | func ExtractGameDataList (gameId) = { | |
1100 | 1100 | let rawDataStr = match getString(this, gameId) { | |
1101 | 1101 | case str: String => | |
1102 | 1102 | str | |
1103 | 1103 | case _ => | |
1104 | 1104 | throw(("Couldn't find game by " + gameId)) | |
1105 | 1105 | } | |
1106 | 1106 | split(rawDataStr, "_") | |
1107 | 1107 | } | |
1108 | 1108 | ||
1109 | 1109 | ||
1110 | 1110 | @Callable(i) | |
1111 | 1111 | func playRoulette (bet1,val1,bet2,val2,bet3,val3) = { | |
1112 | 1112 | let gameId = toBase58String(i.transactionId) | |
1113 | 1113 | let gameIdUsed = isDefined(getString(this, gameId)) | |
1114 | 1114 | let payment = extract(i.payment) | |
1115 | 1115 | let feeAssetId = isDefined(i.feeAssetId) | |
1116 | 1116 | let playerBalance = wavesBalance(i.caller) | |
1117 | 1117 | let playAmount = (((val1 + val2) + val3) * WAVELET) | |
1118 | 1118 | if ((payment.assetId != WBET)) | |
1119 | 1119 | then throw("Payment should be in Wavesbet") | |
1120 | 1120 | else if ((1000000 > playerBalance)) | |
1121 | 1121 | then throw("There are not enough waves, it takes 0.01 Waves to bet. Game aborted.") | |
1122 | 1122 | else if (feeAssetId) | |
1123 | 1123 | then throw("Transaction's fee must be in Waves. Game aborted.") | |
1124 | 1124 | else if (gameIdUsed) | |
1125 | 1125 | then throw("Passed gameId had been used before. Game aborted.") | |
1126 | 1126 | else if ((playAmount != payment.amount)) | |
1127 | 1127 | then throw("Payment value is different from bet value. ") | |
1128 | 1128 | else { | |
1129 | 1129 | let newGameNum = IncrementGameNum() | |
1130 | 1130 | let playerPubKey58 = toBase58String(i.callerPublicKey) | |
1131 | 1131 | let gameDataStr = (((((((("SUBMITTED" + "_") + playerPubKey58) + "_") + validateBet(bet1, val1)) + "_") + validateBet(bet2, val2)) + "_") + validateBet(bet3, val3)) | |
1132 | 1132 | ScriptResult(WriteSet([DataEntry(GAMESCOUNTERKEY, newGameNum), DataEntry(gameId, gameDataStr)]), TransferSet(nil)) | |
1133 | 1133 | } | |
1134 | 1134 | } | |
1135 | 1135 | ||
1136 | 1136 | ||
1137 | 1137 | ||
1138 | 1138 | @Callable(i) | |
1139 | 1139 | func withdraw (gameId,rsaSig) = { | |
1140 | 1140 | let gameDataList = ExtractGameDataList(gameId) | |
1141 | 1141 | let gameState = gameDataList[0] | |
1142 | 1142 | let playerPubKey58 = gameDataList[1] | |
1143 | 1143 | let playerAddress = addressFromPublicKey(fromBase58String(playerPubKey58)) | |
1144 | 1144 | if ((gameState != "SUBMITTED")) | |
1145 | 1145 | then throw("Invalid game state for passed gameId. Game aborted. ") | |
1146 | 1146 | else { | |
1147 | 1147 | let rand = GenerateRandInt(gameId, rsaSig) | |
1148 | 1148 | let randStr = RandToStr(rand) | |
1149 | 1149 | let result1 = rouletteCalc(rand, parseIntValue(take(gameDataList[2], 3)), parseIntValue(drop(gameDataList[2], 4))) | |
1150 | 1150 | let result2 = rouletteCalc(rand, parseIntValue(take(gameDataList[3], 3)), parseIntValue(drop(gameDataList[3], 4))) | |
1151 | 1151 | let result3 = rouletteCalc(rand, parseIntValue(take(gameDataList[4], 3)), parseIntValue(drop(gameDataList[4], 4))) | |
1152 | 1152 | let winAmt = (((result1 + result2) + result3) * WAVELET) | |
1153 | 1153 | if ((winAmt > 0)) | |
1154 | 1154 | then { | |
1155 | - | let newGameDataStr = (((((((((((("WON" + "_") + playerPubKey58) + "_") + gameDataList[3]) + "_") + gameDataList[4 | |
1155 | + | let newGameDataStr = (((((((((((("WON" + "_") + playerPubKey58) + "_") + gameDataList[2]) + "_") + gameDataList[3]) + "_") + gameDataList[4]) + "_") + toString(winAmt)) + "_") + randStr) | |
1156 | 1156 | ScriptResult(WriteSet([DataEntry(gameId, newGameDataStr)]), TransferSet([ScriptTransfer(playerAddress, winAmt, WBET)])) | |
1157 | 1157 | } | |
1158 | 1158 | else { | |
1159 | - | let newGameDataStr = (((((((((((("LOST" + "_") + playerPubKey58) + "_") + gameDataList[3]) + "_") + gameDataList[4 | |
1159 | + | let newGameDataStr = (((((((((((("LOST" + "_") + playerPubKey58) + "_") + gameDataList[2]) + "_") + gameDataList[3]) + "_") + gameDataList[4]) + "_") + toString(winAmt)) + "_") + randStr) | |
1160 | 1160 | WriteSet([DataEntry(gameId, newGameDataStr)]) | |
1161 | 1161 | } | |
1162 | 1162 | } | |
1163 | 1163 | } | |
1164 | 1164 | ||
1165 | 1165 |
github/deemru/w8io/169f3d6 104.26 ms ◑