Library that will create a deck of cards and shuffle it.
Two functions are included:
deck_init_dh: initialize a deck
deck_shuffle_dh: shuffle the deck
If you want to use more than one deck, use:
st_deck_dh *deck_a, *deck_b, *deck_c;
Detailed example usage can be seen in example-01.c and aa-pokerhands
- meson (for the build system)
meson builddir
cd builddir
ninja
That will build the library, create the example-01
executable and
then link to the library.
To specify the installation directory (defaults to /usr/local) and install the program:
From *builddir*: `meson configure --prefix=
ninja install
To uninstall:
ninja uninstall