# SAMPLE ARMY PARAMETER FILE #

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



#### Generic Match Scope Parameters ####
match.0.type=Army
match.0.groupSize=2
match.0.maxRounds=1
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

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

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

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

# 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


######### ARMY Specific Match Scope Parameters ############

# The players are placed onto a numRows by numCols grid
match.0.numRows=8
match.0.numCols=8

match.0.player.0=<html><font color=\"red\"> RED &#x25CF;</font></html>
match.0.player.0.symbol=<html><font color=\"red\">&#x25CF;</font></html>
match.0.player.0.startingPosition=3,3
match.0.player.1=<html><font color=\"green\"> GREEN &#x25CF;</font></html>
match.0.player.1.symbol=<html><font color=\"green\">&#x25CF;</font></html>
match.0.player.1.startingPosition=6,6

# Payoffs:  Each player starts with x points.  
# x =army
# y = value of tree
# z = value of volcanoes
# Starting payoff of green: army = x, tree = y, volcano = 0
# Starting payoff of red: army = x, tree = 0, volcano = z
# Final payoff of green: army = x, tree = [y if below or equal to red / 0 if strictly
#     above red], volcano = [z if strictly left of red / 0 if equal or right of red]
# Final payoff of red: army = x, tree = [y if strictly below green / 0 if above or
#     equal green], volcano = [z if equal or left of green / 0 if strictly right of green]
match.0.x=10
match.0.y=5
match.0.z=5


# For the payoff calculation above, how many squares (left,right,above,below) to make the comparison by
#  EXAMPLE:
#    match.0.payoffComparison=any:    if one player is any number of squares left right up down from the other, the condition triggers
#    match.0.payoffComparison=2:       if one player is exactly 2 squares (left,right,above,below) the other, the condition triggers
match.0.payoffComparison=any

# the images shown up the sides of the grid of boxes
match.0.treesImage=..\\plugins\\army\\images\\trees6.jpg
match.0.mountainsImage=..\\plugins\\army\\images\\volcano6.jpg

match.0.treesIcon=..\\plugins\\army\\images\\treeIcon.jpg
match.0.mountainsIcon=..\\plugins\\army\\images\\volcanoIcon.jpg

# whether or not to show the a final payoff update screen at the end of the final round of this match
match.0.showFinalScreen=false

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

# The text at the top of the screen telling them which player they are
match.0.gui.playerText=<html>YOU ARE PLAYER %ownName%</html>

# the label of the "OK" button
match.0.gui.okButtonLabel=OK

# The label shown beneath the army graph telling instructions.
#  OLD: match.0.gui.chooseText=<html><p>The graph shows the position of your army [%ownName%] and that of the other player [%otherName%].  You can change your position to any cell on the grid and the other player will do the same.</p><br><p>You start with 5 tokens and tokens can be added or subtracted.</p><br><p><ul><li>You take 2 tokens from the other player if you set your army exactly 2 cells closer to the mountains than him.</li><li>You lose 2 tokens to the other player if you set your army exactly 2 cells farther away from the forest than him</li></ul></p></html>
match.0.gui.chooseText1.1=<html><p>Tree Leader: <font style="font-size:28px;" color=\"green\">&#x25CF;</font><font style="font-size:28px;">=%x%</font></p></html>
match.0.gui.chooseText2.1=<html><p><font style="font-size:28px;">=%y%</font></p></html>
match.0.gui.chooseText3.1=<html><p><font style="font-size:28px;">=0</font></p></html>

match.0.gui.chooseText1.0=<html><p>Volcano Leader: <font style="font-size:28px;" color=\"red\">&#x25CF;</font><font style="font-size:28px;">=%x%</font></p></html>
match.0.gui.chooseText2.0=<html><p><font style="font-size:28px;">=0</font></p></html>
match.0.gui.chooseText3.0=<html><p><font style="font-size:28px;">=%z%</font></p></html>

match.0.gui.chooseTextTotal=<html><p>Total: <font style="font-size:28px;">%total%</font></p></html>

# The label shown on the screen after a player clicks the okButton
match.0.gui.waitText=<html>WAIT</html>

# The text displayed on the screen which updates the players on the outcome of the game
match.0.gui.updateText1.1=<html><p>Tree Leader: <font style="font-size:28px;" color=\"green\">&#x25CF;</font><font style="font-size:28px;">=%x%</font></p></html>
match.0.gui.updateText2.1=<html><p><font style="font-size:28px;">=%treesWinnings%</font></p></html>
match.0.gui.updateText3.1=<html><p><font style="font-size:28px;">=%mountainsWinnings%</font></p></html>

match.0.gui.updateText1.0=<html><p>Volcano Leader: <font style="font-size:28px;" color=\"red\">&#x25CF;</font><font style="font-size:28px;">=%x%</font></p></html>
match.0.gui.updateText2.0=<html><p><font style="font-size:28px;">=%treesWinnings%</font></p></html>
match.0.gui.updateText3.0=<html><p><font style="font-size:28px;">=%mountainsWinnings%</font></p></html>

match.0.gui.updateTextTotal=<html><p><font style="font-size:28px;">Total: %payoff%</font></p></html>

# if showFinalScreen=true, the text shown after the final round of the match
match.0.gui.finalText=<html>Your total pay for the session so far is %totalPay%</html>

match.0.repetitions=5
