Displays all dominant strategy equilibria for a n-player game which takes input from a .nfg file
Language: python3
Modules:
- sys
- numpy
- itertools
The approach uses brute-force method. It iterates over each player one by one. In the ith iteration it finds the best action si for all possible values of the strategy S-i of all other players. If the interesction of si for all possible S-i is null for any player then no dominant strategy equilibrium exists else atleast one exists.
The complexity is O(N * A).
where N is the number of players
and A is the product of the number of actions available to each player
./run <input file> <output file>
Atirek Kumar
Github handle: atirek-ak