puzzle solve
Budget: $15 – $25 USD
I am looking for a python script for doing the following logic:
1. Roll a dice to get a number.
2. Shuffle and deal a card from a deck of cards and get a card. You should replace the card in the deck after being dealt.
3. Toss a coin and get a side.
4. A play action should perform all of the 3 above and record the output to a file.
5. Win is a combination of (J of spades or A of diamonds, 6 on the dice, heads on the coin). Any other combination is a loss. Game is not over until win. Play to win.
1. Roll a dice to get a number.
2. Shuffle and deal a card from a deck of cards and get a card. You should replace the card in the deck after being dealt.
3. Toss a coin and get a side.
4. A play action should perform all of the 3 above and record the output to a file.
5. Win is a combination of (J of spades or A of diamonds, 6 on the dice, heads on the coin). Any other combination is a loss. Game is not over until win. Play to win.