Question: 1. Write the algorithm for setting up to play a card game called Vaark.You are writing the algorithm for the dealer. Relevant rules of Vaark:

1. Write the algorithm for setting up to play a card game called Vaark.You are writing the algorithm for the dealer.

Relevant rules of Vaark:

Is played by 4 people. The dealer is one of the four players. Uses standard/poker/bridge deck of 52 cards

Cards are shuffled and cut.

After cards are shuffled and cut, one person (the dealer) distributes eight cards one-at-a-time, clockwise, face-down to each person

Remaining cards (after dealing) are placed in a pile face-down in the center of the table.

Top card of the pile is turned face-up, next to the pile.

Assume:

dealer does not know what dealing is (you cannot use the term"deal" or "dealing")

dealer does not know what clockwise means

dealer does know what face-up and face-down are

cards have already been shuffled and cut

dealer has been chosen

List any additional assumptions you must make.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!