Signed-off-by: Matt Bruce <matt.bruce1@toyota.com>

This commit is contained in:
Matt Bruce 2025-12-28 20:16:17 -06:00
parent f1c579244c
commit 53edd3aa7c
2 changed files with 9 additions and 9 deletions

View File

@ -100,7 +100,7 @@ final class GameSettings {
// MARK: - Betting Limits // MARK: - Betting Limits
/// The table limits preset. /// The table limits preset.
var tableLimits: TableLimits = .low var tableLimits: TableLimits = .casual
/// Minimum bet amount. /// Minimum bet amount.
var minBet: Int { var minBet: Int {
@ -115,7 +115,7 @@ final class GameSettings {
// MARK: - Starting Balance // MARK: - Starting Balance
/// The starting balance for new games. /// The starting balance for new games.
var startingBalance: Int = 10_000 var startingBalance: Int = 1_000
// MARK: - Animation Settings // MARK: - Animation Settings
@ -369,8 +369,8 @@ final class GameSettings {
/// Resets all settings to defaults. /// Resets all settings to defaults.
func resetToDefaults() { func resetToDefaults() {
deckCount = .eight deckCount = .eight
tableLimits = .low tableLimits = .casual
startingBalance = 10_000 startingBalance = 1_000
showAnimations = true showAnimations = true
dealingSpeed = 1.0 dealingSpeed = 1.0
showCardsRemaining = true showCardsRemaining = true

View File

@ -114,7 +114,7 @@ final class GameSettings {
// MARK: - Betting Limits // MARK: - Betting Limits
/// The table limits preset. /// The table limits preset.
var tableLimits: TableLimits = .low { didSet { save() } } var tableLimits: TableLimits = .casual { didSet { save() } }
/// Minimum bet amount. /// Minimum bet amount.
var minBet: Int { tableLimits.minBet } var minBet: Int { tableLimits.minBet }
@ -125,7 +125,7 @@ final class GameSettings {
// MARK: - Starting Balance // MARK: - Starting Balance
/// The starting balance for new games. /// The starting balance for new games.
var startingBalance: Int = 10_000 { didSet { save() } } var startingBalance: Int = 1_000 { didSet { save() } }
// MARK: - Animation Settings // MARK: - Animation Settings
@ -286,12 +286,12 @@ final class GameSettings {
func resetToDefaults() { func resetToDefaults() {
gameStyle = .vegas gameStyle = .vegas
deckCount = .six deckCount = .six
tableLimits = .low tableLimits = .casual
startingBalance = 10_000 startingBalance = 1_000
dealerHitsSoft17 = false dealerHitsSoft17 = false
doubleAfterSplit = true doubleAfterSplit = true
resplitAces = false resplitAces = false
lateSurrender = true lateSurrender = false
noHoleCard = false noHoleCard = false
blackjackPayout = 1.5 blackjackPayout = 1.5
insuranceAllowed = true insuranceAllowed = true