diff options
Diffstat (limited to 'solver.py')
-rwxr-xr-x | solver.py | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -257,7 +257,7 @@ class KanaGrid: def __repr__(self): self.update_score() return ( - ('KanaGrid (cnt: %d, score:%d): \n ' % (self.action_count, self.score)) + ('KanaGrid (cnt: %d, score: %d): \n ' % (self.action_count, self.score)) + '\n '.join(repr_grid(self.grid, (self.width, self.height)).splitlines()) ) @@ -361,9 +361,9 @@ def main(): kanagrid = KanaGrid.load(input_dict) target_score = input_dict['target_score'] max_actions = input_dict['max_actions'] - print('Size %dx%d' % (kanagrid.width, kanagrid.height)) - print('Target score %d' % target_score) - print('Max actions %d' % max_actions) + print('Size: %dx%d' % (kanagrid.width, kanagrid.height)) + print('Target score: %d' % target_score) + print('Max actions: %d' % max_actions) print('Initial grid:') print(kanagrid) |