preview

Final Write Up: Monopoly

Better Essays

Final Write up - Monopoly
Through the time period of two months we managed to brainstorm, design, and complete or final project, which was a working monopoly game in processing. The program took a lot of effort and multiple steps to become workable and enjoyable for those playing it. In this report we will discuss our program, the design process taken in order to complete the program, the challenges we faced, the things we have learned, what we would have done differently if we could do it again, and our future plan for the code.

What is our project?
The game we created was Monopoly. Monopoly is a well-known game around the world which many people, including us, enjoy. The game has a set of rules which we had to implement using our knowledge …show more content…

We stuck to the basics of the game but changed some areas to make the game more enjoyable and interactive. For instance, we put a lot of time into the sell option to make it very cool and fun for the user.

Design Process of program
The way we have been working on the project was obviously not a straight line of success, like any other big project we have been facing large size obstacles along the way which often hurt the amount of work we could complete for the project. We believe our path while designing this project looked something like this:

The Main Parts:
The idea: While brainstorming for our idea we shifted from variety of plans we had such as word document, casino site and a monopoly without graphics into our final idea, the idea to create a full functioning monopoly game using graphics. This idea was the winning idea because as a group we are all familiar with monopoly and we believed that in processing we could make a cool and complex game with animations in compare to pycharm, in which we couldn’t show the user the board or share the program with other …show more content…

We also wrote a lot of pseudo code to come up with the most efficient way to develop our code before actually writing it.

Selling: Selling was really complicated to implement because we had to read all the properties, figure out which ones are owed by the current players and if the user was hovering over that property.
We used a for loop that looped through each property and would check if the users mouse was on our near that properties coordinates. We then made it grey if they owned it and red if they did not. We ended up making a cool akgrotime for this code in only 30 lines, instead of a piece of code that would have contained around 40 if statements (spaghetti code).
Houses
We end up using Object Oriented and inheritance for this part. We also made it much easier by having the user land on the property to buy a house, rather than buying it whenever, which would have had us code a drag and drop for the houses. This is something we might add during the summer (for fun) to make our code much more fun and interactive.
Programming in processing was not an easy shift from using pycharm because the environment is less

Get Access