import Foundation

enum GameRulesFactory {
    static func rules(for variant: GameVariant) -> GameRules {
        switch variant {
        case .klondike: KlondikeRules()
        case .spider: SpiderRules()
        case .freeCell: FreeCellRules()
        }
    }
}
