egtaonline / egta_online

A web interface for conducting empirical game theoretic studies on a cluster.
6 stars 3 forks source link

add/remove new strategies to game #18

Closed qduong closed 12 years ago

qduong commented 12 years ago

The "add new strategy" feature for a simulator helps to schedule simulations with new strategies. In order to analyse the game that has those new strategies, I need to add these strategies to an existing game, whose json will then be downloaded for game analysis. Would you mind adding the feature to add and remove strategies to an existing game? (just like the feature to add/remove strategies to an existing simulator?)

bcassell commented 12 years ago

This functionality is now deployed.

qduong commented 12 years ago

What is the syntax? (url)

bcassell commented 12 years ago

I don't know if you posted this before or after I sent my email, but in brief it's just like for simulators, except replace the word simulators with the word games, and if you are adding a role, make sure you pass the parameter 'count' to specify how many players are in that role. Sometime soon I'll have to officially add docs for the API.