# SAMPLE BARGAINING PARAMETER FILE #
# 

### Experiment Scope Parameters ###
exp.id=60
numOfMatches=3



#### Generic Match Scope Parameters ####
match.0.type=Bargaining
match.0.groupSize=3
match.0.maxRounds=999
match.0.exchangeRate=1.0

# show total payoff on the history panel[true|false]
match.0.showTotalPayoff=false

#[totalrandom|random|zipper|rr|continue|fixed|RiskAversion]
match.0.matching=totalrandom
match.1.matching=fixed

# show the match ending display dialog [true|false]
match.0.displayFinishedInfo=false

# History panel display mode [full|tabbed]
match.0.defaultView=tabbed

# Whether to allow user switch history panel display modes [true|false]
match.0.viewSwitchable=false

# Whether to show the round number in the history panel (generally turn off if running single round matches)
match.0.showRoundNumber=false

# Whether or not the 0th match is a practice match or not.  Payoffs for 
# practice matches are not included in a participant's total
match.0.practice=false


######### DBARG Specific Match Scope Parameters ############

# the minimum and maximum values that subjects will be able to propose
match.0.minProposal=0
match.0.maxProposal=100

# the number of spaces wanted underneath the slider between numbers
#   for example if you have minProposal=0 and maxProposal=100 then a
#   numberSpacing of 10 would have the numbers 0,10,20,30,40,50,60,70,80,90, and 100 
#   labelled.
match.0.numberSpacing=10


# the actual state of the world for the match.
# IF match.X.state=random 
#    then the values are randomly chosen based on the values in the match.X.distribution property
match.0.state=0

# -only used when match.X.state=random
# The distribution used when generating random states
match.0.stateDistribution=0.5,0.5

# The scheme by which the first proposer in each match is chosen
# [rotation|random|last]
#    rotation:  if group member 1 was the first proposer in the last match, 
#               group member 2 will be the first proposer in this match
#    random:    the first proposer in each match is chosen based on the distribution 
#               specified in the firstDistribution metadata value below
#    last:      the group member whose proposal was the winner in the previous match
#               will be the first proposer in this match
match.0.firstMethod=random

# -only used when match.X.firstMethod=random
# the distribution used when generating random first proposers
match.0.firstDistribution=0.333,0.333,0.333

# Since the first proposer in the first match cannot be chosen by 
# the above methods, the first overall proposer is chosen randomly, 
# by the distribution below
match.0.overallFirstDistribution=0.333,0.333,0.333

# The scheme by which subsequent proposers in a match are chosen
# (a comma-delimited list of digits, from 1 to groupSize)
#    rotation:  lists the order in which the cycling through proposers will
#               progress
#    example (for groupsize 4):  
#       match.X.cycleOrder=1,3,4,2
#
# ???????  <--- need to hear from stephanie whether this rotation can
#               be random or not
match.0.cycleOrder=1,2,3

# the number of votes required for the motion-to-vote-on-a-proposal vote to pass
match.0.mvotesRequired=2

# the votes required is the number of of votes required for a proposal to pass
match.0.votesRequired=2

# the method used to determine whether the match continues after each vote
# [manual|auto]
#    manual:  A dialog box appears on the server controller asking whether to 
#             end the match or continue voting (presumably with a monitor rolling dice
#             to determine whether to end or not)
#     auto:   The computer randomly picks whether to end or not, based on a probability 
#             parameter delta
match.0.continueMethod=manual

# the probability with which the match will continue after each vote
# (ONLY USED WHEN continueMethod=auto !!!!)
match.0.delta=0.5

# [quadratic|linear|logarithmic]
# quadratic:
#  A - B*( (1-r0)^2 + (r1)^2 ) if the state is state 0
#  A - B*( (1-r1)^2 + (r2)^2 ) if the state is state 1
# 
# linear:
#  r0 if the state is state 0
#  r1 if the state is state 1
#
# logarithmic:
#  A + B*log(r0) if the state is state 0
#  A + B*log(r1) if the state is state 1
#
#
match.0.payoffType=linear
# the payoff coefficients are only used in quadratic and logarithmic payoffTypes
match.0.payoffCoeffA=65
match.0.payoffCoeffB=0
#Note, if CoeffB=0 then they just receive a fixed payment



####### GUI Parameters #######

