Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rules/Set Up:
Shuffle Cards
If jokers in deck:
Remove
Divide cards by 2 and give that number to each player
Set up: //redundant
with two players, take out the jokers and shuffle the cards
give you and your opponent 26 cards each
both you and your opponent put their cards faced down in front
Both you and your opponent can't see either of the decks.
both you and your opponent can't see either of the decks
2 is the lowest card of the game.
Jack is an 11, Queen is a 12, King is a 13, and Ace is a 13.
//add a rule stating what happens when your play the same card
Turns
Count to 3.
both you and your opponent put the top card face up in front of you.
jack beats a 10, queen beats a jack, king beats a queen, an ace beats all cards.
(setup)
Take the deck and shuffle it.
Give you and the other person 26 faced down cards
both you and your opponent put their cards faced down, and neither of you can see either of the decks.
(first 3 rounds)
both of you put the top card face up in front of you.
If you have the higher card:
then you win the round and put the two cards on the bottom of the deck.
else if your opponent has the higher card:
then your opponent wins the round and takes the two cards played
While the card value played is the same:
then put your next 4 cards faced down and put the next card of the deck faced up.
then your opponent wins the round and put the two cards on the bottom of the deck.
While the card value is the same:
then put the next 4 cards faced down and put the next card of the deck faced up.
If you have the higher card:
then you win the round and put all cards on the bottom of the deck.
Else if you opponent has the higher card:
If you opponent has the higher card:
then your opponent win the round and puts the two cards on the bottom of the deck.
If else:
then put the next 4 cards faced down and put the next card of the deck faced up.
If you run out of cards:
then you lose the game.
If your opponent runs out of cards:
then you win the game
else you play another round: