<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>syun77</author_name>
  <author_url>https://blog.hatena.ne.jp/syun77/</author_url>
  <blog_title>2dgames.jp</blog_title>
  <blog_url>https://2dgames.jp/</blog_url>
  <categories>
    <anon>ゲームプログラム</anon>
    <anon>ローグライク</anon>
    <anon>数学</anon>
    <anon>確率</anon>
  </categories>
  <description>今回は重み付けの確率計算の方法について解説します。 確率の計算方法 重み付けの説明の前に、基本的な確率計算の方法について確認しておきます。 まずは、サイコロで1の目が出る確率の求め方です。 6面体のサイコロは6通りのパターンがあり、それぞれが均等の確率で出現します。そして、1の目は1つのみ存在します。 そのため、6通りのうちの1つが出る確率を求めることとなり、1÷6≒16.7% となります。 次に、サイコロで3の倍数が出る確率を求めます。 3の倍数は、3と6の2つあります。そのため、6通りのうち2パターンの目が出る確率を求めることとなり、2÷6≒33.3% となります。 ここまでの例でわかるよ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2F2dgames.jp%2Fentry%2Fweighted-pick%2F&quot; title=&quot;重み付けの確率計算アルゴリズム - 2dgames.jp&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/s/syun77/20250816/20250816140009.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-10-24 14:45:25</published>
  <title>重み付けの確率計算アルゴリズム</title>
  <type>rich</type>
  <url>https://2dgames.jp/entry/weighted-pick/</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
