Skip to content
This repository has been archived by the owner on Nov 21, 2022. It is now read-only.

Special card handling on first turn #80

Open
github-actions bot opened this issue Sep 20, 2022 · 1 comment
Open

Special card handling on first turn #80

github-actions bot opened this issue Sep 20, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request no-issue-activity
Milestone

Comments

@github-actions
Copy link
Contributor

github-actions bot commented Sep 20, 2022

If a special card is dealt at the first turn, the game should apply that effect to the first player (e.g. skip the player on a skip card, give 2 extra card on a +2 card, etc.)

  // create discard pile
  let discardPile = [];

  // add first card to discard pile
  discardPile.push(startingDeck.pop());
@github-actions github-actions bot added the enhancement New feature or request label Sep 20, 2022
@larssieboy18 larssieboy18 added this to the v1.0.1 milestone Sep 20, 2022
@github-actions
Copy link
Contributor Author

This issue was automatically marked inactive.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request no-issue-activity
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant