123456789101112131415161718 |
- #include <QApplication>
- #include "maingamewindow.h"
- #include <cmath>
-
-
-
- int main(int argc, char *argv[]) {
- QApplication a(argc, argv);
-
- //MainGameWindow *w = new MainGameWindow(4,2);
- //MainGameWindow *w = new MainGameWindow("xx x\nxx x\nx xx\n");
- MainGameWindow *w = new MainGameWindow(Mode::SQUARE_TOP_LEFT);
-
- w->show();
-
-
- return a.exec();
- }
|