The documentation speaks about custom Envs and references the FroetzEnvironment, however, it does not seem to be in the source code anymore: https://textworld.readthedocs.io/en/stable/notes/custom_env.html
a. Particularly it references: from textworld.envs import FrotzEnvironment
How can one load a Z-Machine game using textworld and gym. Particularly, is something like this possible, or what is necessary for this to be possible:
# Register a text-based game as a new Gym's environment.
env_id = textworld.gym.register_game("zork1.z5")
env = gym.make(env_id) # Start the environment.
How would one use the inbuild GitGlulxEnv or JeriochoEnv to register a game with gym?
Which type of games are compatible with GitGlulxEnv and JeriochoEnv (e.g. a source repository of compatible game files)
Question & Comments:
The documentation speaks about custom Envs and references the
FroetzEnvironment
, however, it does not seem to be in the source code anymore: https://textworld.readthedocs.io/en/stable/notes/custom_env.html a. Particularly it references:from textworld.envs import FrotzEnvironment
How can one load a Z-Machine game using
textworld
andgym
. Particularly, is something like this possible, or what is necessary for this to be possible:How would one use the inbuild
GitGlulxEnv
orJeriochoEnv
to register a game withgym
?Which type of games are compatible with
GitGlulxEnv
andJeriochoEnv
(e.g. a source repository of compatible game files)@MarcCote