CardDeck.Shufflers
0.0.0-alpha
dotnet add package CardDeck.Shufflers --version 0.0.0-alpha
NuGet\Install-Package CardDeck.Shufflers -Version 0.0.0-alpha
<PackageReference Include="CardDeck.Shufflers" Version="0.0.0-alpha" />
paket add CardDeck.Shufflers --version 0.0.0-alpha
#r "nuget: CardDeck.Shufflers, 0.0.0-alpha"
// Install CardDeck.Shufflers as a Cake Addin #addin nuget:?package=CardDeck.Shufflers&version=0.0.0-alpha&prerelease // Install CardDeck.Shufflers as a Cake Tool #tool nuget:?package=CardDeck.Shufflers&version=0.0.0-alpha&prerelease
CardDeck.Shufflers
This library provides several classes for shuffling arrays in C#. Each class implements a different shuffling algorithm.
CasinoShuffler
The CasinoShuffler
class implements the Casino Dealer Combination shuffle. This shuffle involves a sequence of riffle, strip, riffle, strip, and riffle shuffles. The Shuffle
method takes an array and returns a new array with the elements shuffled.
CorgiShuffler
The CorgiShuffler
class implements the Corgi Shuffle, also known as Washing the Cards. This shuffle involves spreading the cards out in a neat pile face down on a table and then mixing the pile. The CorgiShuffle
method takes an array and returns a new array with the elements shuffled.
FaroShuffler
The FaroShuffler
class implements the Faro Shuffle, also known as the perfect shuffle. This shuffle involves splitting the deck into two equal halves and then perfectly interweaving them. The FaroShuffle
method takes an array and returns a new array with the elements shuffled.
MexicanShuffler
The MexicanShuffler
class implements the Mexican Spiral Shuffle. This shuffle involves moving the top card to the bottom and dealing onto the table until the entire deck has been distributed. The MexicanShuffle
method takes an array and returns a new array with the elements shuffled.
MongeanShuffler
The MongeanShuffler
class implements the Mongean Shuffle. This shuffle involves holding the deck in one hand and removing the top card with the other hand, placing it on the top or the bottom of the new deck. The MongeanShuffle
method takes an array and returns a new array with the elements shuffled.
PileShuffler
The PileShuffler
class implements the Pile Shuffle. This shuffle involves dealing out the deck into a number of piles, then stacking the piles on top of each other. The PileShuffle
method takes an array and returns a new array with the elements shuffled.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.0.0-alpha | 187 | 11/15/2023 |