គ្រាប់ឡុកឡាក់
រត់ចំនួនដុំដែកណាមួយជាមួយចំនួនជ្រុងណាមួយ ហើយទទួលបានចំនួនសរុប & # 160; ។
លទ្ធផលធ្វើឲ្យទាន់សម័យតាមដែលអ្នកវាយ & # 160; ។
អំពីម៉ាស៊ីនគិតលេខនេះ
you roll the dice, the tool shows the total of the dice. If you roll the dice, the tool shows the total of the dice. If you roll the dice, the tool shows the total of the dice. If you roll the dice, the tool shows the total of the dice. If you roll the dice, the tool shows the total of the dice. If you roll the dice, the tool shows the total of the dice. If you roll the dice, the tool shows the total of the dice. If you roll the dice, the tool shows the total of the dice. If you roll the dice, the tool shows theWorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked example:WorkWorked
សំណួរដែលសួរញឹកញាប់
តើ 2d6 មានន័យថាអ្វី & # 160;?
ក្នុងការចង្អុលបង្ហាញដុំដែក NdS មានន័យថារុំដុំដែក N ជាមួយនឹងផ្នែក S រៀងៗខ្លួន ។ 2d6 គឺជាដុំដែកពីរផ្នែកប្រាំមួយដែលផ្ដល់ចំនួនសរុបពី ២ ទៅ ១២ ។ ដុំដែកនេះគាំទ្រទំហំធម្មតាពី d4 ដល់ d100 ។
តើឧបករណ៍កែប្រែសម្រាប់អ្វី & # 160;?
ល្បែងតុជាញឹកញាប់បន្ថែមប្រាក់រង្វាន់ថេរទៅរង្វិលជុំមួយដែលសរសេរដូចជា “2d6+3” ។ ឧបករណ៍កែប្រែត្រូវបានបន្ថែមទៅចំនួនសរុបនៃដុំដែកបន្ទាប់ពីពួកគេត្រូវបានរង្វិលជុំ ។
តើអ្វីជាការរត់មធ្យមរបស់ដុំ?
មធ្យមនៃតែមួយតែមួយគឺពាក់កណ្តាលរវាង 1 និងមុខខ្ពស់បំផុតរបស់វា: 3.5 សម្រាប់ d6, 10.5 សម្រាប់ d20. រមៀលដុំជាច្រើន, សរុបដែលរំពឹងទុកគឺថាមធ្យមដងចំនួនដុំ - ដូច្នេះ 3d6 មធ្យម 10.5.
ហេតុអ្វីបានជាចំនួនសរុបនៅជិតកណ្តាលមានទំនងជាច្រើនជាងជាមួយនឹងដុំដែកច្រើន?
ជាមួយនឹងការស្លាប់មួយមុខនីមួយៗគឺមានឱកាសស្មើគ្នា ប៉ុន្តែការបូកសរុបចំនួនពីរចំនួនសរុបកណ្តាលអាចធ្វើបានច្រើនវិធីនិងវិធីតែមួយគត់។ លើ 2d6 ចំនួនសរុបនៃ7មានការផ្សំប្រាំមួយខណៈពេលដែល2និង 12 មានមួយក្នុងមួយ ដូច្នេះ7មកជាញឹកញាប់បំផុត ។
តើរន្ធដោតនេះអាចរុំដុំដែកផ្សេងគ្នាបានដែរឬទេ & # 160;?
រមៀលនីមួយៗប្រើទំហំស្លាប់មួយក្នុងពេលតែមួយ - កំណត់ផ្នែកខាងមុខនិងចំនួនរាប់, ឧទាហរណ៍ 3d8. ដើម្បីរួមបញ្ចូលប្រភេទ (និយាយ 1d20 រួមទាំង 2d6) រមៀលការកំណត់នីមួយៗដោយឡែកពីគ្នា និងបន្ថែមចំនួនសរុប, អនុវត្តការកែប្រែណាមួយម្តង & # 160; ។
តើខ្ញុំអាចរត់ល្បែងដូច Yahtzee ឬ Monopoly បានយ៉ាងដូចម្តេច & # 160;?
កំណត់ទំហំដុំ និងចំនួនដើម្បីផ្គូផ្គងល្បែង - d6 ៥ សម្រាប់ Yahtzee, d6 ពីរសម្រាប់ Monopoly ឬ Backgammon, d20 មួយសម្រាប់ការពិនិត្យលេងតួនាទីច្រើន ។ ចំនួនសរុប និងការរត់ឯកជននីមួយៗលេចឡើង ហើយអ្នកកែប្រែអាចបន្ថែមប្រាក់រង្វាន់ដែលបានកំណត់នៅកន្លែងដែលល្បែងហៅមួយ ។
API — ប្រើម៉ាស៊ីនគិតលេខនេះពីកូដ
ទូរស័ព្ទទៅម៉ាស៊ីនគិតលេខនេះជាចំណុចបញ្ចប់ JSON ឥតគិតថ្លៃ - គ្មានគ្រាប់ចុចដែលត្រូវការ & # 160; ។ ផ្ញើតម្លៃវាលខាងក្រោមជាប៉ារ៉ាម៉ែត្រសំណួរ ឬ JSON & # 160; ។ អ្វីដែលអ្នកមិនបញ្ចូលប្រើលំនាំដើមដូចគ្នាដែលទំព័រនេះត្រូវបានបំពេញជាមុនជាមួយ ប៉ារ៉ាម៉ែត្រដែលមិនស្គាល់គឺ ៤០០ មិនមែនសូន្យដែលស្ងាត់ឡើយ & # 160; ។ អានឯកសារ API ពេញលេញ →
ចំណុចបញ្ចប់
GET https://calculator.free/api/v1/dice-roller/
curl
curl "https://calculator.free/api/v1/dice-roller/?count=2&sides=6"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/dice-roller/?" + new URLSearchParams({
"count": "2",
"sides": "6"
}));
const data = await r.json();
console.log(data.results);
លទ្ធផលគឺការប៉ាន់ប្រមាណសម្រាប់តែការណែនាំទូទៅប៉ុណ្ណោះ, មិនហិរញ្ញវត្ថុ, វេជ្ជសាស្ត្រឬដំបូន្មានពន្ធ.