Açıklama Yok

main.cpp 369B

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