From 53bd62f3a55cde1dce09bdb867dfe0b84d578227 Mon Sep 17 00:00:00 2001 From: Aineopintojen-harjoitustyo-Algoritmit-j Date: Sat, 27 Jan 2024 13:31:17 +0200 Subject: Adding exit codes and batch runner script. --- app.py | 1 + 1 file changed, 1 insertion(+) (limited to 'app.py') diff --git a/app.py b/app.py index be44752..a38c897 100644 --- a/app.py +++ b/app.py @@ -27,3 +27,4 @@ class App: """ käynnistää pelin """ while self.game.next(): pass + return self.board.is_winning() -- cgit v1.2.3