JerryShea / monopoly

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About


Languages

Language:Java 100.0%