Skip to content

Added Property Management System with Monopoly Rules#17

Merged
aji70 merged 3 commits into
SaboStudios:mainfrom
0xNgoo:property_mngt
Jun 7, 2025
Merged

Added Property Management System with Monopoly Rules#17
aji70 merged 3 commits into
SaboStudios:mainfrom
0xNgoo:property_mngt

Conversation

@0xNgoo

@0xNgoo 0xNgoo commented Jun 4, 2025

Copy link
Copy Markdown
Contributor

Added complete property management system to Blockoopoly with proper Monopoly game rules.

New Features:

  • Property ownership tracking and monopoly detection
  • Rent collection with monopoly bonuses (double rent for unimproved monopolies)
  • Property development with even building rules across property groups
  • Property value calculations including mortgaged properties
  • Batch property generation for easier game setup
  • Property templates with standard Monopoly board data

Events Added:

  • PropertyPurchased, PropertyMortgaged, PropertyUnmortgaged
  • RentCollected, PropertyDeveloped events for game tracking

Improvements:

  • Better property buying validation and error handling
  • Enhanced mortgage/unmortgage system with 10% interest
  • Development constraints that follow official Monopoly rules
  • Comprehensive test suite covering all new features

Closes #11

@0xNgoo

0xNgoo commented Jun 4, 2025

Copy link
Copy Markdown
Contributor Author
Screenshot 2025-06-04 at 4 36 59 PM

@aji70

aji70 commented Jun 4, 2025

Copy link
Copy Markdown
Contributor

6 tests are failing
try and check the main repo i merged something yesterday

@aji70 aji70 merged commit 4d58095 into SaboStudios:main Jun 7, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Property Management & Ownership

2 participants