TextWorld
latest
What is TextWorld?
Known Issues
Scripts:
tw-play
tw-make
tw-view
tw-extract
Challenges:
A Simple Game
Coin Collector
The Cooking Game
Treasure Hunter
Package:
textworld
textworld.gym
textworld.envs
textworld.agents
textworld.generator
textworld.challenges
textworld.logic
textworld.render
textworld.utils
TextWorld
Index
Edit on GitHub
Index
A
|
B
|
C
|
D
|
E
|
F
|
G
|
H
|
I
|
J
|
K
|
L
|
M
|
N
|
O
|
P
|
Q
|
R
|
S
|
T
|
U
|
V
|
W
|
X
A
act() (textworld.agents.human.HumanAgent method)
(textworld.agents.random.NaiveAgent method)
(textworld.agents.random.RandomCommandAgent method)
(textworld.agents.simple.NaiveAgent method)
(textworld.agents.walkthrough.WalkthroughAgent method)
(textworld.core.Agent method)
(textworld.gym.core.Agent method)
Action (class in textworld.logic)
action (textworld.generator.chaining.ChainNode attribute)
(textworld.generator.game.ActionDependencyTreeElement property)
action() (textworld.logic.parser.GameLogicSemantics method)
ActionDependencyTree (class in textworld.generator.game)
ActionDependencyTreeElement (class in textworld.generator.game)
ActionNode (class in textworld.logic.model)
actionPrecondition() (textworld.logic.parser.GameLogicSemantics method)
ActionPreconditionNode (class in textworld.logic.model)
actions (textworld.generator.chaining.Chain attribute)
(textworld.generator.game.Event property)
add() (textworld.generator.maker.WorldEntity method)
(textworld.logic.TypeHierarchy method)
add_content() (textworld.render.render.GraphItem method)
add_fact() (textworld.generator.maker.GameMaker method)
(textworld.generator.maker.WorldEntity method)
(textworld.generator.world.World method)
(textworld.logic.State method)
add_facts() (textworld.generator.world.World method)
(textworld.logic.State method)
add_item() (textworld.render.render.GraphRoom method)
add_property() (textworld.generator.maker.WorldEntity method)
add_related_fact() (textworld.generator.world.WorldEntity method)
add_unknown_predicate() (textworld.render.render.GraphItem method)
added (textworld.logic.Action property)
(textworld.logic.Rule property)
adj (textworld.generator.game.EntityInfo attribute)
admissible_commands (textworld.core.EnvInfos attribute)
Agent (class in textworld.core)
(class in textworld.gym.core)
aggregate() (textworld.generator.logger.GameLogger method)
Alias (class in textworld.logic)
alias() (textworld.logic.parser.GameLogicSemantics method)
AliasNode (class in textworld.logic.model)
all_applicable_actions() (textworld.logic.State method)
all_assignments() (textworld.logic.State method)
all_instantiations() (textworld.logic.State method)
all_predicates (textworld.logic.Rule property)
all_propositions (textworld.logic.Action property)
allowed_types (textworld.generator.chaining.ChainingOptions attribute)
allowed_variables_numbering (textworld.generator.text_grammar.GrammarOptions attribute)
ambiguous_instructions (textworld.generator.text_grammar.GrammarOptions attribute)
ancestors (textworld.logic.Type property)
apply() (textworld.logic.State method)
apply_on_copy() (textworld.logic.State method)
are_facts() (textworld.logic.State method)
arguments (textworld.logic.model.PropositionNode attribute)
(textworld.logic.Proposition attribute)
assign_description_to_object() (in module textworld.generator.text_generation)
assign_description_to_quest() (in module textworld.generator.text_generation)
assign_description_to_room() (in module textworld.generator.text_generation)
assign_name_to_object() (in module textworld.generator.text_generation)
assign_new_matching_names() (in module textworld.generator.text_generation)
B
backward (textworld.generator.chaining.ChainingOptions attribute)
basics (textworld.core.EnvInfos property)
blend_descriptions (textworld.generator.text_grammar.GrammarOptions attribute)
blend_instructions (textworld.generator.text_grammar.GrammarOptions attribute)
breadth (textworld.generator.chaining.ChainNode attribute)
build() (textworld.generator.maker.GameMaker method)
C
Chain (class in textworld.generator.chaining)
chaining (textworld.generator.game.GameOptions attribute)
ChainingOptions (class in textworld.generator.chaining)
ChainNode (class in textworld.generator.chaining)
change_grammar() (textworld.generator.game.Game method)
check() (textworld.generator.text_grammar.Grammar method)
check_action() (textworld.generator.chaining.ChainingOptions method)
check_flag() (in module textworld.utils)
check_modules() (in module textworld.utils)
check_new_variable() (textworld.generator.chaining.ChainingOptions method)
CHEST (textworld.generator.vtypes.VariableTypeTree attribute)
child_types (textworld.logic.Type property)
children (textworld.logic.Type property)
chunk() (in module textworld.utils)
CLASS_HOLDER (textworld.generator.vtypes.VariableTypeTree attribute)
clean_replace_objs() (in module textworld.generator.text_generation)
close() (textworld.core.Environment method)
(textworld.core.Wrapper method)
(textworld.envs.glulx.git_glulx.GitGlulxEnv method)
(textworld.envs.wrappers.viewer.HtmlViewer method)
(textworld.envs.zmachine.jericho.JerichoEnv method)
(textworld.gym.envs.textworld_batch.TextworldBatchGymEnv method)
closure() (textworld.logic.TypeHierarchy method)
code (textworld.logic.model.Inform7CodeNode attribute)
collect() (textworld.generator.logger.GameLogger method)
command (textworld.logic.model.Inform7CommandNode attribute)
command_templates (textworld.core.EnvInfos attribute)
(textworld.generator.game.Game property)
commands (textworld.generator.game.Event property)
(textworld.generator.game.Quest property)
(textworld.logic.model.Inform7CommandsNode attribute)
compile() (textworld.generator.maker.GameMaker method)
compile_game() (in module textworld.generator)
compile_inform7_game() (in module textworld.generator.inform7.world2inform7)
completable (textworld.generator.game.QuestProgression property)
completed (textworld.generator.game.GameProgression property)
(textworld.generator.game.QuestProgression property)
compress_policy() (textworld.generator.game.EventProgression method)
concat_images() (in module textworld.render.render)
condition (textworld.generator.game.Event attribute)
(textworld.logic.model.ActionPreconditionNode attribute)
(textworld.logic.model.RulePreconditionNode attribute)
conjunctiveQuery() (textworld.logic.parser.GameLogicSemantics method)
connect() (in module textworld.generator.world)
(textworld.generator.maker.GameMaker method)
constraints (textworld.logic.model.ConstraintsNode attribute)
constraints() (textworld.logic.parser.GameLogicSemantics method)
ConstraintsNode (class in textworld.logic.model)
copy() (textworld.core.EnvInfos method)
(textworld.core.Environment method)
(textworld.core.GameState method)
(textworld.core.Wrapper method)
(textworld.envs.tw.TextWorldEnv method)
(textworld.envs.wrappers.filter.Filter method)
(textworld.envs.zmachine.jericho.JerichoEnv method)
(textworld.generator.chaining.ChainingOptions method)
(textworld.generator.dependency_tree.DependencyTree method)
(textworld.generator.game.ActionDependencyTree method)
(textworld.generator.game.Event method)
(textworld.generator.game.EventProgression method)
(textworld.generator.game.Game method)
(textworld.generator.game.GameOptions method)
(textworld.generator.game.GameProgression method)
(textworld.generator.game.Quest method)
(textworld.generator.game.QuestProgression method)
(textworld.generator.text_grammar.GrammarOptions method)
(textworld.logic.State method)
CouldNotCompileGameError
count() (textworld.generator.vtypes.VariableTypeTree method)
CountOrderedDict (class in textworld.generator.text_generation)
create() (textworld.generator.world.WorldEntity class method)
create_data_files() (in module textworld.generator.data)
create_map() (in module textworld.generator.graph_networks)
create_small_map() (in module textworld.generator.graph_networks)
create_variables (textworld.generator.chaining.ChainingOptions attribute)
D
default() (textworld.generator.data.KnowledgeBase class method)
define_inform7_kinds() (textworld.generator.inform7.world2inform7.Inform7Game method)
definite (textworld.generator.game.EntityInfo attribute)
definition (textworld.logic.model.Inform7TypeNode attribute)
DependencyTree (class in textworld.generator.dependency_tree)
DependencyTreeElement (class in textworld.generator.dependency_tree)
depends_on() (textworld.generator.dependency_tree.DependencyTreeElement method)
(textworld.generator.game.ActionDependencyTreeElement method)
depth (textworld.generator.chaining.ChainNode attribute)
desc (textworld.generator.game.EntityInfo attribute)
(textworld.generator.game.Quest attribute)
descendants (textworld.logic.Type property)
descendants() (textworld.generator.vtypes.VariableTypeTree method)
describe_event() (in module textworld.generator.text_generation)
description (textworld.core.EnvInfos attribute)
deserialize() (textworld.generator.data.KnowledgeBase class method)
(textworld.generator.game.EntityInfo class method)
(textworld.generator.game.Event class method)
(textworld.generator.game.Game class method)
(textworld.generator.game.Quest class method)
(textworld.generator.text_grammar.GrammarOptions class method)
(textworld.generator.vtypes.VariableType class method)
(textworld.generator.vtypes.VariableTypeTree class method)
(textworld.generator.world.World class method)
(textworld.logic.Action class method)
(textworld.logic.GameLogic class method)
(textworld.logic.Placeholder class method)
(textworld.logic.Predicate class method)
(textworld.logic.Proposition class method)
(textworld.logic.Rule class method)
(textworld.logic.State class method)
(textworld.logic.Variable class method)
detect_action() (textworld.generator.inform7.world2inform7.Inform7Game method)
direction() (in module textworld.generator.graph_networks)
directions_names (textworld.generator.game.Game property)
display_command_during_render (textworld.core.Environment property)
(textworld.core.Wrapper property)
display_stats() (textworld.generator.logger.GameLogger method)
document() (textworld.logic.parser.GameLogicSemantics method)
DocumentNode (class in textworld.logic.model)
done (textworld.generator.game.EventProgression property)
(textworld.generator.game.GameProgression property)
(textworld.generator.game.QuestProgression property)
door (textworld.generator.maker.WorldPath property)
E
east (textworld.generator.maker.WorldRoom attribute)
empty (textworld.generator.dependency_tree.DependencyTree property)
encode() (textworld.render.serve.ServerSentEvent method)
encode_seeds() (in module textworld.utils)
entities (textworld.core.EnvInfos attribute)
(textworld.generator.world.World property)
entity_names (textworld.generator.game.Game property)
EntityInfo (class in textworld.generator.game)
EnvInfoMissingError
EnvInfos (class in textworld.core)
Environment (class in textworld.core)
Event (class in textworld.generator.game)
event (textworld.logic.model.Inform7CommandNode attribute)
EventProgression (class in textworld.generator.game)
ExitAlreadyUsedError
expand() (textworld.generator.text_grammar.Grammar method)
(textworld.logic.Alias method)
expand_clean_replace() (in module textworld.generator.text_generation)
extras (textworld.core.EnvInfos attribute)
extremes() (in module textworld.generator.graph_networks)
F
facts (textworld.core.EnvInfos attribute)
(textworld.generator.maker.GameMaker property)
(textworld.generator.maker.WorldEntity property)
(textworld.generator.maker.WorldPath property)
(textworld.generator.world.World property)
(textworld.logic.State property)
facts_with_signature() (textworld.logic.State method)
fail_events (textworld.generator.game.Quest property)
fail_facts (textworld.core.EnvInfos attribute)
failed (textworld.generator.game.GameProgression property)
(textworld.generator.game.QuestProgression property)
FailedConstraintsError
feedback (textworld.core.EnvInfos attribute)
file_ext (textworld.generator.game.GameOptions attribute)
Filter (class in textworld.envs.wrappers.filter)
find_by_name() (textworld.generator.maker.GameMaker method)
find_free_port() (in module textworld.render.serve)
find_object_by_id() (textworld.generator.world.World method)
find_path() (textworld.generator.maker.GameMaker method)
find_room_by_id() (textworld.generator.world.World method)
findall() (textworld.generator.maker.GameMaker method)
finish() (textworld.core.Agent method)
fix_determinant() (in module textworld.generator.text_grammar)
fixed_mapping (textworld.generator.chaining.ChainingOptions property)
flatten() (textworld.generator.game.ActionDependencyTree method)
force_recompile (textworld.generator.game.GameOptions attribute)
format_command() (textworld.logic.Action method)
from_facts() (textworld.generator.world.World class method)
from_map() (textworld.generator.world.World class method)
G
g_rng (in module textworld.utils)
Game (class in textworld.generator.game)
game (textworld.core.EnvInfos attribute)
game_running (textworld.envs.glulx.git_glulx.GitGlulxEnv property)
(textworld.envs.zmachine.jericho.JerichoEnv property)
GameLogger (class in textworld.generator.logger)
GameLogic (class in textworld.logic)
GameLogicBuffer (class in textworld.logic.parser)
GameLogicModelBuilderSemantics (class in textworld.logic.model)
GameLogicParser (class in textworld.logic.parser)
GameLogicSemantics (class in textworld.logic.parser)
GameMaker (class in textworld.generator.maker)
GameNotRunningError
GameOptions (class in textworld.generator.game)
GameProgression (class in textworld.generator.game)
GameState (class in textworld.core)
gen() (textworld.render.serve.Server method)
gen_commands_from_actions() (in module textworld.generator.game)
(textworld.generator.inform7.world2inform7.Inform7Game method)
gen_layout() (in module textworld.generator.graph_networks)
gen_source() (textworld.generator.inform7.world2inform7.Inform7Game method)
gen_source_for_attribute() (textworld.generator.inform7.world2inform7.Inform7Game method)
gen_source_for_attributes() (textworld.generator.inform7.world2inform7.Inform7Game method)
gen_source_for_conditions() (textworld.generator.inform7.world2inform7.Inform7Game method)
gen_source_for_map() (textworld.generator.inform7.world2inform7.Inform7Game method)
gen_source_for_objects() (textworld.generator.inform7.world2inform7.Inform7Game method)
gen_source_for_rooms() (textworld.generator.inform7.world2inform7.Inform7Game method)
generate_distractors() (textworld.generator.maker.GameMaker method)
generate_inform7_source() (in module textworld.generator.inform7.world2inform7)
generate_instruction() (in module textworld.generator.text_generation)
generate_name() (textworld.generator.text_grammar.Grammar method)
generate_random_quests() (textworld.generator.maker.GameMaker method)
generate_text_from_grammar() (in module textworld.generator.text_generation)
GenerationWarning
get() (textworld.logic.TypeHierarchy method)
get_action_chains() (in module textworld.generator.text_generation)
get_all_adjective_for_type() (textworld.generator.text_grammar.Grammar method)
get_all_expansions_for_tag() (textworld.generator.text_grammar.Grammar method)
get_all_expansions_for_type() (textworld.generator.text_grammar.Grammar method)
get_all_names_for_type() (textworld.generator.text_grammar.Grammar method)
get_all_nouns_for_type() (textworld.generator.text_grammar.Grammar method)
get_all_objects_in() (textworld.generator.world.World method)
get_ancestors() (textworld.generator.vtypes.VariableTypeTree method)
get_attributes() (textworld.generator.world.WorldEntity method)
get_chains() (in module textworld.generator.chaining)
get_description() (textworld.generator.vtypes.VariableTypeTree method)
get_entities_per_type() (textworld.generator.world.World method)
get_facts_in_scope() (textworld.generator.world.World method)
get_failing_constraints() (in module textworld.generator.maker)
get_html_template() (in module textworld.render.serve)
get_human_readable_action() (textworld.generator.inform7.world2inform7.Inform7Game method)
get_human_readable_fact() (textworld.generator.inform7.world2inform7.Inform7Game method)
get_matching() (textworld.utils.RegexDict method)
get_max_depth() (textworld.render.render.GraphItem method)
get_new() (in module textworld.generator.vtypes)
get_objects_in_inventory() (textworld.generator.world.World method)
get_path() (in module textworld.generator.graph_networks)
get_random_expansion() (textworld.generator.text_grammar.Grammar method)
get_reverse_action() (textworld.generator.data.KnowledgeBase method)
get_rules() (textworld.generator.chaining.ChainingOptions method)
get_visible_objects_in() (textworld.generator.world.World method)
get_vocabulary() (textworld.generator.text_grammar.Grammar method)
get_webdriver() (in module textworld.render.render)
GitGlulxEnv (class in textworld.envs.glulx.git_glulx)
Grammar (class in textworld.generator.text_grammar)
grammar (textworld.generator.game.GameOptions attribute)
GrammarOptions (class in textworld.generator.text_grammar)
graph2state() (in module textworld.generator.world)
GraphItem (class in textworld.render.render)
GraphRoom (class in textworld.render.render)
H
has_property() (textworld.generator.maker.WorldEntity method)
has_subtype_named() (textworld.logic.Type method)
has_supertype_named() (textworld.logic.Type method)
has_tag() (textworld.generator.text_grammar.Grammar method)
has_variable() (textworld.logic.State method)
HtmlViewer (class in textworld.envs.wrappers.viewer)
HumanAgent (class in textworld.agents.human)
I
id (textworld.generator.game.EntityInfo attribute)
(textworld.generator.maker.WorldEntity property)
(textworld.generator.world.WorldEntity property)
import_graph() (textworld.generator.maker.GameMaker method)
include_adj (textworld.generator.text_grammar.GrammarOptions attribute)
indefinite (textworld.generator.game.EntityInfo attribute)
independent_chains (textworld.generator.chaining.ChainingOptions attribute)
index() (textworld.render.serve.Server method)
inform7() (textworld.logic.parser.GameLogicSemantics method)
inform7Code() (textworld.logic.parser.GameLogicSemantics method)
Inform7CodeNode (class in textworld.logic.model)
Inform7Command (class in textworld.logic)
inform7Command() (textworld.logic.parser.GameLogicSemantics method)
Inform7CommandNode (class in textworld.logic.model)
inform7Commands() (textworld.logic.parser.GameLogicSemantics method)
Inform7CommandsNode (class in textworld.logic.model)
Inform7Game (class in textworld.generator.inform7.world2inform7)
Inform7Logic (class in textworld.logic)
Inform7Node (class in textworld.logic.model)
inform7Part() (textworld.logic.parser.GameLogicSemantics method)
Inform7Predicate (class in textworld.logic)
inform7Predicate() (textworld.logic.parser.GameLogicSemantics method)
Inform7PredicateNode (class in textworld.logic.model)
inform7Predicates() (textworld.logic.parser.GameLogicSemantics method)
Inform7PredicatesNode (class in textworld.logic.model)
Inform7Type (class in textworld.logic)
inform7Type() (textworld.logic.parser.GameLogicSemantics method)
Inform7TypeNode (class in textworld.logic.model)
infos (textworld.generator.game.Game property)
(textworld.render.render.GraphItem property)
infos_to_request (textworld.gym.core.Agent property)
initial_state (textworld.generator.chaining.Chain attribute)
instantiate() (textworld.logic.Predicate method)
(textworld.logic.Rule method)
intermediate_reward (textworld.core.EnvInfos attribute)
inventory (textworld.core.EnvInfos attribute)
(textworld.generator.maker.GameMaker attribute)
inverse() (textworld.logic.Action method)
(textworld.logic.Rule method)
is_a() (textworld.logic.Variable method)
is_applicable() (textworld.logic.State method)
is_constant() (textworld.generator.vtypes.VariableTypeTree method)
is_descendant_of() (textworld.generator.vtypes.VariableTypeTree method)
is_distinct_from() (textworld.generator.dependency_tree.DependencyTreeElement method)
(textworld.generator.game.ActionDependencyTreeElement method)
is_fact() (textworld.logic.State method)
is_failing() (textworld.generator.game.Quest method)
is_negation (textworld.logic.Predicate property)
(textworld.logic.Proposition property)
is_seq() (in module textworld.generator.text_generation)
is_sequence_applicable() (textworld.logic.State method)
is_subtype_of() (textworld.logic.Type method)
is_supertype_of() (textworld.logic.Type method)
is_triggering() (textworld.generator.game.Event method)
is_winning() (textworld.generator.game.Quest method)
J
JerichoEnv (class in textworld.envs.zmachine.jericho)
K
kb (textworld.generator.game.GameOptions property)
kind (textworld.logic.model.Inform7TypeNode attribute)
KnowledgeBase (class in textworld.generator.data)
L
last_action (textworld.core.EnvInfos attribute)
last_command (textworld.core.EnvInfos attribute)
leaves_elements (textworld.generator.dependency_tree.DependencyTree property)
leaves_values (textworld.generator.dependency_tree.DependencyTree property)
lhs (textworld.logic.model.AliasNode attribute)
(textworld.logic.model.ReverseRuleNode attribute)
list_to_string() (in module textworld.generator.text_generation)
listen() (textworld.render.serve.Server static method)
load() (textworld.core.Environment method)
(textworld.core.Wrapper method)
(textworld.envs.glulx.git_glulx.GitGlulxEnv method)
(textworld.envs.tw.TextWorldEnv method)
(textworld.envs.zmachine.jericho.JerichoEnv method)
(textworld.generator.data.KnowledgeBase class method)
(textworld.generator.game.Game class method)
(textworld.generator.logger.GameLogger static method)
(textworld.generator.vtypes.VariableTypeTree class method)
(textworld.logic.GameLogic class method)
load_state() (in module textworld.render.render)
load_state_from_game_state() (in module textworld.render.render)
location (textworld.core.EnvInfos attribute)
logic (textworld.generator.chaining.ChainingOptions property)
lost (textworld.core.EnvInfos attribute)
M
main() (in module textworld.logic.parser)
make() (in module textworld.gym.utils)
make_game() (in module textworld.generator)
make_game_with() (in module textworld.generator)
make_grammar() (in module textworld.generator)
make_map() (in module textworld.generator)
make_quest() (in module textworld.generator)
make_small_map() (in module textworld.generator)
make_temp_directory() (in module textworld.utils)
make_world() (in module textworld.generator)
make_world_with() (in module textworld.generator)
mark_doors() (in module textworld.generator.graph_networks)
match() (textworld.logic.Predicate method)
(textworld.logic.Rule method)
max_breadth (textworld.generator.chaining.ChainingOptions attribute)
max_depth (textworld.generator.chaining.ChainingOptions attribute)
max_length (textworld.generator.chaining.ChainingOptions attribute)
max_score (textworld.core.EnvInfos attribute)
(textworld.generator.game.Game property)
maybe_mkdir() (in module textworld.utils)
MergeAction (class in textworld.generator.text_generation)
min_breadth (textworld.generator.chaining.ChainingOptions attribute)
min_depth (textworld.generator.chaining.ChainingOptions attribute)
min_length (textworld.generator.chaining.ChainingOptions attribute)
MissingPlayerError
MissingTextGrammar
ModelBase (class in textworld.logic.model)
module
textworld
textworld.agents
textworld.agents.human
textworld.agents.random
textworld.agents.simple
textworld.agents.walkthrough
textworld.challenges.coin_collector
textworld.challenges.cooking
textworld.challenges.simple
textworld.challenges.treasure_hunter
textworld.core
textworld.envs
textworld.envs.glulx
textworld.envs.glulx.git_glulx
textworld.envs.tw
textworld.envs.wrappers
textworld.envs.wrappers.filter
textworld.envs.wrappers.recorder
textworld.envs.wrappers.viewer
textworld.envs.zmachine
textworld.envs.zmachine.jericho
textworld.generator
textworld.generator.chaining
textworld.generator.data
textworld.generator.dependency_tree
textworld.generator.game
textworld.generator.graph_networks
textworld.generator.inform7
textworld.generator.inform7.world2inform7
textworld.generator.logger
textworld.generator.maker
textworld.generator.text_generation
textworld.generator.text_grammar
textworld.generator.vtypes
textworld.generator.world
textworld.gym
textworld.gym.envs
textworld.gym.envs.textworld
textworld.gym.envs.textworld_batch
textworld.gym.envs.utils
textworld.gym.utils
textworld.logic
textworld.logic.model
textworld.logic.parser
textworld.render
textworld.render.render
textworld.render.serve
textworld.utils
move() (textworld.generator.maker.GameMaker method)
moves (textworld.core.EnvInfos attribute)
multi_ancestors() (textworld.logic.TypeHierarchy method)
multi_closure() (textworld.logic.TypeHierarchy method)
multi_descendants() (textworld.logic.TypeHierarchy method)
multi_subtypes() (textworld.logic.TypeHierarchy method)
multi_supertypes() (textworld.logic.TypeHierarchy method)
N
NaiveAgent (class in textworld.agents.random)
(class in textworld.agents.simple)
name (textworld.generator.game.EntityInfo attribute)
(textworld.generator.maker.WorldEntity property)
(textworld.generator.world.WorldEntity attribute)
(textworld.generator.world.WorldObject attribute)
(textworld.generator.world.WorldRoom attribute)
(textworld.logic.model.ActionNode attribute)
(textworld.logic.model.PlaceholderNode attribute)
(textworld.logic.model.PredicateNode attribute)
(textworld.logic.model.PropositionNode attribute)
(textworld.logic.model.RuleNode attribute)
(textworld.logic.model.SignatureNode attribute)
(textworld.logic.model.TypeNode attribute)
(textworld.logic.model.VariableNode attribute)
(textworld.logic.Placeholder attribute)
(textworld.logic.Proposition attribute)
(textworld.logic.Signature attribute)
(textworld.logic.Variable attribute)
name() (textworld.logic.parser.GameLogicSemantics method)
names (textworld.logic.Predicate property)
(textworld.logic.Proposition property)
names_to_exclude (textworld.generator.text_grammar.GrammarOptions attribute)
nb_objects (textworld.generator.game.GameOptions attribute)
nb_parallel_quests (textworld.generator.game.GameOptions attribute)
nb_rooms (textworld.generator.game.GameOptions attribute)
negate() (textworld.logic.Predicate method)
(textworld.logic.Proposition method)
new() (textworld.generator.maker.GameMaker method)
new_door() (textworld.generator.maker.GameMaker method)
new_event_using_commands() (textworld.generator.maker.GameMaker method)
new_fact() (textworld.generator.maker.GameMaker method)
new_quest_using_commands() (textworld.generator.maker.GameMaker method)
new_room() (textworld.generator.maker.GameMaker method)
next() (textworld.utils.RandomGenerator method)
nodes (textworld.generator.chaining.Chain attribute)
NoFreeExitError
normalize_rule() (textworld.logic.GameLogic method)
north (textworld.generator.maker.WorldRoom attribute)
NotEnoughNounsError
noun (textworld.generator.game.EntityInfo attribute)
nowhere (textworld.generator.maker.GameMaker attribute)
O
obj_list_to_prop_string() (in module textworld.generator.text_generation)
objective (textworld.core.EnvInfos attribute)
(textworld.generator.game.Game property)
objects (textworld.generator.world.World property)
objects_names (textworld.generator.game.Game property)
objects_names_and_types (textworld.generator.game.Game property)
objects_types (textworld.generator.game.Game property)
only_last_action (textworld.generator.text_grammar.GrammarOptions attribute)
onlyAction() (textworld.logic.parser.GameLogicSemantics method)
onlyPlaceholder() (textworld.logic.parser.GameLogicSemantics method)
onlyPredicate() (textworld.logic.parser.GameLogicSemantics method)
onlyProposition() (textworld.logic.parser.GameLogicSemantics method)
onlyRule() (textworld.logic.parser.GameLogicSemantics method)
onlySignature() (textworld.logic.parser.GameLogicSemantics method)
onlyVariable() (textworld.logic.parser.GameLogicSemantics method)
optional (textworld.generator.game.Quest attribute)
P
parameters (textworld.logic.model.PredicateNode attribute)
parent (textworld.generator.chaining.ChainNode attribute)
parent_types (textworld.logic.Type property)
parse() (textworld.generator.vtypes.VariableType class method)
(textworld.logic.Action class method)
(textworld.logic.GameLogic class method)
(textworld.logic.Placeholder class method)
(textworld.logic.Predicate class method)
(textworld.logic.Proposition class method)
(textworld.logic.Rule class method)
(textworld.logic.Signature class method)
(textworld.logic.Variable class method)
parse_conjunctive_query() (textworld.logic.Rule class method)
parse_variable_types() (in module textworld.generator.vtypes)
parts (textworld.logic.model.Inform7Node attribute)
(textworld.logic.model.TypeNode attribute)
path (textworld.generator.game.GameOptions attribute)
paths (textworld.generator.maker.GameMaker attribute)
phName() (textworld.logic.parser.GameLogicSemantics method)
Placeholder (class in textworld.logic)
placeholder() (textworld.logic.parser.GameLogicSemantics method)
PlaceholderNode (class in textworld.logic.model)
player (textworld.generator.maker.GameMaker attribute)
player_room (textworld.generator.world.World property)
PlayerAlreadySetError
plot_graph() (in module textworld.generator.graph_networks)
policy_commands (textworld.core.EnvInfos attribute)
populate() (textworld.generator.world.World method)
populate_room() (textworld.generator.world.World method)
populate_room_with() (textworld.generator.world.World method)
populate_with() (textworld.generator.world.World method)
port (textworld.envs.wrappers.viewer.HtmlViewer property)
position_string() (textworld.render.render.GraphRoom method)
postconditions (textworld.logic.model.ActionNode attribute)
(textworld.logic.model.RuleNode attribute)
preconditions (textworld.logic.model.ActionNode attribute)
(textworld.logic.model.RuleNode attribute)
Predicate (class in textworld.logic)
predicate (textworld.logic.model.Inform7PredicateNode attribute)
predicate() (textworld.logic.parser.GameLogicSemantics method)
predicateDecls() (textworld.logic.parser.GameLogicSemantics method)
PredicateNode (class in textworld.logic.model)
predicates (textworld.logic.model.Inform7PredicatesNode attribute)
(textworld.logic.model.PredicatesNode attribute)
predicates() (textworld.logic.parser.GameLogicSemantics method)
PredicatesNode (class in textworld.logic.model)
predName() (textworld.logic.parser.GameLogicSemantics method)
preserve (textworld.logic.model.ActionPreconditionNode attribute)
(textworld.logic.model.RulePreconditionNode attribute)
properties (textworld.generator.maker.WorldEntity property)
Proposition (class in textworld.logic)
proposition() (textworld.logic.parser.GameLogicSemantics method)
PropositionNode (class in textworld.logic.model)
push() (textworld.generator.dependency_tree.DependencyTree method)
Q
Quest (class in textworld.generator.game)
quest_breadth (textworld.generator.game.GameOptions property)
quest_depth (textworld.generator.game.GameOptions attribute)
quest_length (textworld.generator.game.GameOptions property)
QuestError
QuestGenerationError
QuestProgression (class in textworld.generator.game)
R
RandomCommandAgent (class in textworld.agents.random)
RandomGenerator (class in textworld.utils)
record_quest() (textworld.generator.maker.GameMaker method)
Recorder (class in textworld.envs.wrappers.recorder)
RegexDict (class in textworld.utils)
register_game() (in module textworld.gym.utils)
register_games() (in module textworld.gym.utils)
relabel() (in module textworld.generator.graph_networks)
remove() (textworld.generator.dependency_tree.DependencyTree method)
(textworld.generator.game.ActionDependencyTree method)
(textworld.generator.maker.WorldEntity method)
remove_fact() (textworld.generator.maker.WorldEntity method)
(textworld.logic.State method)
remove_facts() (textworld.logic.State method)
remove_property() (textworld.generator.maker.WorldEntity method)
removed (textworld.logic.Action property)
(textworld.logic.Rule property)
render() (textworld.core.Environment method)
(textworld.core.Wrapper method)
(textworld.envs.glulx.git_glulx.GitGlulxEnv method)
(textworld.generator.maker.GameMaker method)
(textworld.gym.envs.textworld_batch.TextworldBatchGymEnv method)
repeatable (textworld.generator.game.Quest attribute)
repl_sing_plur() (in module textworld.generator.text_generation)
replace_num() (in module textworld.generator.text_generation)
reset() (textworld.agents.human.HumanAgent method)
(textworld.agents.random.NaiveAgent method)
(textworld.agents.random.RandomCommandAgent method)
(textworld.agents.simple.NaiveAgent method)
(textworld.agents.walkthrough.WalkthroughAgent method)
(textworld.core.Agent method)
(textworld.core.Environment method)
(textworld.core.Wrapper method)
(textworld.envs.glulx.git_glulx.GitGlulxEnv method)
(textworld.envs.tw.TextWorldEnv method)
(textworld.envs.wrappers.filter.Filter method)
(textworld.envs.wrappers.recorder.Recorder method)
(textworld.envs.wrappers.viewer.HtmlViewer method)
(textworld.envs.zmachine.jericho.JerichoEnv method)
(textworld.gym.envs.textworld.TextworldGymEnv method)
(textworld.gym.envs.textworld_batch.TextworldBatchGymEnv method)
restricted_types (textworld.generator.chaining.ChainingOptions attribute)
reverse_direction() (in module textworld.generator.graph_networks)
reverse_rules (textworld.logic.model.ReverseRulesNode attribute)
reverseRule() (textworld.logic.parser.GameLogicSemantics method)
reverseRuleDecls() (textworld.logic.parser.GameLogicSemantics method)
ReverseRuleNode (class in textworld.logic.model)
reverseRules() (textworld.logic.parser.GameLogicSemantics method)
ReverseRulesNode (class in textworld.logic.model)
rhs (textworld.logic.model.AliasNode attribute)
(textworld.logic.model.ReverseRuleNode attribute)
rng (textworld.generator.chaining.ChainingOptions attribute)
rngs (textworld.generator.game.GameOptions property)
room_type (textworld.generator.game.EntityInfo attribute)
rooms (textworld.generator.maker.GameMaker attribute)
(textworld.generator.world.World property)
Rule (class in textworld.logic)
rule (textworld.logic.model.Inform7CommandNode attribute)
rule() (textworld.logic.parser.GameLogicSemantics method)
ruleDecls() (textworld.logic.parser.GameLogicSemantics method)
ruleName() (textworld.logic.parser.GameLogicSemantics method)
RuleNode (class in textworld.logic.model)
rulePrecondition() (textworld.logic.parser.GameLogicSemantics method)
RulePreconditionNode (class in textworld.logic.model)
rules (textworld.logic.model.RulesNode attribute)
rules() (textworld.logic.parser.GameLogicSemantics method)
rules_per_depth (textworld.generator.chaining.ChainingOptions attribute)
RulesNode (class in textworld.logic.model)
S
sample() (textworld.generator.vtypes.VariableTypeTree method)
sample_quest() (in module textworld.generator.chaining)
save() (textworld.generator.game.Game method)
(textworld.generator.logger.GameLogger method)
save_graph_to_svg() (in module textworld.utils)
score (textworld.core.EnvInfos attribute)
(textworld.generator.game.GameProgression property)
seed (textworld.utils.RandomGenerator property)
seed() (textworld.core.Environment method)
(textworld.core.Wrapper method)
(textworld.envs.zmachine.jericho.JerichoEnv method)
(textworld.gym.envs.textworld_batch.TextworldBatchGymEnv method)
seeds (textworld.generator.game.GameOptions property)
serialize() (textworld.generator.data.KnowledgeBase method)
(textworld.generator.game.EntityInfo method)
(textworld.generator.game.Event method)
(textworld.generator.game.Game method)
(textworld.generator.game.Quest method)
(textworld.generator.text_grammar.GrammarOptions method)
(textworld.generator.vtypes.VariableType method)
(textworld.generator.vtypes.VariableTypeTree method)
(textworld.generator.world.World method)
(textworld.logic.Action method)
(textworld.logic.GameLogic method)
(textworld.logic.Placeholder method)
(textworld.logic.Predicate method)
(textworld.logic.Proposition method)
(textworld.logic.Rule method)
(textworld.logic.State method)
(textworld.logic.Variable method)
Server (class in textworld.render.serve)
ServerSentEvent (class in textworld.render.serve)
set_conditions() (textworld.generator.game.Event method)
set_open_closed_locked() (textworld.render.render.GraphItem method)
set_player() (textworld.generator.maker.GameMaker method)
set_player_room() (textworld.generator.world.World method)
set_quest_from_commands() (textworld.generator.maker.GameMaker method)
set_seed() (textworld.utils.RandomGenerator method)
set_walkthrough() (textworld.generator.maker.GameMaker method)
shortest_path() (in module textworld.generator.graph_networks)
shuffled_cycle() (in module textworld.gym.envs.utils)
Signature (class in textworld.logic)
signature (textworld.logic.Proposition attribute)
signature() (textworld.logic.parser.GameLogicSemantics method)
SignatureNode (class in textworld.logic.model)
signatureOrAlias() (textworld.logic.parser.GameLogicSemantics method)
skip() (textworld.gym.envs.textworld_batch.TextworldBatchGymEnv method)
source (textworld.logic.model.Inform7PredicateNode attribute)
south (textworld.generator.maker.WorldRoom attribute)
split_name_adj_noun() (textworld.generator.text_grammar.Grammar method)
split_string() (in module textworld.generator.inform7.world2inform7)
start() (textworld.logic.parser.GameLogicSemantics method)
(textworld.render.serve.Server method)
(textworld.render.serve.VisualizationService method)
start_server() (textworld.render.serve.VisualizationService method)
State (class in textworld.logic)
state (textworld.generator.maker.GameMaker property)
(textworld.generator.world.World property)
stats() (textworld.generator.logger.GameLogger method)
step() (textworld.core.Environment method)
(textworld.core.Wrapper method)
(textworld.envs.glulx.git_glulx.GitGlulxEnv method)
(textworld.envs.tw.TextWorldEnv method)
(textworld.envs.wrappers.filter.Filter method)
(textworld.envs.wrappers.recorder.Recorder method)
(textworld.envs.wrappers.viewer.HtmlViewer method)
(textworld.envs.zmachine.jericho.JerichoEnv method)
(textworld.gym.envs.textworld.TextworldGymEnv method)
(textworld.gym.envs.textworld_batch.TextworldBatchGymEnv method)
stop_server() (textworld.render.serve.VisualizationService method)
str() (textworld.logic.parser.GameLogicSemantics method)
str2bool() (in module textworld.utils)
strBlock() (textworld.logic.parser.GameLogicSemantics method)
subquests (textworld.generator.chaining.ChainingOptions attribute)
subscribe() (textworld.render.serve.Server method)
substitute() (textworld.logic.Predicate method)
(textworld.logic.Rule method)
subtypes (textworld.logic.Type property)
supertypes (textworld.logic.model.TypeNode attribute)
(textworld.logic.Type property)
SUPPORTER (textworld.generator.vtypes.VariableTypeTree attribute)
SupressStdStreams (class in textworld.render.serve)
synonyms (textworld.generator.game.EntityInfo attribute)
T
take() (in module textworld.utils)
take_screenshot() (in module textworld.render.render)
temp_viz() (in module textworld.render.render)
test() (textworld.generator.maker.GameMaker method)
textworld
module
textworld.agents
module
textworld.agents.human
module
textworld.agents.random
module
textworld.agents.simple
module
textworld.agents.walkthrough
module
textworld.challenges.coin_collector
module
textworld.challenges.cooking
module
textworld.challenges.simple
module
textworld.challenges.treasure_hunter
module
textworld.core
module
textworld.envs
module
textworld.envs.glulx
module
textworld.envs.glulx.git_glulx
module
textworld.envs.tw
module
textworld.envs.wrappers
module
textworld.envs.wrappers.filter
module
textworld.envs.wrappers.recorder
module
textworld.envs.wrappers.viewer
module
textworld.envs.zmachine
module
textworld.envs.zmachine.jericho
module
textworld.generator
module
textworld.generator.chaining
module
textworld.generator.data
module
textworld.generator.dependency_tree
module
textworld.generator.game
module
textworld.generator.graph_networks
module
textworld.generator.inform7
module
textworld.generator.inform7.world2inform7
module
textworld.generator.logger
module
textworld.generator.maker
module
textworld.generator.text_generation
module
textworld.generator.text_grammar
module
textworld.generator.vtypes
module
textworld.generator.world
module
textworld.gym
module
textworld.gym.envs
module
textworld.gym.envs.textworld
module
textworld.gym.envs.textworld_batch
module
textworld.gym.envs.utils
module
textworld.gym.utils
module
textworld.logic
module
textworld.logic.model
module
textworld.logic.parser
module
textworld.render
module
textworld.render.render
module
textworld.render.serve
module
textworld.utils
module
TextworldBatchGymEnv (class in textworld.gym.envs.textworld_batch)
TextWorldEnv (class in textworld.envs.tw)
TextworldGymEnv (class in textworld.gym.envs.textworld)
TextworldInform7Warning
theme (textworld.generator.text_grammar.GrammarOptions attribute)
to_dict() (textworld.render.render.GraphItem method)
tracking_quests (textworld.generator.game.GameProgression property)
triggered (textworld.generator.game.EventProgression property)
triggering_policy (textworld.generator.game.EventProgression property)
Type (class in textworld.logic)
type (textworld.generator.game.EntityInfo attribute)
(textworld.generator.maker.WorldEntity property)
(textworld.generator.world.WorldEntity attribute)
(textworld.generator.world.WorldObject attribute)
(textworld.generator.world.WorldRoom attribute)
(textworld.logic.model.PlaceholderNode attribute)
(textworld.logic.model.VariableNode attribute)
(textworld.logic.Placeholder attribute)
(textworld.logic.Variable attribute)
type() (textworld.logic.parser.GameLogicSemantics method)
TypeHierarchy (class in textworld.logic)
TypeNode (class in textworld.logic.model)
typePart() (textworld.logic.parser.GameLogicSemantics method)
types (textworld.logic.model.DocumentNode attribute)
(textworld.logic.model.SignatureNode attribute)
(textworld.logic.Predicate property)
(textworld.logic.Proposition property)
(textworld.logic.Signature attribute)
U
UnderspecifiedEventError
UnderspecifiedQuestError
unfinishable (textworld.generator.game.QuestProgression property)
unique_expansion (textworld.generator.text_grammar.GrammarOptions attribute)
unique_product() (in module textworld.utils)
uniquify() (in module textworld.utils)
untriggerable (textworld.generator.game.EventProgression property)
unwrapped (textworld.core.Wrapper property)
update() (textworld.generator.game.EventProgression method)
(textworld.generator.game.GameProgression method)
(textworld.generator.game.QuestProgression method)
update_state() (textworld.render.serve.VisualizationService method)
update_subscribers() (textworld.render.serve.Server method)
uuid (textworld.generator.game.GameOptions property)
(textworld.generator.text_grammar.GrammarOptions property)
V
valid_actions (textworld.generator.game.GameProgression property)
validate() (textworld.generator.maker.GameMaker method)
values (textworld.generator.dependency_tree.DependencyTree property)
Variable (class in textworld.logic)
variable() (textworld.logic.parser.GameLogicSemantics method)
variable_named() (textworld.logic.State method)
VariableNode (class in textworld.logic.model)
variables (textworld.logic.Action property)
(textworld.logic.State property)
variables_of_type() (textworld.logic.State method)
VariableType (class in textworld.generator.vtypes)
VariableTypeTree (class in textworld.generator.vtypes)
verbs (textworld.core.EnvInfos attribute)
(textworld.generator.game.Game property)
VERSION (textworld.generator.inform7.world2inform7.Inform7Game attribute)
VisualizationService (class in textworld.render.serve)
visualize() (in module textworld.render.render)
W
walkthrough (textworld.generator.game.Game property)
WalkthroughAgent (class in textworld.agents.walkthrough)
WalkthroughDone
WebdriverNotFoundError
west (textworld.generator.maker.WorldRoom attribute)
which() (in module textworld.render.render)
win_events (textworld.generator.game.Quest property)
win_facts (textworld.core.EnvInfos attribute)
winning_policy (textworld.generator.game.GameProgression property)
(textworld.generator.game.QuestProgression property)
won (textworld.core.EnvInfos attribute)
World (class in textworld.generator.world)
WorldEntity (class in textworld.generator.maker)
(class in textworld.generator.world)
WorldObject (class in textworld.generator.world)
WorldPath (class in textworld.generator.maker)
WorldRoom (class in textworld.generator.maker)
(class in textworld.generator.world)
WorldRoomExit (class in textworld.generator.maker)
Wrapper (class in textworld.core)
wrappers (textworld.core.Agent property)
X
xy_diff() (in module textworld.generator.graph_networks)
Read the Docs
v: latest
Versions
latest
stable
1.5.4
1.5.3
1.5.0
1.4.0
1.3.0
1.1.1
Downloads
On Read the Docs
Project Home
Builds