MMTS Architectural Object-Oriented Design. MMTS +int main(String[] args) GameController +playGame() -List board -Player[] players Player -void bankrupt()

Slides:



Advertisements
Similar presentations
Continuation of chapter 6…. Nested while loop A while loop used within another while loop is called nested while loop. Q. An illustration to generate.
Advertisements

Cash Flow 101 Instructions
Carryover Allocations and the 10% Test IPED Housing Tax Credits 101 October 16-17, 2008 By: Catherine E. Tenney, Esq.
Check Writing All About Checks.
Picture It Very Basic Game Picture Pepper. Original Game import java.util.Scanner; public class Game { public static void main() { Scanner scan=new Scanner(System.in);
Craps. /* * file : Craps.java * file : Craps.java * author: george j. grevera, ph.d. * author: george j. grevera, ph.d. * desc. : program to simulate.
Lesson 1: Renting a Home Consumer Math p
UNIT 7: CONSUMER SKILLS Section 4: Buying a House.
IKI 10100: Data Structures & Algorithms Ruli Manurung (acknowledgments to Denny & Ade Azurat) 1 Fasilkom UI Ruli Manurung (Fasilkom UI)IKI10100: Lecture22.
Financial Algebra © Cengage/South-Western Slide RENTALS, CONDOMINIUMS, AND COOPERATIVES Compute costs of purchasing a cooperative or a condominium.
A Ludo game langa kattai
Modified Monopoly. Version I All players start with $1500. All players receive $200 when passing GO (Salary). Normal rules apply.
Consumer Math p Definitions  Down payment – part of the price paid at the time of purchase  Financed – borrowed  Mortgage – a property loan.
Unit Home Ownership Learning Objectives: Understand the three requirements to buy a home How to calculate debt-to-income ratios Realize how home.
A Game Of Strategy … Or Luck? Serene Li Hui Heng Xiaojun Jiang Cheewei Ng Li Xue Alison Then Team 5, MS&E220 Autumn 2008.
Unit 261 Introduction to Searching and Sorting Comparable Interface Comparator Interface Algorithm Complexity Classes Exercises.
Unit 261 Introduction to Searching and Sorting Comparable Interface Comparator Interface Algorithm Complexity Classes Exercises.
1 Topic 4 Inheritance "Question: What is the object oriented way of getting rich? Answer: Inheritance.“
Monopoly Information for Assignment. Game Management Subsystem Game manager Deregister player Edit game View games Set up game > View game state Start.
Managing Your Money Personal Finance. Disposable Income.
“Real” Monopoly. NEW RULES Along with the original rules we know and love, there will be a few new ones… – There are now Presidents! – Welfare! – Economic.
Check Writing All About Checks. Check Writing Checks include the following information:
BUDGETING 101 BROUGHT TO YOU BY SFA. BUDGETING: WHAT, HOW, WHEN, AND WHY WHAT: To plan expenditures for everyday life HOW: WE WILL SHOW YOU! WHEN: Everyone.
Lucky Candies Probability Game By: Laura Santa Maria Isabella Moreno.
MMTS Interface Design Description. Interface for command line usage java.\Monopoly -h Usage: Monopoly [options] options: -gNUMPlay NUM games with the.
Compute costs of purchasing a cooperative or a condominium. Understand the advantages and disadvantages of different forms of homes. Slide 1 OBJECTIVES.
Date Submission: January 29, 2011 Submitted by: Syeda Khushbakth Rizvi Syed Hasan Asghar Submitted to: Ms. Quratul-Ain Nizam-ud-din Rajput DATA STRUCTURES.
KINDY 500 RACE TO THE FINISH USING MENTAL MATH & MATH TOOLS Created by Matt Cash
Naďa Heráková. Chess The classic board game for two players in the form of competition also considered the sport sector. It represents the clash of two.
MMTS Interface Requirements Specification. Interface for command line usage java.\Monopoly Usage: Monopoly … options: -g number of games to play with.
Arrays (Part 1) Computer Science Erwin High School Fall 2014.
You are going to work in pairs to produce a Maths board game.
Check Writing All About Checks.
Housing Options Chapter 13, Types of housing…
Unit 6 Games. The Difference Game Materials –4 decks of cards number –40 pennies One player shuffles the number cards and places them with the numbers.
Check Writing All About Checks. Check Writing Checks include the following information:
Check Writing All About Checks. Check Writing Checks include the following information:
Java - Classes JPatterson. What is a class? public class _Alpha { public static void main(String [] args) { } You have been using classes all year – you.
Monopoly Transaction Practice1 Monopoly Transaction Practice! Start of game with $1500.
Using Checks And Other Payment Methods
Snakes & Ladders Nicola Deacon. SNAKES & LADDERS Beginning at START, each player throws the dice in turn to move their counters around the board. If land.
Mathopoly! Created by: Rebecca A. Maupin March 25, 2013.
CSE 143 Lecture 18 More Recursive Backtracking slides created by Marty Stepp
Victoria Manning. My Game Instructions: Pick a playing piece from the recycled materials. The players will go in order from youngest to oldest (youngest.
Billion Dollar Baby Game Created By: Timmy Drzewinski Edwin McCracken.
DO Now: Turn in Walmart reflection sheets on Ms. van den Berg’s desk then sit down quietly.
CS12230 Introduction to Programming Extra example– More on responsibilities 1.
Do Now- Copy the following definitions ** 6 mins until this slide is removed** Interest- is the charge for the privilege of borrowing money, typically.
Check Writing All About Checks. Check Writing Checks include the following information:
New Ways of Thinking The economic ideas that are shaping the world.
China Government’s specific rules set to tighten control of property market. -Amid expectations of rising housing prices, China’s central government rolled.
Check Writing All About Checks. Check Writing Checks include the following information:
PROBABILITY How to win at Monopoly. Flipping a Coin Will a flipped coin be HEADS or TAILS? Can’t know for sure! Is one more LIKELY?
Investing in Real Estate SS.4.FL.1.5 People can earn income by renting their property to other people. SS.4.FL.4.2 Identify instances when people use credit,
Designing Classes Lab. The object that you brought to class Put it in the basket we will exchange them now.
HOUSING: TO RENT OR BUY? RENTING AN APARTMENT 1. LEASE- the contract created by the property owner stating rules and expectations of the renter for the.
Private Commercial Note Buyers You can sell a commercial owner financed mortgage note It is just like selling a promissory note on a residential property.
 Freedom of use (remodel)  Privacy  Usually a good investment; expected to rise in value  Income tax benefits  Could improve your credit rating 
Presidential Mania 2-4 players ages 9+ Object: to travel around the board, and reach the White House. Contents: 1 presidential game-board, 4 colorful pieces,
An interesting item involving maths-MONOPOLY
using System; namespace Demo01 { class Program
Volume: Working Backwards
Personal Finance Quiz Mortgage vs Rent.
Building Java Programs
How to play Reading card Chance card Dice. How to play Reading card Chance card Dice.
CS18000: Problem Solving and Object-Oriented Programming
References and Objects
class PrintOnetoTen { public static void main(String args[]) {
Money Management.
Back & Forth A board game Need … Could be used for: game board
Presentation transcript:

MMTS Architectural Object-Oriented Design

MMTS +int main(String[] args) GameController +playGame() -List board -Player[] players Player -void bankrupt() -void improve() +void pay(int amount) +void updatePosition(Space newPos) -int id -int money -Space position -Card outOfJailChance -Card outOfJailChest Space [See Later Slide] Bank +void pay(int amount) Entity +void purchase() +void payRent(Entity payer, int amount) -List properties BankruptcyException -Player bankrupt -Player payee -int rentOwed Exception

Space -name: String FreeParking +land() IncomeTax +land() Rentable +land() -Entity owner -int[] rent Go, Just Visiting, Luxury Tax, “Rent” Card > Groupable +land() -int groupSize -String group Railways, Utilities > Java.util.comparable Mortgagable +land() +isMortgaged() +mortgage() +unMortgage() +compareTo() -boolean mortgage Housable +land() +hasHotel() +improve(Player owner) +int disprove() +int houses +int housePrice Normal Properties > GroupRent +land() GetOutOfJail +land() GoToJail +land() Go to Jail Space and Card > Movement +land() e.g. “Move to Boardwalk” Pass Go Rules Always Apply >

CommunityChestDeck +shuffle() +draw() +remove() +insert() -cards: List > Dice +getDice() +roll() -Dice: Dice[] > ChanceDeck +shuffle() +draw() +remove() +insert() -cards: List >

Report -int mostMoneyHeld[] -int totalNetIncome[] -int totalGrossExpenses[] -int totalNetWorth[] -int highestGrossIncomeInTurn[] -int highestGrossExpensesInTurn[] -int boardCounts[] -int roundsPlayed[] -int propertiesMortgaged; -int propertiesUnmortgaged; -int rentsCollected[] -int timesSentToJail[] -int chanceDrawn[] -int chestDrawn[] -List propertiesOwned[] -int housesBought[]; -int hotelsbought[]; -int doublesRolled[]; + void reset() + void generateReport() + void boughtProperty() + void assessedRent() + void assessedTax() + void purchasedHouse() + void purchasedHotel() + void purchasedProperty() + void mortgagedProperty() + void unmortgagedProperty() + void sentToJail(Player player) + void drewChance(Player player) + void drewCommunityChest(Player player) + void rolledDoubles(Player player) >