Skip to content

Commit a871e3c

Browse files
print description directly from catalog game
1 parent 8fbe66f commit a871e3c

1 file changed

Lines changed: 25 additions & 5 deletions

File tree

doc/tutorials/02_extensive_form.ipynb

Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1134,11 +1134,31 @@
11341134
"metadata": {},
11351135
"source": [
11361136
"Some games in the catalog have configurable parameters.\n",
1137-
"For example, the `OneShotTrust` game has the `unique_NE_variant` parameter, which makes Trust a dominant strategy, replacing the\n",
1138-
" non-singleton equilibrium component from the standard version of the game\n",
1139-
" where the Buyer plays \"Not Trust\" and the seller can play any mixture with\n",
1140-
" < 0.5 probability on Honor with a unique NE where the Buyer plays Trust and\n",
1141-
" the Seller plays Abuse."
1137+
"For example, the `OneShotTrust` game has the `unique_NE_variant` parameter, which is explained in the game's description:"
1138+
]
1139+
},
1140+
{
1141+
"cell_type": "code",
1142+
"execution_count": 21,
1143+
"id": "2933061a-a2eb-4ca7-8ce3-f350bc0678ce",
1144+
"metadata": {},
1145+
"outputs": [
1146+
{
1147+
"name": "stdout",
1148+
"output_type": "stream",
1149+
"text": [
1150+
"\n",
1151+
" The unique_NE_variant makes Trust a dominant strategy, replacing the\n",
1152+
" non-singleton equilibrium component from the standard version of the game\n",
1153+
" where the Buyer plays \"Not Trust\" and the seller can play any mixture with\n",
1154+
" < 0.5 probability on Honor with a unique NE where the Buyer plays Trust and\n",
1155+
" the Seller plays Abuse.\n",
1156+
" \n"
1157+
]
1158+
}
1159+
],
1160+
"source": [
1161+
"print(catalog.OneShotTrust.description)"
11421162
]
11431163
},
11441164
{

0 commit comments

Comments
 (0)