aaronjsutton / deck

Mock library for simulating decks of cards :spades:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deck

Deck is a library that models and manipulates a simulated deck of cards.

GitHub (pre-)release Build Status

Getting Started

Read the Quick Start Guide to learn how to use Deck.

Documentation

For detailed usage, read the API Documentation

Testing

Testing can be done in one of two ways. Manually on any system, or in Xcode on macOS.

First, ensure submodules are up-to-date with:

git submodule update --init

Xcode

macOS

Unit tests can be invoked directly from Xcode using the test feature. For more information, see Apple's documentation

Manual

Linux, macOS

Deck uses the testing framework µnit. As µnit is part of the repository, running the tests is very simple.

Then, the tests can be invoked from make using:

make test

Frequently Asked

Q: Why would I need Deck?

A: Because who doesn't enjoy poker night?

About

Mock library for simulating decks of cards :spades:

License:MIT License


Languages

Language:C 91.5%Language:Ruby 5.9%Language:Objective-C 2.7%