Inspiration

The inspiration for Pythonopoly was actually from a free class period. My friends and I had a free period and wanted to play monopoly but didn't have the game. I thought to myself that I could make a monopoly game that could run in a python terminal. I set out to do just that!

What it does

Pythonopoly is just like regular monopoly. Players move across a board of properties for sale and special tiles such as community chest or chance. They try to accumulate as much money as possible in order to bankrupt the other players. This game is almost like an RPG with text - based turns and random chance at every turn. Besides Javacraft, this is probably my best terminal game to date.

How we built it

I built Pythonopoly using python. (hense the name "PYTHONopoly) It was made possible by using a number of things including the os, random, and colorama libraries. A pypackager was also used to create and resolve any dependencies,

Challenges we ran into

The first challenge that I ran into was that each players turn acted independently from each other. This meant that one player buying a property didn't stop another player from buying that same property, as the game didn't recognize a player had previously purchased it. To fix this, I made an available list that appended each property to a players portfolio and removed it from the list once a property was purchased. Another problem was that players the rolling dice animation would stay during the players turn. To fix this I used a function to delete a previous piece of text from the terminal.

Accomplishments that we're proud of

I am very proud of my new experience and expertise working with moving and colored text. It makes the game really flow and feel alive. If it wasn't like this, the game would feel like you're just reading text. This is my first "multiplayer" game, and I am excited to make more projects.

Built With

Share this project:

Updates