Skip to main content
POST
/
quantlib
/
economics
/
games
/
classic
Load Classic Game
curl --request POST \
  --url https://finceptbackend.share.zrok.io/quantlib/economics/games/classic \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "game_name": "prisoners_dilemma"
}
'
{
  "success": true,
  "data": {
    "game": "prisoners_dilemma",
    "pure_nash_equilibria": [
      [
        1,
        1
      ]
    ]
  }
}

Authorizations

X-API-Key
string
header
required

API key for authentication. Get your key at https://finceptbackend.share.zrok.io/auth/register

Body

application/json
game_name
enum<string>
required

Name of the classic game to load

Available options:
prisoners_dilemma,
battle_of_sexes,
chicken,
stag_hunt,
matching_pennies
Example:

"prisoners_dilemma"

Response

Successful Response

success
boolean
Example:

true

data
object