Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Card Game Code #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 11 additions & 13 deletions Card Game Code
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,19 @@ Deal each player seven cards and place the remaining cards face down in the midd

Turn over the top card of the draw pile and place this card next to the draw pile to from the discard pile.

Take turns beginning with the player to the dearler's left and go clockwise around the table.

If the player puts a reverse card down, then the order reverses.
If the player puts a skip card down, the order remains the same.
Take turns beginning with the player to the dearler's left, going clockwise aorund the table:

If the player puts:
a reverse card down, then the order reverses.
a skip card down, the order remains the same.

Place one of your cards on the discard pile when it's your turn.

Draw a card if you cannot discard.

If the player does not have a card of the same color

Announce a suit when you place a wild card on the discard pile.

Announce a suit when you place a Wild Draw Four card on the discard pile.
Announce a suit when you place a wild card on the discard pile AND when you place a Wild Draw Four card on the discard pile.

Follow the directions of an Action Card that is played on the discard pile by the player preceding you.

Expand All @@ -62,20 +61,19 @@ Deal each player seven cards and place the remaining cards face down in the midd

Turn over the top card of the draw pile and place this card next to the draw pile to from the discard pile.

Take turns beginning with the player to the dearler's left and go clockwise around the table.
Take turns beginning with the player to the dealer's left, going clockwise around the table.

If the player puts a reverse card down, then the order reverses.
If the player puts a skip card down, the order remains the same.
If the player puts
a reverse card down, then the order reverses.
a skip card down, the order remains the same.

Place one of your cards on the discard pile when it's your turn.

Draw a card if you cannot discard.

If the player does not have a card of the same color

Announce a suit when you place a wild card on the discard pile.

Announce a suit when you place a Wild Draw Four card on the discard pile.
Announce a suit when you place a wild card on the discard pile and when you place a Wild Draw Four card on the discard pile.

Follow the directions of an Action Card that is played on the discard pile by the player preceding you.

Expand Down