連続プレイ日数管理
final class StreakManager {
static let shared: StreakManager
func recordPlay() // ゲーム開始時に呼出
func refreshStreakOnLaunch() // 起動時 & scenePhase(.active)
func currentStreak() -> Int
}
| キー | 用途 |
|---|---|
lastPlayedDate | 最終プレイ日(YYYY-MM-DD 形式) |
streakCount | 連続プレイ日数 |
| バージョン | 日付 | 変更内容 |
|---|---|---|
| 1.0 | 2026-05-09 | 初版作成 |