diff options
author | Marianne Chevrot <blackmoor+git@devys.org> | 2020-05-16 15:19:22 +0200 |
---|---|---|
committer | Marianne Chevrot <blackmoor+git@devys.org> | 2020-05-16 15:19:22 +0200 |
commit | a0cad482bbb5ad94a6bb114a6de5ed2139755247 (patch) | |
tree | 940dc82a3ed8204dea49b73986b1b44ba63c2af2 | |
parent | 84f94c69dc3f44f110766ffb3dc95f4a00d2dbde (diff) | |
download | kana_quest_solver-a0cad482bbb5ad94a6bb114a6de5ed2139755247.tar.gz kana_quest_solver-a0cad482bbb5ad94a6bb114a6de5ed2139755247.tar.bz2 kana_quest_solver-a0cad482bbb5ad94a6bb114a6de5ed2139755247.zip |
cosmetic changes (typo fix)
-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) |