1. Not finding help here? Sign up for a free 30min tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Card Game for my Discrete Structures class

  1. Oct 17, 2006 #1
    So my teacher is making us write a paper on various games he proposed to us. This is the one I choose.

    You get 5 random cards from a standard deck. You place 4 of them in any order you like face up, and the last one face down. Knowing your strategy of placing the first four cards, someone could figure out what the face down card(suit and value) is.

    So here's my strategy:
    Since there are 5 cards and only four suits, there will be atleast 2 of one suit. So you put those two cards first and last. Since there are only 13 cards in the deck, you can reach any value from any other value by adding 1,2,3,4,5,or 6 to the starting value. (A queen(12) plus 4 would be 3..it loops around). So for the other three cards you have, there are 6 ways to arrange them, which is exactly what we need. You will arrange them according to their value. If two cards have the same value, refer to their suit.(Alphabetically... Clubs < Diamonds < Hearts < Spades)
    Low, Mid, High = 1
    Low, High, Mid = 2
    Mid, Low, High = 3
    Mid, High, Low = 4
    High, Low, Mid = 5
    High, Mid, Low = 6
    So with this strategy we can do any 5 cards in the standard 52 card deck.

    Example:
    2s 5d 7c 9h Qh

    Put the 9h First, then you need to add three, so Mid, Low, High
    9h 5d 2s 9h _??_

    And then knowing our strategy someone else could tell us that 9h plus the three will be the Qh

    Now comes the real part. I need to start adding Jokers into the mix.
    So for one joker, I see four scenarios:
    1. no joker
    2. joker and two other cards w/ the same suit.
    3. joker and one of each suit(but not all the same value)
    4. joker and one of each suit all w/ same value.

    Now here's my strategy
    1. Use regular strategy
    2. "Lie" to our partner. Tell them that the card facing down is a card that is already on the board(in the three cards in the middle) and they will know that it is a joker.
    3. Use the joker as the highest card possible in the three middle cards to determine value, and know that the last card is the suit that is not already shown in the 4 cards
    4.Place the joker first, and know that the last card is the suit not shown already, and the value of the three cards in the middle.

    So I can get all that, but now my teacher tells us that it IS possible to add two jokers.
    Cases
    1. No jokers
    2. 1 Joker and 2 of the same suit
    3. 1 Joker and not 2 of the same suit
    4. 1 joker and 4 of the same values, all different suits
    5. 2 jokers and 2 of the same suit
    6. 2 jokers and not 2 of the same suit
    7. 2 jokers and 3 of the same values, all different suits

    Strategy(This is the part that I can't figure out)
    1. "Lie" to the user and have the last card be joker1(you must differentiate between joker1 and joker2. If you get joker 2, use it in the three cards as the highest card, with first and last suit matching.
    2. You can use joker1 in the middle three cards, with the suit not showing being the suit that is hidden. I don't know what to do with joker 2. I know I can't use it in the middle again.
    3-7 all depend on #2, so I'm pretty much stuck here.

    Our teacher also recommended looking at the combination and permutations of the 52 card deck with respect to the 4 and 5 cards, but I'm not too familiar with what those mean exactly.

    Thanks for any help/ideas/suggestions you can give me. If anything needs clarification let me know(I'm usually pretty scatterbrained when writing these things, but I tried to be as clear as I possibly could).
     
  2. jcsd
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Can you help with the solution or looking for help too?



Similar Discussions: Card Game for my Discrete Structures class
  1. Game Theory question (Replies: 0)

Loading...