mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2026-01-07 02:24:33 -08:00
MAINT: Apply pre-commit
Remove byte-order-marker pre-commit check as there would be many adjustments necessary
This commit is contained in:
1
29_Craps/csharp/.gitignore
vendored
1
29_Craps/csharp/.gitignore
vendored
@@ -2,4 +2,3 @@
|
||||
TestResults
|
||||
bin
|
||||
obj
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Craps
|
||||
|
||||
ui.Intro();
|
||||
|
||||
do
|
||||
do
|
||||
{
|
||||
var bet = ui.PlaceBet();
|
||||
var result = game.Play(out int diceRoll);
|
||||
|
||||
@@ -139,5 +139,3 @@ namespace Craps
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -80,7 +80,7 @@ namespace CrapsTester
|
||||
}
|
||||
|
||||
// We'll assume that a variation of 10% in rolls for the different numbers is random enough.
|
||||
// Perfectly random rolling would produce 100000 rolls per side, +/- 5% of this gives the
|
||||
// Perfectly random rolling would produce 100000 rolls per side, +/- 5% of this gives the
|
||||
// range 90000..110000.
|
||||
const int minRolls = 95000;
|
||||
const int maxRolls = 105000;
|
||||
|
||||
Reference in New Issue
Block a user