You are on page 1of 1

PROJECT TOPIC

Shuffle the deck of cards by picking a random card, swapping it with


another random card and repeating it until every card is shuffled.

ABSTRACT
Shuffling is one of the most important and crucial aspect in card games
and other areas where randomization is required. We intend to
automate such a shuffle of cards where the shuffle is such that each
and every card of the deck has been picked and swapped (shuffled) at
least once.
This shuffle is no ordinary shuffle where the deck is cut once or twice
and replaced by the other half. In this, the deck is not cut at a specific
position but a single card is picked from a random position and
swapped with another card at another random position.
We intend to perform this shuffle by using the various random
functions to pick a random card and swapping it using a swapping logic
with another random card picked from the deck. By repeating this
process until each and every card is swapped at least once, we get our
required perfect shuffle. We then intend to display this shuffle
efficiently using a 3-Dimensional Matrix.

Team Members:
G. Sai. Sandilya 1602-15-733-041
Pranav Popat 1602-15-733-032

You might also like