summaryrefslogtreecommitdiff
path: root/app.py
diff options
context:
space:
mode:
authorAineopintojen-harjoitustyo-Algoritmit-j <github-hy-tiralabra@v.hix.fi>2024-01-27 13:31:17 +0200
committerAineopintojen-harjoitustyo-Algoritmit-j <github-hy-tiralabra@v.hix.fi>2024-01-27 13:31:17 +0200
commit53bd62f3a55cde1dce09bdb867dfe0b84d578227 (patch)
tree5a5ed821eedb946eeea117f8fea225ccf00937c5 /app.py
parentd68d1a33f52ad9ddeb97c6e45f1e66cdf27c67f5 (diff)
Adding exit codes and batch runner script.
Diffstat (limited to 'app.py')
-rw-r--r--app.py1
1 files changed, 1 insertions, 0 deletions
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()