Skip to content

Small program to create standard card deck and perform Riffle shuffle. Also checks if the given input indicates a proper Riffle shuffle.

Notifications You must be signed in to change notification settings

coryMcan/Riffle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Riffle

This program creates a standard card deck, shuffles it using random access on an int array, then shuffles again using the "Riffle" method, where you divide the deck into two 'halves' which may be unequal in size and stack card by card from each half until you have a shuffled deck.

isSingleRiffled is a Riffle check that ensures all cards in the deck have been shuffled using the Riffle method.

About

Small program to create standard card deck and perform Riffle shuffle. Also checks if the given input indicates a proper Riffle shuffle.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages