Changeset 41:bcad0f5464bf
Legend:
- Unmodified
- Added
- Removed
-
snake.py
r40 r41 €а 55 55 if y == 7:€а 56 56 break€а €а 57 assert len(line) == 8, "Rule lines must be exactly 7 chars long"€а 57 58 assert line[-1] == ';', "Rule lines must end with semicolon"€а 58 €а assert len(line) == 8, "Rule lines must be exactly 7 chars long"€а59 59 for x, char in enumerate(line[:8]):€а 60 60 self.parse_cell(x, y, char)€а
Note: See TracChangeset
for help on using the changeset viewer.