This reverts commit 99d6da5990bed75097b70926f7622d852a38080a, reversing changes made to c4914eedd844b97661796b3b2c8abfa78353dfc5.
19 lines
359 B
Python
19 lines
359 B
Python
#!/usr/bin/env python3
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
import sys
|
|
from qt5 import QtWidgets
|
|
from game_gui import Window
|
|
|
|
|
|
|
|
def play():
|
|
app = QtWidgets.QApplication.instance() or QtWidgets.QApplication(sys.argv)
|
|
win = Window()
|
|
win.show()
|
|
win.frames.new_game()
|
|
sys.exit(app.exec_())
|
|
|
|
if __name__ == "__main__":
|
|
play() |