Skip to content

Commit

Permalink
update version & screenshots
Browse files Browse the repository at this point in the history
  • Loading branch information
sera619 committed Feb 8, 2023
1 parent 999a900 commit 9690bea
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
Binary file modified img/game_play.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/home_view.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/new_game.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 3 additions & 4 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,14 @@
from Game import Player, Game
from util import ButtonStyles

VERSIONNUM: Final = "1.2"
VERSIONNUM: Final = "1.4"
BASE_DIR: Final = os.path.dirname(__file__)

class MainWindow(QMainWindow):
def __init__(self):
super(MainWindow, self).__init__()
self.ui = Ui_MainWindow()
self.ui.setupUi(self)
self.start_animation()
self.setWindowFlags(Qt.FramelessWindowHint)
self.setAttribute(Qt.WA_TranslucentBackground)
self.ui.copyrightLabel.setText(f"Version {VERSIONNUM} | 2023 © S343o3")
Expand All @@ -26,8 +25,8 @@ def __init__(self):
self.setup_gamebuttons()
self.gameover = False
self.block_gamefield()
self.ui.p1NameInput.setText("Test 1")
self.ui.p2NameInput.setText("Test 2")
# self.ui.p1NameInput.setText("Test 1")
# self.ui.p2NameInput.setText("Test 2")
self.round = 0
self.winner_btn = []
self.AITimer = QTimer()
Expand Down

0 comments on commit 9690bea

Please sign in to comment.