summaryrefslogtreecommitdiff
path: root/app.py
diff options
context:
space:
mode:
authorAineopintojen-harjoitustyo-Algoritmit-j <github-hy-tiralabra@v.hix.fi>2024-02-05 07:46:04 +0200
committerAineopintojen-harjoitustyo-Algoritmit-j <github-hy-tiralabra@v.hix.fi>2024-02-05 07:46:04 +0200
commitae57dacc625b9ded6fad48e9197b4a29ad692173 (patch)
tree0e284eae461e02d8e7be9233235c8e6c70241737 /app.py
parenta7fe2d0dff18abd253db3f2f999259a281b09630 (diff)
Adding option for delaying autoplay.
Diffstat (limited to 'app.py')
-rw-r--r--app.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/app.py b/app.py
index cb79568..8553fe5 100644
--- a/app.py
+++ b/app.py
@@ -27,6 +27,7 @@ class App:
tui_opts['autoplay'] = args.autoplay > 0
tui_opts['interactive'] = args.autoplay != 2
tui_opts['suppress'] = args.quiet
+ tui_opts['delay'] = args.delay
self.board = Board(**board_opts)
tui_opts['level_name'] = self.board.get_level_name()