The original monopoly board game.
It still has some functionallity missing (like buying houses and hotels).
You can play with as many players as you want.
You just have to decide when to buy properties.
If any player goes broke (money < 0) the game ends.

You are viewing a single comment. View All

@juliomorenotos Maybe you could've split it up into a couple of modules (Maybe it's just me, but I like to keep my modules <200 lines), but yeah, like @Maelstrom said. It's pretty nice.
One note: the dice function is inaccurate. (i.e., a real pair of dice has 1/6 chance of rolling a 7 and a 1/36 chance of rolling a 12, but in your program all numbers have probability 1/11. I would have something like
def roll_dice(): return (random.randint(1,6),random.randint(1,6))

That way, not only do you have a realistic probability distribution but you can now also implement the roll-a-double-to-get-out-of-jail feature, the water works and electricity payment feature, etc.

I voted for you! Best of luck, darklordx


@Darklordx Hello, thank you for the comment. Totally right about the roll_dice(). I already chenged it. Thanks.