diff options
author | Aineopintojen-harjoitustyo-Algoritmit-j <github-hy-tiralabra@v.hix.fi> | 2024-01-29 15:48:34 +0200 |
---|---|---|
committer | Aineopintojen-harjoitustyo-Algoritmit-j <github-hy-tiralabra@v.hix.fi> | 2024-01-29 15:48:34 +0200 |
commit | cef4a07bb411a120d5b2e15373f3f5f1fec7c71b (patch) | |
tree | d4205150c075eac51c37b0a79d05caccddf5de43 /app.py | |
parent | 2b2117ec7bf75ad5ba37cc5b21870d073cb405a4 (diff) |
Making command line argumets for custom board sizes.
Diffstat (limited to 'app.py')
-rw-r--r-- | app.py | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -11,9 +11,8 @@ class App: level = Level.BEGINNER auto, uncertain, quiet = False, False, False if args: - level = Level.EXPERT if args.expert else level level = Level.INTERMEDIATE if args.intermediate else level - level = Level.BEGINNER if args.beginner else level + level = Level.EXPERT if args.expert else level width, height, bombs = LevelSpecs[level] auto = args.auto auto, uncertain = (True, True) if args.uncertain else (auto, False) |