nbdev_cardtest

Card tutorial for nbdev, edited.

This file will become your README and also the index of your documentation.

Now you’re ready to create your documentation home page and README.md file; these are both generated automatically from index.ipynb. Open the Jupyter Notebook home page, then click on index.ipynb to open it.

We recommend including a longer description about what your package does, how to install it, and how to use it (with a few examples which import and use your package). Remember, examples can be code cells with real outputs rather than plain markdown text.

Install

pip install nbdev_cardtest

How to use

This library provides a Card class you can use to create display and compare playing cards

c = Card(1,3)
c
3♦️
suits
['♣️', '♦️', '♥️', '♠️']
ranks
[None, 'A', '2', '3', '4', '5', '6', '7', '8', '9', '10', 'J', 'Q', 'K']