From 9433ced1aa3cf2459c7a246a0ea8e0cf4fca669d Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Mon, 29 Dec 2025 13:11:17 -0600 Subject: [PATCH] Signed-off-by: Matt Bruce --- .../Blackjack/Resources/Localizable.xcstrings | 21 +++++++++++-------- .../Blackjack/Storage/BlackjackGameData.swift | 4 ++-- .../Blackjack/Views/Game/GameTableView.swift | 8 +++---- .../CasinoKit/Views/WelcomeSheet.swift | 2 +- 4 files changed, 19 insertions(+), 16 deletions(-) diff --git a/Blackjack/Blackjack/Resources/Localizable.xcstrings b/Blackjack/Blackjack/Resources/Localizable.xcstrings index 8c915be..b0a517b 100644 --- a/Blackjack/Blackjack/Resources/Localizable.xcstrings +++ b/Blackjack/Blackjack/Resources/Localizable.xcstrings @@ -1893,9 +1893,6 @@ } } } - }, - "Change table limits, rules, and side bets in settings" : { - }, "CHIPS STATS" : { "comment" : "Title of a section in the Statistics Sheet that shows statistics related to the user's chips.", @@ -5233,9 +5230,6 @@ } } } - }, - "Practice Free" : { - }, "Privacy Policy" : { "localizations" : { @@ -5676,6 +5670,10 @@ } } }, + "See detailed stats for each play session, just like at a real casino" : { + "comment" : "Description of a feature in the welcome sheet that allows users to track their gaming sessions.", + "isCommentAutoGenerated" : true + }, "Select a chip and tap the bet area" : { }, @@ -6336,9 +6334,6 @@ "Start playing to begin tracking your session." : { "comment" : "A description text displayed in the \"No Active Session\" view, explaining that the user needs to start playing to see their session statistics.", "isCommentAutoGenerated" : true - }, - "Start with $1,000 and play risk-free" : { - }, "Starting balance" : { "comment" : "A label for the starting balance in the Balance section of a session detail view.", @@ -6905,6 +6900,10 @@ } } }, + "Track Sessions" : { + "comment" : "Feature description in the welcome sheet for tracking detailed stats for each play session.", + "isCommentAutoGenerated" : true + }, "Traditional European casino style." : { "localizations" : { "en" : { @@ -7063,6 +7062,10 @@ } } }, + "Vegas Strip, Atlantic City, European, or create your own" : { + "comment" : "Feature description in the welcome sheet about customizing the game rules.", + "isCommentAutoGenerated" : true + }, "Vibration on actions" : { "localizations" : { "en" : { diff --git a/Blackjack/Blackjack/Storage/BlackjackGameData.swift b/Blackjack/Blackjack/Storage/BlackjackGameData.swift index 766a057..08706b4 100644 --- a/Blackjack/Blackjack/Storage/BlackjackGameData.swift +++ b/Blackjack/Blackjack/Storage/BlackjackGameData.swift @@ -24,7 +24,7 @@ struct BlackjackGameData: PersistableGameData, SessionPersistable { static var empty: BlackjackGameData { BlackjackGameData( lastModified: Date(), - balance: 10_000, + balance: 1_000, currentSession: nil, sessionHistory: [] ) @@ -53,7 +53,7 @@ struct BlackjackSettingsData: PersistableGameData { gameStyle: "vegas", deckCount: 6, tableLimits: "low", - startingBalance: 10_000, + startingBalance: 1_000, dealerHitsSoft17: false, doubleAfterSplit: true, resplitAces: false, diff --git a/Blackjack/Blackjack/Views/Game/GameTableView.swift b/Blackjack/Blackjack/Views/Game/GameTableView.swift index 1a2837e..58468f3 100644 --- a/Blackjack/Blackjack/Views/Game/GameTableView.swift +++ b/Blackjack/Blackjack/Views/Game/GameTableView.swift @@ -98,14 +98,14 @@ struct GameTableView: View { description: String(localized: "Built-in hints show optimal plays based on basic strategy") ), WelcomeFeature( - icon: "dollarsign.circle", - title: String(localized: "Practice Free"), - description: String(localized: "Start with $1,000 and play risk-free") + icon: "clock.badge.checkmark.fill", + title: String(localized: "Track Sessions"), + description: String(localized: "See detailed stats for each play session, just like at a real casino") ), WelcomeFeature( icon: "gearshape.fill", title: String(localized: "Customize Rules"), - description: String(localized: "Change table limits, rules, and side bets in settings") + description: String(localized: "Vegas Strip, Atlantic City, European, or create your own") ) ], onStartTutorial: { diff --git a/CasinoKit/Sources/CasinoKit/Views/WelcomeSheet.swift b/CasinoKit/Sources/CasinoKit/Views/WelcomeSheet.swift index 0a3f600..0b42134 100644 --- a/CasinoKit/Sources/CasinoKit/Views/WelcomeSheet.swift +++ b/CasinoKit/Sources/CasinoKit/Views/WelcomeSheet.swift @@ -84,7 +84,7 @@ public struct WelcomeSheet: View { .padding(.horizontal, CasinoDesign.Spacing.large) } }, - onDone: {} + onDone: onStartPlaying // Done button = Start Playing ) }