Package: mmcards 0.1.1.9000

mmcards: Playing Cards Utility Functions

Early insights in probability theory were largely influenced by questions about gambling and games of chance, as noted by Blitzstein and Hwang (2019, ISBN:978-1138369917). In modern times, playing cards continue to serve as an effective teaching tool for probability, statistics, and even 'R' programming, as demonstrated by Grolemund (2014, ISBN:978-1449359010). The 'mmcards' package offers a collection of utility functions designed to aid in the creation, manipulation, and utilization of playing card decks in multiple formats. These include a standard 52-card deck, as well as alternative decks such as decks defined by custom anonymous functions and custom interleaved decks. Optimized for the development of educational 'shiny' applications, the package is particularly useful for teaching statistics and probability through card-based games. Functions include shuffle_deck(), which creates either a shuffled standard deck or a shuffled custom alternative deck; deal_card(), which takes a deck and returns a list object containing both the dealt card and the updated deck; and i_deck(), which adds image paths to card objects, further enriching the package's utility in the development of interactive 'shiny' application card games.

Authors:Mackson Ncube [aut, cre], mightymetrika, LLC [cph, fnd]

mmcards_0.1.1.9000.tar.gz
mmcards_0.1.1.9000.zip(r-4.5)mmcards_0.1.1.9000.zip(r-4.4)mmcards_0.1.1.9000.zip(r-4.3)
mmcards_0.1.1.9000.tgz(r-4.4-any)mmcards_0.1.1.9000.tgz(r-4.3-any)
mmcards_0.1.1.9000.tar.gz(r-4.5-noble)mmcards_0.1.1.9000.tar.gz(r-4.4-noble)
mmcards_0.1.1.9000.tgz(r-4.4-emscripten)mmcards_0.1.1.9000.tgz(r-4.3-emscripten)
mmcards.pdf |mmcards.html
mmcards/json (API)

# Install 'mmcards' in R:
install.packages('mmcards', repos = c('https://mightymetrika.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/mightymetrika/mmcards/issues

Datasets:

On CRAN:

game

4.88 score 5 packages 4 scripts 167 downloads 4 exports 0 dependencies

Last updated 1 years agofrom:74e1e5482c. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 19 2024
R-4.5-winOKNov 19 2024
R-4.5-linuxOKNov 19 2024
R-4.4-winOKNov 19 2024
R-4.4-macOKNov 19 2024
R-4.3-winOKNov 19 2024
R-4.3-macOKNov 19 2024

Exports:deal_cardi_deckshuffle_deckstandard_deck

Dependencies:

alternative-decks

Rendered fromalternative-decks.Rmdusingknitr::rmarkdownon Nov 19 2024.

Last update: 2023-09-04
Started: 2023-09-04