Skip to content

Commit

Permalink
feat(overcooked): Include new layout
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiges committed Jun 25, 2024
1 parent 0eabb6a commit 82301b5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions jaxmarl/environments/overcooked_v2/layouts.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,12 @@
WWWWWWWWW
"""

long_room = """
WWWWWWWWWWWWWWW
B AP
0 X
WWWWWWWWWWWWWWW
"""

@dataclass
class Layout:
Expand Down Expand Up @@ -215,4 +221,5 @@ def layout_grid_to_dict(grid, recipe=None):
"counter_circuit": layout_grid_to_dict(counter_circuit_grid, recipe=[0, 0, 0]),
"two_rooms": layout_grid_to_dict(two_rooms),
"two_rooms_simple": layout_grid_to_dict(two_rooms_simple),
"long_room": layout_grid_to_dict(long_room, recipe=[0, 0, 0]),
}

0 comments on commit 82301b5

Please sign in to comment.