Project for PIC 10C (Monopoly Game)
The current version does not have a UI. The project right now contains plenty of unit tests and can display how the game runs on the console
- Copyright: Public domain.
- Filename: player.h, player.cpp, player.ui, gameslot.h, gameslot.cpp, gameslot.ui, chance.h, chance.cpp, monopoly.h, monopoly.cpp, monopoly.ui, main.cpp, monopoly.pro
- Purpose: This project aims to simulate the game Monopoly, when UI finished users can play the game
- player.h, player.cpp and player.ui are for the class Player and functions associated with behaviors of players in games
- gameslot.h, gameslot.cpp and gameslot.ui are for the class and functions in charge of the game board
- chance.h, chance.cpp, chance.ui contain class and functions for the Chance and Community Chest cards
- main.cpp is the main program and contains unit tests
- Assembler: SidShi
- Contact: Tianyi Shi shitianyisid@gmail.com
- Last update: 12/4/2016
-
Player lands on the correct slot when dice rolled & rolling counter works well
- seed 1 gives 6 and 6, 5 and 5, 6 and 5
- seed 2 gives 4 and 3
-
When rolling counter increments to 3, whether the player goes to jail
-
When player goes around, whether landing on the right position
-
Roll different cannot get out of jail
-
Roll same can get out of jail
-
Use jail free card can get out of jail
-
The third round can get out of jail no matter what rolled
-
One railroad is purchased
-
Another railroad is purchased
-
One Utility is purchased
-
Another Utility is purchased
-
One household is purchased
-
Another household is purchased
-
Go past GO and see if receiving 200
-
if on GO TO JAIL whether to jail
-
visiting jail option
-
If landing on slots can be purchased
-
If landing on own households
-
If landing on other people's households/railroads/utility
-
If landing on Community Chest
seed: 2 gives 11, 3 gives 14, 4 gives 0, 5 gives 3, 6 gives 7 -
If landing on Chance
seed: 11 gives 2, then gives 1 -
Cards that move player
-
Cards that change money generally
-
Cards that change money according to houses
-
Cards that move people to utilities