This Matlab function simulates the classic board game Monopoly. In a live bar plot, the previous probabilities for each individual field are displayed. The programming code takes into account all the rules of the original game, so all special cards as well as special rules such as the triple dice double. When the live plot is closed, the function returns an array of field probabilities and the number of moves. The code is based on the assumption that you always use a opportunity to get out of jail for free.
Christoph Müßig (2021). Monopoly Monte Carlo Simulation (https://www.mathworks.com/matlabcentral/fileexchange/70350-monopoly-monte-carlo-simulation), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!