ពិនិត្យការបង្វិលCheck a roll
ការបង្វិលនីមួយៗ (ការចាប់រង្វាន់ ការពង្រឹង ប្រអប់រង្វាន់) អាចពិនិត្យបាន ពេលគ្រាប់ពូជរបស់វាត្រូវបានបោះពុម្ព។Every roll (a spin, an upgrade try, a reward chest) can be checked once its seed is published.
លទ្ធផលResult
របៀបដែលវាដំណើរការHow it works
- មុនការបង្វិលណាមួយ ម៉ាស៊ីនមេជ្រើសគ្រាប់ពូជ ៣២ បៃដោយចៃដន្យ ហើយបោះពុម្ព hash SHA-256 របស់វា។ យើងមិនអាចប្ដូរគ្រាប់ពូជបានទៀតទេ ដោយមិនប្ដូរ hash។Before any roll the server picks a random 32-byte seed and publishes its SHA-256 hash. We can't change the seed afterwards without changing the hash.
- ការបង្វិលនីមួយៗ មានសារផ្ទាល់ខ្លួន (scope | លេខនៃការបង្វិល)។ លទ្ធផល = ៨ បៃដំបូង នៃ HMAC-SHA256(គ្រាប់ពូជ, សារ) ជាលេខ mod ១,០០០,០០០ ពោលគឺ ០ ដល់ ៩៩៩,៩៩៩។Each roll has its own message (scope | the roll's number). Its value = the first 8 bytes of HMAC-SHA256(seed, message) as a number, mod 1,000,000: from 0 to 999,999.
- ការចាប់រង្វាន់៖ រង្វាន់នីមួយៗមានចន្លោះលេខ តាមឱកាសរបស់វា (ឱកាស ០.៤០% = ៤,០០០ លេខ)។ ការពង្រឹង៖ ជោគជ័យ ពេលលទ្ធផល តិចជាង ឱកាស × ១០០ (ឧ. ឱកាស ១៥.៦០% → តិចជាង ១៥៦,០០០)។Draws: each prize owns a range of values the size of its chance (0.40% = 4,000 values). Upgrades: a try succeeds when the value is below chance × 100 (e.g. 15.60% → below 156,000).
- ពេល scope បញ្ចប់ (ផ្ទាំងបញ្ចប់ ឬថ្ងៃបញ្ចប់) យើងបោះពុម្ពគ្រាប់ពូជ។ ទំព័រនេះគណនាលទ្ធផលម្ដងទៀត ក្នុងកម្មវិធីរុករករបស់អ្នកផ្ទាល់ ហើយពិនិត្យថា hash ត្រូវគ្នា។When the scope ends (a banner ends, a day ends) we publish the seed. This page recomputes the value in your own browser and checks that the hash matches.