summaryrefslogtreecommitdiff
path: root/tui/static.py
diff options
context:
space:
mode:
authorAineopintojen-harjoitustyo-Algoritmit-j <github-hy-tiralabra@v.hix.fi>2024-01-14 15:08:54 +0200
committerAineopintojen-harjoitustyo-Algoritmit-j <github-hy-tiralabra@v.hix.fi>2024-01-14 15:08:54 +0200
commit53eea87fe65c5c4f063664c424d4b49176a27984 (patch)
treeba07b7f17923b86617f4b2bc483beacc8baf365e /tui/static.py
parent3dd13c9ed2fc57c525ddf0dd5c7d130229087a16 (diff)
Making it possible to ask hints.
Diffstat (limited to 'tui/static.py')
-rw-r--r--tui/static.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tui/static.py b/tui/static.py
index b594c44..98b6985 100644
--- a/tui/static.py
+++ b/tui/static.py
@@ -31,7 +31,7 @@ ActionKeys = {
"d": Action.RIGHT, " ": Action.OPEN, "\n": Action.OPEN,
"f": Action.FLAG, "m": Action.FLAG, "q": Action.QUIT,
"p": Action.BOMB, "x": Action.BOMB, "o": Action.SAFE,
- "l": Action.QUIT,
+ "l": Action.QUIT, "?": Action.HINT, "b": Action.HINT
}
KEY_DESCRIPTIONS = """
@@ -43,6 +43,8 @@ Merkitseminen:
t,o - turvallinen
Avaaminen:
ENTER, SPACE
+Vinkki:
+ ?, b - pyydä botilta vihje
Lopetus:
l,q,ESC
"""