# whether or not the GUI will zero-index player numbers
#    true:  zero-index player numbers in the GUI
#    false: one-index player numbers in the GUI
#
match.0.gui.zeroIndex=false


#the following variables can be used in the GUI parameters below this line:
#  %playerNum% - the player number of the actual player
#  %yesLabel% - the text entered for the yesButtonLabel
#  %noLabel% - the text entered for the noButtonLabel
#
match.0.gui.proposeTopLabel=<html><p>You are player %playerNum%.</p><p>Please make your proposal.</p></html>
match.0.gui.proposeInstrLabel=<html>Please move the slider below to to value which you wish to make your proposal, and click the button below to accept that value as your proposal.</html>

#the following variables can be used in the GUI parameters below this line:
#  %proposer% - the player number of the person whose provisional 
#               proposal was chosen to be the actual proposal
#  %proposal% - the name of the proposal chosen by the proposer
#  %sqName% - the name of the policy which is the current status quo
#  %numRequired% - the number of votes required for a proposal to pass
#  %vote% - the text of the label from the button that the player voted with ("yes" or "no" most cases)
#
match.0.gui.motionTopLabel=<html><p>You are player %playerNum%</p><p>The proposer for this round was player %proposer%.</p><p>The proposer chose a proposal with value %proposal%</p></html>
match.0.gui.motionInstrLabel=<html><p>Please click the button below corresponding to your choice on <br>whether you would like to vote on this proposal.</p></html>

match.0.gui.voteTopLabel=<html><p>You are player %playerNum%</p><p>The proposer for this round was player %proposer%.</p><p>The proposer chose a proposal with value %proposal%</p></html>
match.0.gui.voteInstrLabel=<html><p>Please click the button below corresponding to your vote on this proposal.</p></html>

match.0.gui.motionButtonLabel=Move to Vote
match.0.gui.noMotionButtonLabel=Do Not Move to Vote
match.0.gui.yesButtonLabel=Accept Proposal
match.0.gui.noButtonLabel=Reject Proposal
match.0.gui.yesButtonLabelAbbreviation=Acc
match.0.gui.noButtonLabelAbbreviation=Rej

match.0.gui.waitLabel=<html>You voted \"%vote%\".  Please wait until everyone votes for the match to continue...</html>

#the following variables can be used in the GUI parameters below this line:
#  %yesVotes% - the number of group members who voted 'yes'
#  %noVotes% - the number of group members who voted 'no'
#  %winningProposal% - the name of the proposal which was the final accepted proposal
#                      (or the status quo if all rounds of voting were 'no')
#  %payoff% - the player's payoff for the winning proposal.
#
match.0.gui.updatePassLabel=<html><p>You are player %playerNum%.</p><p>There were %yesVotes% yes votes and %noVotes% no votes.</p><p>Since %numRequired% votes are required for a proposal to pass, the proposal passed.</p></html>
match.0.gui.updateNotPassLabel=<html><p>You are player %playerNum%.</p><p>There were %yesVotes% yes votes and %noVotes% no votes.</p><p>Since %numRequired% votes are required for a proposal to pass, the proposal did not pass.</p></html>
match.0.gui.payoffLabel=<html><p>You received your payoff value from %winningProposal%:  <font color="green">%payoff%</font></p></html>
match.0.gui.updateMNotPassLabel=<html><p>You are player %playerNum%.</p><p>There were %yesVotes% yes votes and %noVotes% no votes.</p><p>Since %mNumRequired% votes are required for the motion to pass, the motion did not pass.</p><p>There will be no voting this round, please wait for the next round to begin.</p></html>

### HISTORY PANEL PROPERTIES ###
match.0.gui.showRound=true
match.0.gui.showYourNumber=true
match.0.gui.yourNumberHLabel=Your Player Number
match.0.gui.showActualProposal=true
match.0.gui.actualProposalHLabel=Proposal
match.0.gui.showProposer=true
match.0.gui.proposerHLabel=Proposer
match.0.gui.showYourVote=true
match.0.gui.yourVoteHLabel=Your Vote
match.0.gui.showVoteTotal=true
match.0.gui.voteTotalHLabel=Vote Totals
match.0.gui.showOutcome=true
match.0.gui.outcomeHLabel=Outcome
match.0.gui.showPayoff=true
match.0.gui.payoffHLabel=Payoff

match.0.repetitions=3
match.3.displayFinishedInfo=true




