AbingtonHeightsSoftwareClub / Monopoly

Monopoly
0 stars 6 forks source link

Added Ownership System #10

Closed TankTheTortoise closed 1 month ago

TankTheTortoise commented 1 month ago

I added in Jack's ownership idea. I also kept the Game class without any terminal based logic to keep it clean for the website port.

Players and properties are identified through their integer id. The Property class now has a property called owner. It is an integer field. It is either the id of the player who owns it or -1 if it is not owned.