taash

A deck of cards demo of nbdev

We are following along with this from fastai.

Install

pip install taash

How to use

This library provides a Card class that can be used to create, display and compare playing cards.

c = Card(suit=1, rank=3)
c
3♦️

suits are numbered according to the following:

suits
['♣️', '♦️', '❤️', '♠️']