Skip to content

Commit

Permalink
Merge pull request #812 from otizonaizit/new_layouts
Browse files Browse the repository at this point in the history
New and enlarged collection of layouts
  • Loading branch information
Debilski authored Aug 5, 2024
2 parents a8ccf17 + bf9e14d commit 3dda076
Show file tree
Hide file tree
Showing 1,209 changed files with 20,694 additions and 5,338 deletions.
2 changes: 1 addition & 1 deletion check_layout_consistency.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# first of all, check for symmetry
# if something is found on the left, it should be found center-mirrored on the right
width, height = layout['shape']
known = layout['walls'] | set(layout['food'])
known = set(layout['walls']) | set(layout['food'])
layout['empty'] = [(x,y) for x in range(width) for y in range(height) if (x,y) not in known]
for x in range(width // 2):
for y in range(height):
Expand Down
Loading

0 comments on commit 3dda076

Please sign in to comment.