Build a 'War' card game simulator. We will run the simulation with various numbers of cards and
Fantastic news! We've Found the answer you've been seeking!
Question:
Build a 'War' card game simulator.
We will run the simulation with various numbers of cards and decks of cards to see how many turns a game takes on average ( each starting deck size run 100 times or so to get the average ).
Ace is the highest card. 2-Ace of each each suit, 52 cards total per deck.
2 Players, each have a 'stack' of cards, when you win, add the cards to the bottom, the game is over when 1 player runs out.
On a 'tie' or 'war', have each player add 2 cards to the pile and then check the 3rd card.
Plot the results at the end.
Related Book For
Statistics Informed Decisions Using Data
ISBN: 9780134133539
5th Edition
Authors: Michael Sullivan III
Posted Date: