From 2aff33fa79c34c691b9a772563295696b39405f0 Mon Sep 17 00:00:00 2001 From: panki27 Date: Wed, 18 Apr 2018 19:03:27 +0200 Subject: [PATCH] Win screen --- minebash.py | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/minebash.py b/minebash.py index 3234ba1..f2facd9 100755 --- a/minebash.py +++ b/minebash.py @@ -104,8 +104,16 @@ def gameover(win): mins = elapsed / 60 secs = elapsed % 60 winstr = 'You win! It took you {}:{} to bash the field!'.format(int(mins), str(round(secs, 2)).zfill(5)) - stdscr.addstr(0, 0, winstr) - stdscr.addstr(1,0, 'Press q to quit!') + stdscr.addstr(0, 0, ' /$$ /$$ /$$ /$$ /$$$$$$$ /$$') + stdscr.addstr(1, 0, '| $$ /$ | $$ | $$| $$ | $$__ $$ | $$') + stdscr.addstr(2, 0, '| $$ /$$$| $$ /$$$$$$ | $$| $$ | $$ \ $$ /$$$$$$ /$$$$$$$ /$$$$$$ | $$') + stdscr.addstr(3, 0, '| $$/$$ $$ $$ /$$__ $$| $$| $$ | $$ | $$ /$$__ $$| $$__ $$ /$$__ $$| $$') + stdscr.addstr(4, 0, '| $$$$_ $$$$| $$$$$$$$| $$| $$ | $$ | $$| $$ \ $$| $$ \ $$| $$$$$$$$|__/') + stdscr.addstr(5, 0, '| $$$/ \ $$$| $$_____/| $$| $$ | $$ | $$| $$ | $$| $$ | $$| $$_____/ ') + stdscr.addstr(6, 0, '| $$/ \ $$| $$$$$$$| $$| $$ | $$$$$$$/| $$$$$$/| $$ | $$| $$$$$$$ /$$') + stdscr.addstr(7, 0, '|__/ \__/ \_______/|__/|__/ |_______/ \______/ |__/ |__/ \_______/|__/') + stdscr.addstr(10, 0, winstr) + stdscr.addstr(11,0, 'Press q to quit!') while True: key = stdscr.getch() if key == ord('q'):