Releases: micheledusi/Deckz
Releases Β· micheledusi/Deckz
v0.3.1
What's new?
- New languages! Thanks to @jassler now Deckz speaks German [
de], thanks to @benzlokzik now Deckz speaks Armenian [hy] and Russian [ru]! Thank you so much for the contribution π
v0.3.0
What's new?
- A better implementation of randomness in the functions for rendering: the parameter
noisecan be used to add variety to visualizations. - Also, functions with randomness-based features are now supporting Suiji RNGs.
- New submodule
deckz.mixfor manipulating hands:- Shuffling decks/arrays of cards.
- Choosing a number of cards from a deck/array.
- Splitting an array of cards in different parts according to the given sizes.
- New submodule
deckz.arrto arrange and organize cards:- Sorting by score or by the classical suit/rank order.
- Grouping cards by rank or suit.
- Counting or checking ranks or suits in hands.
- New submodule
deckz.valto evaluate a hand of cards:- Checking whether a hand contains/is a given poker combination (pair, two-pairs, n-of-a-kind, flush, straight, etc...).
- Extracting all combinations from a given hand.
- Revised manual with improved documentation and more examples.
- More informative data structures for suits and ranks.
- Bugs fixing and general correction.
v0.2.0
What's new?
- A new, complete, rich-of-examples Manual to learn how to use Deckz from scratch.
- Changed the implementation of some of the main functions in order to have a better and cohesive code.
- Better documentation for all the exposed functions.
- Improved the folder structure of the project.
- Bug fixing.
v0.1.1
What's new?
- Cards' dimensions are better handled with a static dictionary. Card displaying results clearer and more concise.
- New
heapfunction for a random placement of cards within a given rectangular area. - Fix bugs
v0.1.0
This release introduces the first functionalities of Deckz: card visualization, hand and deck displaying, and other funny stuffs.