open_spiel icon indicating copy to clipboard operation
open_spiel copied to clipboard

Game Statistic Analyzer Utility

Open Shafwansafi06 opened this issue 2 months ago • 3 comments

This adds a game_stats.py utility that prints basic structural statistics of any OpenSpiel game (state count, branching factor, depth, etc.). It helps users compare game complexity across environments.

Shafwansafi06 avatar Nov 01 '25 08:11 Shafwansafi06

@lanctot can you explain the build error I am facing in PR so that I can test before PR

Shafwansafi06 avatar Nov 05 '25 19:11 Shafwansafi06

@lanctot can you explain the build error I am facing in PR so that I can test before PR

Hi @Shafwansafi06,

Thank you for all the contributions!

Sorry there will be a delay in responding because I'm a bit overloaded at the moment.

Let me take a quick look.

lanctot avatar Nov 12 '25 16:11 lanctot

I think it is related to this: https://github.com/google-deepmind/open_spiel/pull/1390#issuecomment-3522887868

If you look at the commit list for this PR, it includes some changes from your other PRs.

It's easier to hangle if you keep the PRs separated / independent (i.e. different branches from the master branch).

lanctot avatar Nov 12 '25 16:11 lanctot