add: added .rakeback to get a part of the house edge back. Rakeback is accumulated by betting (not winning or losing in particular). All games have manually specified rakeback values

add: slot now has 1 more icon (wheat!), and multipliers have been modified to even out the gains
change: betroll is improved (around 2% better payout), as 66 is now a winning number, not a losing one
This commit is contained in:
Kwoth
2024-11-05 08:24:21 +00:00
parent fa12fcea58
commit 701501d678
20 changed files with 7279 additions and 54 deletions

View File

@@ -11,9 +11,9 @@ public class SlotGame
{
var rolls = new[]
{
(byte)_rng.Next(0, 6),
(byte)_rng.Next(0, 6),
(byte)_rng.Next(0, 6)
(byte)_rng.Next(0, 7),
(byte)_rng.Next(0, 7),
(byte)_rng.Next(0, 7)
};
ref var a = ref rolls[0];
@@ -24,24 +24,24 @@ public class SlotGame
var winType = SlotWinType.None;
if (a == b && b == c)
{
if (a == 5)
if (a == 6)
{
winType = SlotWinType.TrippleJoker;
multi = 30;
multi = 25;
}
else
{
winType = SlotWinType.TrippleNormal;
multi = 10;
multi = 15;
}
}
else if (a == 5 && (b == 5 || c == 5)
|| (b == 5 && c == 5))
else if (a == 6 && (b == 6 || c == 6)
|| (b == 6 && c == 6))
{
winType = SlotWinType.DoubleJoker;
multi = 4;
multi = 6;
}
else if (a == 5 || b == 5 || c == 5)
else if (a == 6 || b == 6 || c == 6)
{
winType = SlotWinType.SingleJoker;
multi = 1;