TextWorld¶
- class textworld.envs.tw.TextWorldEnv(infos=None)[source]¶
Bases:
textworld.core.EnvironmentEnvironment for playing games by TextWorld.
- Parameters
infos (
Optional[EnvInfos]) – Information to be included in the game state. By default, only the game’s narrative is included.
- copy()[source]¶
Return a copy of this environment.
It is safe to call
stepandreseton the copied environment.Warning
The
GameandInform7Gameprivate objects are soft copies.- Return type