RNG
Все наши игры прошли проверку компанией iTech Labs и имеют сертификат RNG.
Click here to view the original iTech Labs Certificate.

Сиды в байты

HMAC_SHA512(server_seed, client_seed:nonce:0)
c23ef73deb4ea4e92a3b551b443bf73014f0cf6346d0b167442b6c9bc6d72bb38a558fc0e96525bd03147a917c2435d9a544a9e7e8e87bd7e651a23dc568c7
1946224761235781642334259852768592474820240207997020817710368431081551982154317913885143192233682912084971101451243653217165681692312322321232152308116261197104199
HMAC_SHA512(server_seed, client_seed:nonce:1)
af889e20351e7fd6acb680c6cd4d5df711176e6b235c7e6518a371e94e1405cf0feed4bc6ac4a4c1814605ed3eba2a68583ed253c5965706d39221f6656
17513615832533012721417218212819820542131324717231101073592723081138553014822564922402542377519817274762420965237621864210488621337608910111210957343110286
HMAC_SHA512(server_seed, client_seed:nonce:2)
58147d7946fc54a91757aa6dedb65d1a16e3c3418d0e63462ec2c6e12ec2c67da24743e788d53447b2b9785795afe546eced584faafcc9bb90328e3f7573
8820125121702528416923871701092371829326222271252242082305298236441101823644103218361166212014183681234315113312190254846142061388791702522011871445014263117115

Байты в число:

