Welcome to the game Dutch!
This project will only focus on 2 players, the user and the computer.
This is a memory game.
The main goal is to get rid of your cards for you to win.
Each card has a point number associated to it, your objective
is to have the least amount of points.
Start by shuffling the deck of 54 cards.
The game starts by giving each player 4 cards facing down. This is
known as the hand. The cards should be arranged in a rectangular fashion.
Each player has the chance to take a look at their two bottom cards and
to memorize them, they may do so only once.
When every player has had the chance to take a look at their two bottom cards,
the game may begin!
The game is played in a turned-based fashion. The player to the left of the dealer
starts their turn.
The player has two choices whenever their turn arises.
- Draw a card
- Call Dutch (We'll get back to this later)
The player can draw a card, and should do so in a secretive manner.
The player will look at the drawn card and choose their next move.
They can either switch one of their cards (in their hand) with the drawn card, and
play the switched card by placing it face up on the pile (in the middle of the table, now empty since it
is the first play) OR play directly the drawn card by placing it face up on the pile.
After the player has played, the next player situated to the left begins their turn,
and so forth.
At any point during the game, independent of whose turn it is, a player may decide
to get rid of a card, or multiple of their cards. Whatever the last card was added to the pile,
any equivalent card from any player's hand can be played.
For example, let's say Player 1 drew a card (5 of spades) and played it (placing it on the pile),
Player 3 knows that he currently has a 5 in his hand, he can play that 5 (by also placing it on the pile).
This way, Player 3 has gotten "rid" of a card by reducing his hand from four cards to three.
If Player 3 mistakenly thought it was a 5, but actually it was another card, he returns his card
to his hand, draws a card without looking at it and places it in his hand, giving himself an extra card.
A player can play a card from another player (use case of the 8, which lets you look at one random card from
an opponent) by following the same rules as above. If played correctly, the player then gives one of his cards
to the player that has gotten their card played. If played incorrectly, the player then draws a card without
looking at it for himself and places it in his own hand.
Calling Dutch means you think you have the least amount of points.
You can only call Dutch if it is your turn and you didn't draw a card.
No one else can call Dutch if someone has already called Dutch.
After you call Dutch, you DO NOT draw a card and the game continues for
one last round. Whenever it is your turn again, everyone turns over their cards and the
one with the least amount of points, wins!
It is automatic Dutch, whenever it is a players turn and they do not have any cards left in their hand.
If someone is empty handed and Dutch has already been called, their turn is skipped.
Have fun! :)