CasinoGames/CasinoKit/Sources/CasinoKit/CasinoKit.swift
Matt Bruce 78f7cb1544 Reorganize repo: move git to root, add Blackjack and CasinoKit
- Move .git from Baccarat/ to CasinoGames root
- Add Blackjack game project
- Add CasinoKit shared framework
- Add .gitignore for Xcode/Swift projects
- Add Agents.md and GAME_TEMPLATE.md documentation
- Add CasinoGames.xcworkspace
2025-12-22 13:18:29 -06:00

45 lines
1016 B
Swift

//
// CasinoKit.swift
// CasinoKit
//
// A reusable Swift package for casino card game UI components.
// Includes playing cards, betting chips, and theming support.
//
import SwiftUI
/// CasinoKit provides reusable components for building casino card games.
///
/// ## Features
/// - Playing card models and views
/// - Chip denomination models and views
/// - Customizable theming system
/// - Full VoiceOver accessibility support
/// - Localization support
///
/// ## Usage
/// ```swift
/// import CasinoKit
///
/// struct MyGameView: View {
/// var body: some View {
/// CardView(card: Card(suit: .hearts, rank: .ace))
/// ChipView(denomination: .hundred)
/// }
/// }
/// ```
///
/// ## Theming
/// Create a custom theme by conforming to `CasinoTheme`:
/// ```swift
/// struct MyTheme: CasinoTheme {
/// var tableFeltColor: Color { .green }
/// // ...
/// }
/// ```
public enum CasinoKit {
/// The current version of CasinoKit.
public static let version = "1.0.0"
}