MMTS Interface Design Description. Interface for command line usage java.\Monopoly -h Usage: Monopoly [options] options: -gNUMPlay NUM games with the.

Slides:



Advertisements
Similar presentations
A Short Review Arrays, Pointers and Structures. What is an Array? An array is a collection of variables of the same type and placed in memory contiguously.
Advertisements

Cash Flow 101 Instructions
Budgeting Your Money Some Money Facts $ The average person spends money three times a day. $ A movie with popcorn and a soft drink can easily cost $20.
Java Coding 8 David Davenport Computer Eng. Dept., Bilkent University Ankara - Turkey. Object-Oriented Design Example - The.
HUD Compliance Topics June 28, 2012 Michael Hollar Senior Economist U.S. Department of Housing and Urban Development.
Overview Reference parameters Documenting functions A game of craps. Design, code, test and document.
1. (-5) + 5 = ______ (-9) = ______ 3.Justify your answer using the number line above. 4.On the number line above, place the number 7 and it’s opposite.
Card Counting What is it, how does it work, and can I use it to pay for college? (and if it does work, do I even have to go to college?) Jeff O’Connell.
Modified Monopoly. Version I All players start with $1500. All players receive $200 when passing GO (Salary). Normal rules apply.
MATH CLASH Integer Addition Game 1. Player Rules Players must be paired with another person Cards must be evenly divided at the start of the round Players.
© 2005 The McGraw-Hill Companies, Inc., All Rights Reserved McGraw-Hill/Irwin Slide 1 CHAPTER NINE INTRODUCTION TO INCOME- PRODUCING PROPERTIES: LEASES.
A Game Of Strategy … Or Luck? Serene Li Hui Heng Xiaojun Jiang Cheewei Ng Li Xue Alison Then Team 5, MS&E220 Autumn 2008.
MMTS Architectural Object-Oriented Design. MMTS +int main(String[] args) GameController +playGame() -List board -Player[] players Player -void bankrupt()
Java Coding 8 David Davenport Computer Eng. Dept., Bilkent University Ankara - Turkey. Object-Oriented Design Examples.
Monopoly Information for Assignment. Game Management Subsystem Game manager Deregister player Edit game View games Set up game > View game state Start.
Object Specification Moving towards a more precise specification of software.
NDopoly! Group Members: Jason Lacher Matthew Fallon Project: “NDopoly” a Notre Dame version of the board game Monopoly tm.
Managing Your Money Personal Finance. Disposable Income.
EXAMPLE 2 Adding Integers Find the sum 12 + – – 4 = 8 – Different signs, so subtract |4| from | 12|. – Use sign of number with greater absolute.
“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.
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.
 It’s a great feeling when you buy your first house, but it comes with expenses that you didn’t have to worry about when you rented  Despite having more.
Chapter 16 How to Read, Analyze, and Interpret Financial Reports McGraw-Hill/Irwin Copyright © 2011 by the McGraw-Hill Companies, Inc. All rights reserved.
PING PONG (Table Tennis)
1 Project 5: Median. 2 The median of a collection of numbers is the member for which there are an equal number less than or equal and greater than or.
Date Submission: January 29, 2011 Submitted by: Syeda Khushbakth Rizvi Syed Hasan Asghar Submitted to: Ms. Quratul-Ain Nizam-ud-din Rajput DATA STRUCTURES.
Section 11.6 Odds and Expectation Math in Our World.
Managing Business Finance
Computing and the Web Simulation. Overview n Reasons for Simulation n Building a Model n Monopoly Game Simulation n SimCity Simulation n Design of Computer.
MMTS Interface Requirements Specification. Interface for command line usage java.\Monopoly Usage: Monopoly … options: -g number of games to play with.
Template by Bill Arcuri, WCSD Who Wants to Be a Millionaire?
 Credit  Equity  Credit: the ability to borrow money in return for a promise of future repayment. Future repayment usually includes interest.
Budgeting Personal Finance. Financial Planning Net Worth Income Expenditures Unplanned Expenditures Debt Savings.
Collect into groups of 2-3 students and create a team name related to Business.
 Power Grid game play. Player roles  Game leader: This person will keep track of turns, player order, and game phases  Banker: This person keeps track.
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.
Rolling Two Number Cubes Good practice for addition of numbers in primary. Play some games – See who is the first one to fill all the boxes 2-12 on their.
Warm Up 8/13. Lesson 4: Efficiently Adding Integers and Other Rational Numbers Objectives I can interpret sums of rational numbers by describing real-world.
© 2010 by Cengage Learning Chapter 27/ Chapter 25 ________________ Investing in Real Estate.
Chapter 12 Property Management.  The role of the property manager is to manage the property with the objective of securing the highest net return for.
Accounting: Financial Statements!! BBI 2O1. The Balance Sheet Shows a business’s financial position on a particular date The Balance Sheet Equation –
Note: The following presentation gives a brief overview of the NanoVenture rules. However, this presentation is not comprehensive. Players are encouraged.
Project 2 Mobile Game: Hexagon Zhong Zou, Joseph Ferrara EE194 WIR.
Loops (cont.). Loop Statements  while statement  do statement  for statement while ( condition ) statement; do { statement list; } while ( condition.
Monopoly Transaction Practice1 Monopoly Transaction Practice! Start of game with $1500.
Do Now Activity: Answer the following questions:- 1.What is Profit? 2.What is Cost of Sales? 3.What is an Expense?
User Interface Design TRASE Project Software Engineering Fall 2008.
 Credit  Equity  Credit: the ability to borrow money in return for a promise of future repayment. Future repayment usually includes interest.
Life Plan Project Student Name. Career Career - Education - National Average Earnings -
Jeopardy Money Whatz that…? Work Out Time Guns and Roses Odds and Ends Q $100 Q $200 Q $300 Q $400 Q $500 Q $100 Q $200 Q $300 Q $400 Q $500 Final Jeopardy.
MMTS Use Case Diagram 1. Choose Number of Players in each Game (2-6) 3. Choose to End Game After n Players Go Bankrupt Software User 4. Choose Option to.
DO Now: Turn in Walmart reflection sheets on Ms. van den Berg’s desk then sit down quietly.
Beginning C For Engineers Fall 2005 Lecture 3: While loops, For loops, Nested loops, and Multiple Selection Section 2 – 9/14/05 Section 4 – 9/15/05 Bettina.
DO NOW Why would a house in Queens, that is smaller in size with smaller yard, be more expensive than a bigger house in Long Island? COMMERCIAL REAL ESTATE.
New Ways of Thinking The economic ideas that are shaping the world.
Spin for Expressions Materials: – Plus/minus spinner – A number cube – Expression playing cards Pass out all the expression cards FACE DOWN. The dealer.
Bell Ringer 1/20/16 Make a list of some items you would like to purchase in the next few years Take out homework. We need to go over it.
100 Jeopardy Integer Add/SubMiscellaneous Integer Mult/DivideWord Problems Advanced.
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,
Personal Finance Unit: Real World Project. (Description)  (Picture)
1000 account #’s Assets 2000 account #’s Liabilities 3000 account #’s Equity 4000 account #’s Income 5000 account #’s Expense J& B Things you Own Cash,
The promise to pay money in exchange for the right to receive goods and services now. Examples Personal Loans Mortgages. Credit Cards Lines of credit.
Chapter 7 User-Defined Methods.
How to Read, Analyze, and Interpret Financial Reports
FIN 467 Competitive Success/snaptutorial.com
FIN 467 Education for Service/snaptutorial.com
The Random Class and its Methods
Multiplying and Dividing Integers
P 72 (PDF 76) Figure 32 Information item name Rules in columns
HERE’S A PREVIEW….
Presentation transcript:

MMTS Interface Design Description

Interface for command line usage java.\Monopoly -h Usage: Monopoly [options] options: -gNUMPlay NUM games with the same set of rules. By default, NUM is 1. -pNUMPlay each game with NUM players, where NUM is an integer from 2 to 6 inclusive. By default, NUM is 2. -rNUMPlay at most NUM rounds. A negative number indicates that the game will continue until only 1 player is left. By default, NUM is -1. -bNUMgame ends when NUM players go bankrupt. By default, NUM is 1. -jCauses players to not receive rent while in jail. -hDisplay this help and exit.

Restriction on Input Parameters For integers g, p, r, b: g ∈ [1, INT_MAX] Error message: g must be a positive integer p ∈ [2, 6] Error message: p must be an integer between 2 and 6 inclusive r ∈ [INT_MIN, INT_MAX] Error message: r must be an integer b ∈ [p-1, 5] Error message: b must be between 1 and p-1 ({p-1}) inclusive

Interface for command line usage java.\Monopoly –g 3 –p 3 –b 3 -j b must be between 1 and p-1 (2) inclusive java.\Monopoly –g 3 –p 3 –b 2 -j Ends when 2 players declare bankruptcy Jail rules activated Game 1 started Game 1 completed Game 2 started Game 2 completed Game 3 started Game 3 completed Collecting statistics and producing report

Report Formatting

Report Format The following slide shall be the report format for each game played. All games played shall be put into one single report output. All report output will be directed to stdout.

###################################### Game report ###################################### Per Player Statistics Player#| 1 | 2 | 3 | Rounds in game| 41 | 1 | 12 Max Money| $41 | $2 | $11 Net Income| $41 | $3 | $10 Total Expenses| $41 | $4 | $9 Highest Net Worth| $41 | $5 | $8 Highest Gross Income| $41 | $6 | $7 # of Property Groups Owned| 41 | 7 | 6 Times In Jail| 41 | 8 | 5 Total Cards Drawn| 41 | 9 | 4 Houses Purchased| 41 | 10 | 3 Hotels Purchased| 41 | 11 | 2 Doubles Rolled| 41 | 12 | 1 Game statistics Average money in player hand: Number of times properties were mortgaged: Number of times properties were unmortgaged :

Game space(board order) Total # times landed on Game space(descending order) Total # times landed on Property that collected the most rent: Property Group that collected the most rent: Listing of properties owned by player Player: