tw-play

Play a TextWorld game (.z8 or .json).

usage: tw-play [-h] [--mode MODE] [--seed SEED] [--max-steps STEPS]
               [--viewer [PORT]] [--hint] [-v] [-vv]
               game

Positional Arguments

game

Named Arguments

--mode

Possible choices: random, human, random-cmd, walkthrough

Select an agent to play the game: [’random’, ‘human’, ‘random-cmd’, ‘walkthrough’]. Default: ‘human’.

Default: 'human'

--seed

Random seed for the game.

--max-steps

Limit maximum number of steps.

Default: 0

--viewer

Start web viewer.

--hint

Display the oracle trajectory leading to winning the game.

Default: False

-v, --verbose

Verbose mode.

Default: False

-vv, --very-verbose

Print debug information.

Default: False