Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I have a C++ code about CLI version of Monopoly. I really need your help! Please help me complete it all. I believe in you!
I have a C++ code about CLI version of Monopoly. I really need your help! Please help me complete it all. I believe in you! Thank you so much! I posted the project requirements below the code pictures!
Here are my code:
Board.h
Board.cpp
Card.h
Card.cpp
Player.h
Player.cpp
Property.h
Property.cpp
Main
Here are my project requires: A CLI version of Monopoly. The program should use OO design, and accomplish the following:
- Moving two players (both human controlled) around the board
- Buying properties (including utilities and railroads) and charging rent
- Jail, Income Tax, and Luxury Tax
- Bankruptcy and property mortgaging
Cards:
- Level 1 Implement both Chance and Community Chest cards. They can be the real cards from the game or have effects of your choosing.
- Level 2 Create a new type of Card that can reside in a player inventory and be used at any point during the player turn. Effects are of your choosing.
Houses:
- Level 1 Allow the player to build houses on each property they own. Cost of houses and increases to rent are specified by the game. At this level, any amount of houses (up to four) can be built on any owned property.
- Level 2 Follow the real Monopoly house rules. Houses must be evenly distributed between sets of properties. Hotels can be built after maxing out houses on all properties in a set.
Multiplayer:
- Level 1 Add support for up to six players.
AI:
- Level 1 Allow players to be controlled by AI. The AI can make decisions randomly.
- Level 2 Add some intelligence to your AI. The AI should make buying/selling decisions based on some strategy.
Trading:
- Level 1 Allow players to trade properties. Make sure multiple-for-one trades are possible.
Auctions:
- Level 1 Implement the property auction rules when a player lands on a space but does not wish to purchase it.
Battle:
- Level 1 When players land on the same space, implement a simple turn-based battle system. Base player stats on number of houses and properties owned. Winner gets X% of the losers money.
- Level 2 Allow players to attack owned properties. This should start a simple battle mini-game. Difficulty should be based on the defending players stats, as described in LV1. If the attacker wins, s/he should be allowed to acquire the property for 2x standard cost.
- Level 3 Allow players to build a new type of structure on squares turrets. Turrets significantly decrease the chance of losing a property to attack.
Doubles:
- Level 1 Implement the extra turn for rolling doubles and three doubles in a row lands you in jail rules.
Railroad Travel:
- Level 1 Allow players that land on railroads to travel to any other owned Railroad instead of rolling. If you pass Go, do not collect $200.
Cheats:
- Level 1 Add in a cheats menu to speed up game-play and enable testing of various functions
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started