/monopolyProbability

Simulates a single piece game of Monopoly and then Gives the probability of landing on each Place.

Primary LanguageLuaMIT LicenseMIT

monopolyProbability

Simulates a single piece game of Monopoly and then gives the probability of landing on each place.

Simulation of a single piece moving around the Monopoly board. Records each place it lands on. At the end of the game it sorts then prints the results into a markdown table.

results

Place Chance
Community Chest 7.71126
Chance 7.5116
Jail 3.93218
GO 3.12637
Illinois Avenue 3.12545
St.James Place 3.05571
New York Avenue 3.01399
B.&O. RailRoad 3.00462
Tennesse Avenue 2.91349
Free Parking 2.82711
Water Works 2.81372
Kentuky Avenue 2.79673
Short Line 2.76976
Pennsylvania RailRoad 2.71828
Reading RailRoad 2.71699
Indiana Avenue 2.711
Ventnor Avenue 2.67018
Atlantic Avenue 2.66249
North Carolina Avenue 2.64854
BoardWalk 2.64688
Pacific Avenue 2.60946
Marvin Gardens 2.60464
Go To Jail 2.5555
Electric Company 2.54252
Pennsylvania Avenue 2.53225
Income Tax 2.40204
Virginia avenue 2.37535
Vermont Avenue 2.36112
Connecticut Avenue 2.36085
Just Visiting Jail 2.33585
States Avenue 2.30981
St.Charles Place 2.30336
Park Place 2.29512
Oriental Avenue 2.29475
Baltic Avenu 2.25547
Mediterranean Avenue 2.20906
Luxury Tax 2.19668