TETRIS2000/Tetris2000.py
2018-08-06 12:23:47 +02:00

27 lines
497 B
Python

#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Another TETRIS® clone
Tetris Game Design by Alexey Pajitnov.
Parts of comments issued from 2009 Tetris Design Guideline
"""
import sys
from qt5 import QtWidgets
from window 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()