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

View File

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