An open API service indexing awesome lists of open source software.

https://github.com/svyatov/deck

Library for basic operations on a deck of playing cards for Elixir
https://github.com/svyatov/deck

card-games cards elixir playing-cards poker

Last synced: about 1 year ago
JSON representation

Library for basic operations on a deck of playing cards for Elixir

Awesome Lists containing this project

README

          

# Deck

[![Hex.pm](https://img.shields.io/hexpm/v/deck.svg)](https://hex.pm/packages/deck)
[![Build Status](https://travis-ci.org/svyatov/deck.svg?branch=master)](https://travis-ci.org/svyatov/deck)
[![Hex.pm](https://img.shields.io/hexpm/dt/deck.svg)](https://hex.pm/packages/deck)

Get, shuffle and deal a deck of playing cards of any size (from 4 to 52 cards).

## Installation

```elixir
defp deps do
[
{:deck, "~> 1.1"}
]
end
```

## Documentation

Documentation can be found at [hexdocs.pm/deck](https://hexdocs.pm/deck).

## Contributing

Pull Requests are happily accepted.

## Copyright and License

Copyright (c) 2019-2020, Leonid Svyatov.

Deck source code is licensed under the [Apache License v2.0](LICENSE).