This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System.Diagnostics; | |
| const int deckSize = 60; | |
| const int sampleHandsCount = 3; | |
| const int openingHandsCards = 7; | |
| const int simulateTimes = 10_000_000; | |
| Console.WriteLine("Opening hand simulator v1.0"); | |
| Console.WriteLine($" @deckSize: {deckSize}, @sampleHandsCount: {sampleHandsCount}, @openingHandsCards: {openingHandsCards}"); | |
| Console.WriteLine($" @simulateTimes: {simulateTimes}"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (* | |
| 手元で実行した結果 | |
| === 旧仕様 === | |
| 試行回数: 1,000,000 回 | |
| キャラA: 平均 111.174連 / 中央値 100.000連 / 標準偏差 69.558連 | |
| キャラB: 平均 196.951連 / 中央値 200.000連 / 標準偏差 86.174連 | |
| 100連時点の1人目取得率: 50.456% | |
| 100連時点の両方取得率: 14.427% | |
| 200連時点の1人目取得率: 100.000% |
OlderNewer