Game

Game Extensiveform

When using the Extensiveform Steptype, you can define the nodes as well as the edges to visualize a decision tree to the participants. You can also connect your tree to the actual decision and allow participants to make their decision by selecting the chosen edge inside the graph.

 

Example Code

Nodes Textarea:

[
  {
    "id": "a",
    "label": "Which do you prefer?",
    "bg": "#008000",
    "shape": "rectangle"
  },
  {
    "id": "b",
    "label": "$400"
  },
  {
    "id": "c",
    "label": "Coin flip",
    "bg": "#800000",
    "shape": "ellipse"
  },
  {
    "id": "d",
    "label": "$2,000"
  },
  {
    "id": "e",
    "label": "-$1,000"
  }
]

Edges Textarea:

[
  {
    "source": "a",
    "target": "b",
    "label": "Out"
  },
  {
    "source": "a",
    "target": "c",
    "label": "In"
    
  },
  {
    "source": "c",
    "target": "d",
    "label": "Don't Roll",
    "gameType": "choice",
    "gameValue": "dontroll"
  },
  {
    "source": "c",
    "target": "e",
    "label": "Roll",
    "gameType": "choice",
    "gameValue": "roll"
  },
  {
    "source": "e",
    "target": "f",
    "label": "Success (50%)"
  },
  {
    "source": "e",
    "target": "g",
    "label": "Failure (50%)"
  }
]

Graph Options Textarea:

{
    "zoom": 0.7
}

 

Simply copy the stated code above to the mentioned input fields in the Game Tab of the Step. The letters stated in the “source” and “target” inputs for the edges are referring to the id of the defined nodes. The “gameType” as well as the “gameValue” are defined for the actual decision edges. This is the information that will be saved upon decisionmaking.

 

Visualization

Game Extensiveform - Decision

 

 

Strategic Bomb-Risk Game

This steptype is our version of the risk elicitation Bomb-Risk Game. The interface contains a specific number of icons, behind one of these icons is a bomb. The participant has to decide how many icons to open. Based on this choice, if the bomb was opened, the participant gets no payoff, otherwise he will get a specified amount for each opened icon.

Game Bomb Risk _ Example

You have the possibility to decide the amount of fields (width / height) and the table width and height. You may also decide, whether the game results should be displayed to the participants or not. These options are specified within the Game Tab.

 

Game Bomb Risk _ Form

 

In the Form tab, the input’s type should be defined, whether as a slider or a text input, and based on your choice, you will have to define other parameters. For example, the slider orientation and its color. If you choose a slider, you can set the stepsize in the Processing Tab.

 

Game Bomb Risk _ Game