diff --git a/sources/main.py b/sources/main.py index f925c8d..2131c9c 100644 --- a/sources/main.py +++ b/sources/main.py @@ -3,7 +3,6 @@ __author__ = 'gaugendre' from grid import Grid if __name__ == "__main__": - # Doesn't need any 'two rows are not the same' array = [['B', ' ', ' ', ' '], ['B', 'B', ' ', ' '], @@ -16,11 +15,11 @@ if __name__ == "__main__": # This one does array = [['B', 'B', ' ', ' ', ' ', ' '], - [' ', ' ', ' ', ' ', ' ', 'B'], - ['B', 'B', ' ', 'B', ' ', ' '], - ['B', ' ', ' ', ' ', ' ', ' '], - [' ', ' ', ' ', 'R', ' ', ' '], - [' ', ' ', 'R', ' ', ' ', ' ']] + [' ', ' ', ' ', ' ', ' ', 'B'], + ['B', 'B', ' ', 'B', ' ', ' '], + ['B', ' ', ' ', ' ', ' ', ' '], + [' ', ' ', ' ', 'R', ' ', ' '], + [' ', ' ', 'R', ' ', ' ', ' ']] grid = Grid(len(array), array) print(grid) grid.solve()