(194, 62, 247, 61, 235, 78, 164, 233) -> [0, ..., 24] = 18
0.757812500000000000(194 / (256 ^ 1))
+0.000946044921875000(062 / (256 ^ 2))
+0.000014722347259521(247 / (256 ^ 3))
+0.000000014202669263(061 / (256 ^ 4))
+0.000000000213731255(235 / (256 ^ 5))
+0.000000000000277112(078 / (256 ^ 6))
+0.000000000000002276(164 / (256 ^ 7))
+0.000000000000000013(233 / (256 ^ 8))
=0.758773281685814371(* 25)
=18.969332042145360617
(42, 59, 85, 27, 68, 59, 247, 48) -> [0, ..., 23] = 3
0.164062500000000000(042 / (256 ^ 1))
+0.000900268554687500(059 / (256 ^ 2))
+0.000005066394805908(085 / (256 ^ 3))
+0.000000006286427379(027 / (256 ^ 4))
+0.000000000061845640(068 / (256 ^ 5))
+0.000000000000209610(059 / (256 ^ 6))
+0.000000000000003428(247 / (256 ^ 7))
+0.000000000000000003(048 / (256 ^ 8))
=0.164967841297979478(* 24)
=3.959228191151507481
(20, 240, 207, 99, 70, 208, 177, 103) -> [0, ..., 22] = 1
0.078125000000000000(020 / (256 ^ 1))
+0.003662109375000000(240 / (256 ^ 2))
+0.000012338161468506(207 / (256 ^ 3))
+0.000000023050233722(099 / (256 ^ 4))
+0.000000000063664629(070 / (256 ^ 5))
+0.000000000000738964(208 / (256 ^ 6))
+0.000000000000002456(177 / (256 ^ 7))
+0.000000000000000006(103 / (256 ^ 8))
=0.081799470651108278(* 23)
=1.881387824975490286
(68, 43, 108, 155, 198, 215, 43, 179) -> [0, ..., 21] = 5
0.265625000000000000(068 / (256 ^ 1))
+0.000656127929687500(043 / (256 ^ 2))
+0.000006437301635742(108 / (256 ^ 3))
+0.000000036088749766(155 / (256 ^ 4))
+0.000000000180079951(198 / (256 ^ 5))
+0.000000000000763833(215 / (256 ^ 6))
+0.000000000000000597(043 / (256 ^ 7))
+0.000000000000000010(179 / (256 ^ 8))
=0.266287601500917404(* 22)
=5.858327233020182767
(138, 85, 143, 192, 233, 6, 82, 91) -> [0, ..., 20] = 11
0.539062500000000000(138 / (256 ^ 1))
+0.001296997070312500(085 / (256 ^ 2))
+0.000008523464202881(143 / (256 ^ 3))
+0.000000044703483582(192 / (256 ^ 4))
+0.000000000211912266(233 / (256 ^ 5))
+0.000000000000021316(006 / (256 ^ 6))
+0.000000000000001138(082 / (256 ^ 7))
+0.000000000000000005(091 / (256 ^ 8))
=0.540368065449933654(* 21)
=11.347729374448606521
(208, 49, 71, 10, 145, 124, 36, 53) -> [0, ..., 19] = 16
0.812500000000000000(208 / (256 ^ 1))
+0.000747680664062500(049 / (256 ^ 2))
+0.000004231929779053(071 / (256 ^ 3))
+0.000000002328306437(010 / (256 ^ 4))
+0.000000000131876732(145 / (256 ^ 5))
+0.000000000000440536(124 / (256 ^ 6))
+0.000000000000000500(036 / (256 ^ 7))
+0.000000000000000003(053 / (256 ^ 8))
=0.813251915054465702(* 20)
=16.265038301089312256
(217, 165, 68, 169, 231, 232, 232, 123) -> [0, ..., 18] = 16
0.847656250000000000(217 / (256 ^ 1))
+0.002517700195312500(165 / (256 ^ 2))
+0.000004053115844727(068 / (256 ^ 3))
+0.000000039348378778(169 / (256 ^ 4))
+0.000000000210093276(231 / (256 ^ 5))
+0.000000000000824230(232 / (256 ^ 6))
+0.000000000000003220(232 / (256 ^ 7))
+0.000000000000000007(123 / (256 ^ 8))
=0.850178042870456729(* 19)
=16.153382814538677081
(215, 230, 81, 162, 61, 197, 104, 199) -> [0, ..., 17] = 15
0.839843750000000000(215 / (256 ^ 1))
+0.003509521484375000(230 / (256 ^ 2))
+0.000004827976226807(081 / (256 ^ 3))
+0.000000037718564272(162 / (256 ^ 4))
+0.000000000055479177(061 / (256 ^ 5))
+0.000000000000699885(197 / (256 ^ 6))
+0.000000000000001443(104 / (256 ^ 7))
+0.000000000000000011(199 / (256 ^ 8))
=0.843358137235346583(* 18)
=15.180446470236239165
(175, 136, 158, 32, 53, 30, 127, 214) -> [0, ..., 16] = 11
0.683593750000000000(175 / (256 ^ 1))
+0.002075195312500000(136 / (256 ^ 2))
+0.000009417533874512(158 / (256 ^ 3))
+0.000000007450580597(032 / (256 ^ 4))
+0.000000000048203219(053 / (256 ^ 5))
+0.000000000000106581(030 / (256 ^ 6))
+0.000000000000001762(127 / (256 ^ 7))
+0.000000000000000012(214 / (256 ^ 8))
=0.685678370345266686(* 17)
=11.656532295869533655
(172, 182, 128, 198, 205, 4, 213, 13) -> [0, ..., 15] = 10
0.671875000000000000(172 / (256 ^ 1))
+0.002777099609375000(182 / (256 ^ 2))
+0.000007629394531250(128 / (256 ^ 3))
+0.000000046100467443(198 / (256 ^ 4))
+0.000000000186446414(205 / (256 ^ 5))
+0.000000000000014211(004 / (256 ^ 6))
+0.000000000000002956(213 / (256 ^ 7))
+0.000000000000000001(013 / (256 ^ 8))
=0.674659775290837316(* 16)
=10.794556404653397053
(247, 17, 23, 110, 107, 35, 92, 7) -> [0, ..., 14] = 14
0.964843750000000000(247 / (256 ^ 1))
+0.000259399414062500(017 / (256 ^ 2))
+0.000001370906829834(023 / (256 ^ 3))
+0.000000025611370802(110 / (256 ^ 4))
+0.000000000097315933(107 / (256 ^ 5))
+0.000000000000124345(035 / (256 ^ 6))
+0.000000000000001277(092 / (256 ^ 7))
+0.000000000000000000(007 / (256 ^ 8))
=0.965104546029704746(* 15)
=14.476568190445570750
(230, 81, 138, 55, 30, 148, 225, 64) -> [0, ..., 13] = 12
0.898437500000000000(230 / (256 ^ 1))
+0.001235961914062500(081 / (256 ^ 2))
+0.000008225440979004(138 / (256 ^ 3))
+0.000000012805685401(055 / (256 ^ 4))
+0.000000000027284841(030 / (256 ^ 5))
+0.000000000000525802(148 / (256 ^ 6))
+0.000000000000003123(225 / (256 ^ 7))
+0.000000000000000003(064 / (256 ^ 8))
=0.899681700188540656(* 14)
=12.595543802639568298
(92, 240, 254, 237, 75, 198, 172, 74) -> [0, ..., 12] = 4
0.359375000000000000(092 / (256 ^ 1))
+0.003662109375000000(240 / (256 ^ 2))
+0.000015139579772949(254 / (256 ^ 3))
+0.000000055180862546(237 / (256 ^ 4))
+0.000000000068212103(075 / (256 ^ 5))
+0.000000000000703437(198 / (256 ^ 6))
+0.000000000000002387(172 / (256 ^ 7))
+0.000000000000000004(074 / (256 ^ 8))
=0.363052304204553422(* 13)
=4.719679954659194543
(76, 24, 20, 96, 5, 237, 62, 186) -> [0, ..., 11] = 3
0.296875000000000000(076 / (256 ^ 1))
+0.000366210937500000(024 / (256 ^ 2))
+0.000001192092895508(020 / (256 ^ 3))
+0.000000022351741791(096 / (256 ^ 4))
+0.000000000004547474(005 / (256 ^ 5))
+0.000000000000841993(237 / (256 ^ 6))
+0.000000000000000860(062 / (256 ^ 7))
+0.000000000000000010(186 / (256 ^ 8))
=0.297242425387527653(* 12)
=3.566909104650331841
(42, 104, 88, 62, 13, 37, 60, 89) -> [0, ..., 10] = 1
0.164062500000000000(042 / (256 ^ 1))
+0.001586914062500000(104 / (256 ^ 2))
+0.000005245208740234(088 / (256 ^ 3))
+0.000000014435499907(062 / (256 ^ 4))
+0.000000000011823431(013 / (256 ^ 5))
+0.000000000000131450(037 / (256 ^ 6))
+0.000000000000000833(060 / (256 ^ 7))
+0.000000000000000005(089 / (256 ^ 8))
=0.165654673718695855(* 11)
=1.822201410905654351
(101, 112, 109, 57, 34, 31, 102, 86) -> [0, ..., 9] = 3
0.394531250000000000(101 / (256 ^ 1))
+0.001708984375000000(112 / (256 ^ 2))
+0.000006496906280518(109 / (256 ^ 3))
+0.000000013271346688(057 / (256 ^ 4))
+0.000000000030922820(034 / (256 ^ 5))
+0.000000000000110134(031 / (256 ^ 6))
+0.000000000000001416(102 / (256 ^ 7))
+0.000000000000000005(086 / (256 ^ 8))
=0.396246744583661603(* 10)
=3.962467445836615809
(88, 20, 125, 121, 70, 252, 84, 169) -> [0, ..., 8] = 3
0.343750000000000000(088 / (256 ^ 1))
+0.000305175781250000(020 / (256 ^ 2))
+0.000007450580596924(125 / (256 ^ 3))
+0.000000028172507882(121 / (256 ^ 4))
+0.000000000063664629(070 / (256 ^ 5))
+0.000000000000895284(252 / (256 ^ 6))
+0.000000000000001166(084 / (256 ^ 7))
+0.000000000000000009(169 / (256 ^ 8))
=0.344062654598915885(* 9)
=3.096563891390243128
(23, 87, 170, 109, 237, 182, 93, 26) -> [0, ..., 7] = 0
0.089843750000000000(023 / (256 ^ 1))
+0.001327514648437500(087 / (256 ^ 2))
+0.000010132789611816(170 / (256 ^ 3))
+0.000000025378540158(109 / (256 ^ 4))
+0.000000000215550244(237 / (256 ^ 5))
+0.000000000000646594(182 / (256 ^ 6))
+0.000000000000001291(093 / (256 ^ 7))
+0.000000000000000001(026 / (256 ^ 8))
=0.091181423032787604(* 8)
=0.729451384262300828
(22, 227, 12, 52, 24, 208, 230, 52) -> [0, ..., 6] = 0
0.085937500000000000(022 / (256 ^ 1))
+0.003463745117187500(227 / (256 ^ 2))
+0.000000715255737305(012 / (256 ^ 3))
+0.000000012107193470(052 / (256 ^ 4))
+0.000000000021827873(024 / (256 ^ 5))
+0.000000000000738964(208 / (256 ^ 6))
+0.000000000000003192(230 / (256 ^ 7))
+0.000000000000000003(052 / (256 ^ 8))
=0.089401972502688304(* 7)
=0.625813807518818099
(98, 236, 44, 110, 18, 236, 44, 103) -> [0, ..., 5] = 2
0.382812500000000000(098 / (256 ^ 1))
+0.003601074218750000(236 / (256 ^ 2))
+0.000002622604370117(044 / (256 ^ 3))
+0.000000025611370802(110 / (256 ^ 4))
+0.000000000016370905(018 / (256 ^ 5))
+0.000000000000838440(236 / (256 ^ 6))
+0.000000000000000611(044 / (256 ^ 7))
+0.000000000000000006(103 / (256 ^ 8))
=0.386416222451700875(* 6)
=2.318497334710205138
(218, 36, 116, 62, 120, 141, 83, 68) -> [0, ..., 4] = 4
0.851562500000000000(218 / (256 ^ 1))
+0.000549316406250000(036 / (256 ^ 2))
+0.000006914138793945(116 / (256 ^ 3))
+0.000000014435499907(062 / (256 ^ 4))
+0.000000000109139364(120 / (256 ^ 5))
+0.000000000000500933(141 / (256 ^ 6))
+0.000000000000001152(083 / (256 ^ 7))
+0.000000000000000004(068 / (256 ^ 8))
=0.852118745090185259(* 5)
=4.260593725450926073
(123, 43, 151, 133, 121, 90, 254, 84) -> [0, ..., 3] = 1
0.480468750000000000(123 / (256 ^ 1))
+0.000656127929687500(043 / (256 ^ 2))
+0.000009000301361084(151 / (256 ^ 3))
+0.000000030966475606(133 / (256 ^ 4))
+0.000000000110048859(121 / (256 ^ 5))
+0.000000000000319744(090 / (256 ^ 6))
+0.000000000000003525(254 / (256 ^ 7))
+0.000000000000000005(084 / (256 ^ 8))
=0.481133909307896346(* 4)
=1.924535637231585383
(6, 14, 206, 13, 88, 79, 170, 252) -> [0, ..., 2] = 0
0.023437500000000000(006 / (256 ^ 1))
+0.000213623046875000(014 / (256 ^ 2))
+0.000012278556823730(206 / (256 ^ 3))
+0.000000003026798368(013 / (256 ^ 4))
+0.000000000080035534(088 / (256 ^ 5))
+0.000000000000280664(079 / (256 ^ 6))
+0.000000000000002359(170 / (256 ^ 7))
+0.000000000000000014(252 / (256 ^ 8))
=0.023663404710815669(* 3)
=0.070990214132447008
(201, 187, 144, 50, 142, 63, 117, 115) -> [0, ..., 1] = 1
0.785156250000000000(201 / (256 ^ 1))
+0.002853393554687500(187 / (256 ^ 2))
+0.000008583068847656(144 / (256 ^ 3))
+0.000000011641532183(050 / (256 ^ 4))
+0.000000000129148248(142 / (256 ^ 5))
+0.000000000000223821(063 / (256 ^ 6))
+0.000000000000001624(117 / (256 ^ 7))
+0.000000000000000006(115 / (256 ^ 8))
=0.788018238394441073(* 2)
=1.576036476788882146

