Question: MATLAB function: Card Game War I need to create a matlab function that can simulates the card game War for 2 players untill a winner
MATLAB function: Card Game "War"
I need to create a matlab function that can simulates the card game War for 2 players untill a winner is declared. There will be 10,000 games of war and generate the histograms for winner and number of battles until a winner is declared and number of wars that occured during game play.
I will be really appreciated if someone who is good in matlab can help me in finish this problem.
Thank you!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
