Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 445 Bytes

README.md

File metadata and controls

15 lines (10 loc) · 445 Bytes

monopoly

Simulates dice rolls and outputs a histogram of frequency of landing on properties.

Complete in that it considers:

  • 3 doubles puts you in jail
  • go to jail square puts you in jail
  • chance and community chest cards that send you to jail, a particular square, or back 3 spaces

But not

  • "pay a fine or take a chance" card

example

Not the most beautiful code I have ever written but does the job.