1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 07:08:10 +00:00

Minesweeper: Start working on a simple minesweeper game. :^)

This commit is contained in:
Andreas Kling 2019-04-13 03:08:16 +02:00
parent c06a3bdeb4
commit a90e218c71
17 changed files with 288 additions and 1 deletions

View file

@ -0,0 +1,18 @@
#include "Field.h"
#include <LibGUI/GApplication.h>
#include <LibGUI/GWindow.h>
int main(int argc, char** argv)
{
GApplication app(argc, argv);
auto* window = new GWindow;
window->set_title("Minesweeper");
window->set_rect(100, 100, 200, 300);
auto* field = new Field(nullptr);
window->set_main_widget(field);
window->show();
return app.exec();
}