CardKit 0.1.0

CardKit 0.1.0

TestsTested
LangLanguage SwiftSwift
License BSD
ReleasedLast Release Oct 2015
SPMSupports SPM

Maintained by Kyle Fuller.


Downloads

Total129
Week0
Month0

Installs

Apps9
Test Targets1
powered by Segment

GitHub

Stars105
Watchers6
Forks6
Issues0
Contributors3
Pull Requests0

Code

Files4
LOCLines of Code 117


CardKit 0.1.0

  • By
  • Kyle Fuller

CardKit provides model structures for building playable card games.

Usage

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()

Installation

CocoaPods or Conche are the recommended and supported installation methods.

pod 'CardKit'

License

CardKit is licensed under the BSD license. See LICENSE for more info.