Search results for "distribution:Ordeal-Model POLETTIX"
Ordeal::Model - Manage cards and decks
This document is about "Ordeal::Model", a module allows you to manage cards and group them into decks. The main goal is to provide an easy mean to shuffle decks and get some cards out of them. In the document you will find a reference for the main mo...
POLETTIX/Ordeal-Model-0.004 - 04 Sep 2020 05:44:35 UTC
Ordeal::Model::Deck - Class for representing decks of cards
This class represents a deck of cards. The representation is considered ordered, see Ordeal::Model::Shuffle for a wrapper object for shuffling the cards. "id" should be a unique identifier for the deck. "cards" is the low-level accessor to the cards,...
POLETTIX/Ordeal-Model-0.004 - 04 Sep 2020 05:44:35 UTC
Ordeal::Model::Card - Class for representing cards
This class represents a card, with the goal of providing access to its representation (most probably an image file). "id" should be a unique identifier for the card. "content_type" and "data" do what you think: provide you the data associated to the ...
POLETTIX/Ordeal-Model-0.004 - 04 Sep 2020 05:44:35 UTC
Ordeal::Model::Parser - Parse shuffling expressions
Avoid using this module directly, see Ordeal::Model instead....
POLETTIX/Ordeal-Model-0.004 - 04 Sep 2020 05:44:35 UTC
Ordeal::Model::Evaluator - Evaluate shuffling expressions
Avoid using this module directly, see Ordeal::Model instead....
POLETTIX/Ordeal-Model-0.004 - 04 Sep 2020 05:44:35 UTC
Ordeal::Model::Shuffle - Manage shuffling of Decks
This class acts as a wrapper around an Ordeal::Model::Deck to provide a shuffled version of its cards. You can access this via method "deck". Getting cards out of the shuffle is done via method "draw". You cannot ask for more cards than are left on t...
POLETTIX/Ordeal-Model-0.004 - 04 Sep 2020 05:44:35 UTC
Ordeal::Model::ChaCha20 - Class for generating pseudo-random data
This class is an adaptation from Math::Prime::Util::ChaCha for shipping a pure-Perl cryptogrphic pseudo-random number generator to use for proper shuffling of decks. It is used by Ordeal::Model::Shuffle as the default source for random data. The impl...
POLETTIX/Ordeal-Model-0.004 - 04 Sep 2020 05:44:35 UTC
Ordeal::Model::Tutorial - An introduction to Ordeal::Model
POLETTIX/Ordeal-Model-0.004
-
04 Sep 2020 05:44:35 UTC
Ordeal::Model::Backend::Raw - Cards/decks management via raw data
This module is a simple backend for Ordeal::Model based on a data structure. The provided data structure is a hash reference with the following structure (sketched in YAMLish shape): cards: - id: d3-1 data: this is face 1 content-type: text/plain - i...
POLETTIX/Ordeal-Model-0.004 - 04 Sep 2020 05:44:35 UTC
Ordeal::Model::Backend::YAML - Cards/deck definition via YAML file
This module is a simple file-based backend for Ordeal::Model; cards are assumed to be files, while the definition of all decks is inside a YAML file. It is based on a directory with the following structure: * +- cards * | +- card1.jpg | +- card2.jpg ...
POLETTIX/Ordeal-Model-0.004 - 04 Sep 2020 05:44:35 UTC
Ordeal::Model::Backend::PlainFile - Cards/decks management via plain files
This module is a simple file-based backend for Ordeal::Model. It is based on a directory with the following structure: * +- cards * | +- card1.jpg | +- card2.jpg | ... | +- decks * +- deck1 +- deck2 ... Cards are "PNG", "JPG" or "SVG" files. Decks ar...
POLETTIX/Ordeal-Model-0.004 - 04 Sep 2020 05:44:35 UTC