From 53eea87fe65c5c4f063664c424d4b49176a27984 Mon Sep 17 00:00:00 2001 From: Aineopintojen-harjoitustyo-Algoritmit-j Date: Sun, 14 Jan 2024 15:08:54 +0200 Subject: Making it possible to ask hints. --- tui/static.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tui/static.py') 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 """ -- cgit v1.2.3