TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | BSD |
ReleasedLast Release | Oct 2015 |
SPMSupports SPM | ✗ |
Maintained by Kyle Fuller.
CardKit provides model structures for building playable card games.
Creating a card
let card = Card(suit: .Heart, value: .Ace)
Creating a deck of cards
let deck = Card.all()
Shuffling (in-place)
deck.shuffle()
New shuffled array of cards
let suffledDeck = deck.shuffled()
CocoaPods or Conche are the recommended and supported installation methods.
pod 'CardKit'
CardKit is licensed under the BSD license. See LICENSE for more info.