Add proxy bug list and lightsout game (desktop + Android)
This commit is contained in:
1 parent
e1946b208d
commit
d8cbe2e589
23 files changed
+1076
No files matched your search
@@ -0,0 +1,21 @@
|
||||
#include "mainwindow.h"
|
||||
|
||||
#include <QApplication>
|
||||
#include <QInputDialog>
|
||||
|
||||
// Точка входа: запрашивает размер поля (3–8) и запускает игру.
|
||||
int main(int argc, char *argv[]) {
|
||||
QApplication app(argc, argv);
|
||||
|
||||
bool ok = false;
|
||||
const int size = QInputDialog::getInt(
|
||||
nullptr, QObject::tr("Выключить свет"),
|
||||
QObject::tr("Размер поля (3–8):"), 5, 3, 8, 1, &ok);
|
||||
if (!ok) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
MainWindow window(size);
|
||||
window.show();
|
||||
return app.exec();
|
||||
}
|
||||
Reference in new issue
Block a user