Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -169,3 +169,6 @@ cython_debug/
cmake-build-*
.idea
/build-wasm/

# Lock files
*.lock
13 changes: 10 additions & 3 deletions docs/_scripts/gen_environments_md.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def shortened_repr(values):

if env_data["atariage_url"]:
env_url = f"""
For a more detailed documentation, see [the AtariAge page]({env_data['atariage_url']})
For a more detailed documentation, see [the AtariAge page]({env_data["atariage_url"]})
"""
else:
env_url = ""
Expand All @@ -89,6 +89,13 @@ def shortened_repr(values):
To enable all 18 possible actions that can be performed on an Atari 2600, specify `full_action_space=True` during
initialization or by passing `full_action_space=True` to `gymnasium.make`."""

if env_name == "Breakout":
action_description = (
action_description
+ """
To make the ball appear at start of an episode or after loss of a life, action `FIRE` (Value 1) needs to be applied."""
)

# Environment variants
env_specs = sorted(
[
Expand All @@ -109,8 +116,8 @@ def shortened_repr(values):
[
env_spec.id,
"`rgb`",
f'`{env_spec.kwargs["frameskip"]}`',
f'`{env_spec.kwargs["repeat_action_probability"]:.2f}`',
f"`{env_spec.kwargs['frameskip']}`",
f"`{env_spec.kwargs['repeat_action_probability']:.2f}`",
]
for env_spec in env_specs
]
Expand Down
Loading