-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgame_rules.json
32 lines (32 loc) · 941 Bytes
/
game_rules.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
"rules": [
{
"action1": "cooperate",
"action2": "cooperate",
"outcome1": 1,
"outcome2": 1,
"description": "Both players cooperated. Each gets 1 year in prison."
},
{
"action1": "defect",
"action2": "cooperate",
"outcome1": 0,
"outcome2": 3,
"description": "Player 1 defects. Player 1 goes free, Player 2 gets 3 years."
},
{
"action1": "cooperate",
"action2": "defect",
"outcome1": 3,
"outcome2": 0,
"description": "Player 2 defects. Player 2 goes free, Player 1 gets 3 years."
},
{
"action1": "defect",
"action2": "defect",
"outcome1": 2,
"outcome2": 2,
"description": "Both players defect. Each gets 2 years in prison."
}
]
}