Перемешивание чисел:

После того, как мы перевели байты в числа, нам необходимо перемешать числа, чтобы перевести число в номер ячейки в еще не занятом поле.

Сначала создается массив, содержащий все возможные результаты.

Затем в цикле выбирается число и умножается на количество оставшихся результатов, беря результат из этой позиции.

Как только этот результат выбран, он удаляется из массива и не может быть выбран снова.

Этот способ перемешивания называется: Тасование Фишера — Йетса  (WIKIPEDIA)

# PickNumberMultiplierNumber * MultiplierResult
10.7587732816858144251819
20.164967841297979482434
30.081799470651108282312
40.26628760150091742258
50.5403680654499337211115
60.8132519150544657201622
70.8501780428704567191623
80.8433581372353466181521
90.6856783703452667171116
100.6746597752908373161014
110.9651045460297047151425
120.8996817001885407141220
130.36305230420455341347
140.297242425387527651236
150.165654673718695861113
160.396246744583661610310
170.34406265459891599311
180.0911814230327876801
190.0894019725026883705
200.38641622245170096213
210.85211874509018535424
220.481133909307896354112
230.02366340471081567309
240.78801823839444112118

Каждый элемент в столбце Result представляет одноиндексную позицию бомбы, идущей слева направо, сверху вниз
Все ставки с идентификатором меньше #303200162 использовали функцию HMAC_SHA256, если хотите проверить старые игры