30 likes | 140 Vues
This document outlines the architectural design of the MMTS (Monopoly Modified Trading System) implemented in Java. It details the Game Controller, which facilitates game flow, and incorporates key game mechanics such as player management, property transactions, and bank operations. Key classes like Deck, Player, and various exceptions (e.g., BankruptcyException) are explained, providing a robust framework for implementing features such as property ownership, fines, taxes, and player interactions. The design also highlights the singleton and abstract patterns used for efficient resource management.
E N D
MMTSArchitectural Designas incorporated into theactual Java Source Code
Card GameController <<static>> MMTS Deck Broker Space <<Abstract>> Entity Exception java.util.random Pit Bank Player BankruptcyException PlayerInformation Ownable Java.util.comparable Go GoToJail LuxuryTax FreeParking IncomeTax Property Groupable <<singleton>> Dice Housable <<singleton>> Report
<<Abstract>> <<static>> Player Card Broker Property Space Movement Transaction BankruptcyException Expense GroupExpense PropertyExpense Income GroupIncome NearestRailroad GetOutOfJailCard GoToJail NearestUtility AbsoluteMovement Bank <<singleton>> Report PlayerInformation CardProxy Deck