Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 398 Bytes

registered_names.md

File metadata and controls

19 lines (13 loc) · 398 Bytes

OpenSpiel functions: registered_names

Back to Core API reference

registered_names()

Returns a list of short names of all game in the library. These are names that can be used when loading games in load_game.

Examples:

import pyspiel

# Print the name of all OpenSpiel games
for short_name in pyspiel.registered_names():
  print(short_name)