by Ostap Pelekh, STU FEI, Applied Informatics, 1.bc
This is monopoly game with Text-based UI (ncurses.h)
Become the wealthiest player through buying and renting property and force other players into bankruptcy.
Each time a player passes over START the player is paid a $2 salary.
When a player lands on an unowned property they have to buy that property at its printed price.
When a player lands on a property owned by another player, the owner collects rent.
A player can be sent to jail when they land on "GO TO JAIL". The player has to pay 1$ to get out of jail. If the player doesn't have 1$ to pay he will bankrupt and the game ends.
Just a free location with no reward or pentaly.
If the player has all properties of the same color he has a monopoly and receives double rent.
When the player has 0 cash they are bankrupt and out.
You can choose number of players and Your player. Dice values for each player (except for Your player) are generated randomly. You will have to write a dice value for your player manually.
Follow game prompts and instructions.
-
clone repository
-
cd into repository folder
-
run (sets up CMAKE Project)
make setup
-
run (runs game)
make
<ctrl+c> to exit game immediately