diff options
Diffstat (limited to 'app.py')
-rw-r--r-- | app.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,3 +1,4 @@ +""" app.py - pääohjelma """ from board.board import Board from tui.tui import Tui, Action @@ -12,7 +13,6 @@ while True: action, x, y = t.matrix_selector(b.get_view(), x, y) match action: case Action.QUIT: - # t.draw_matrix(b.get_view(),-1,-1) print("LOPETUS!") break case Action.OPEN: @@ -20,7 +20,7 @@ while True: t.draw_matrix(b.get_view(), -1, -1) print("KUOLEMA!") break - elif b.is_winning(): + if b.is_winning(): t.draw_matrix(b.get_view(), -1, -1) print("VOITTO!") break |