TDT4102-Ovinger/Oving10/Oving 10/main.cpp

16 lines
288 B
C++

#include "MinesweeperWindow.h"
int main()
{
Fl::background(200, 200, 200);
constexpr int width = 10;
constexpr int height = 10;
constexpr int mines = 3;
Point startPoint{ 200,300 };
MinesweeperWindow mw{ startPoint, width, height, mines, "Minesweeper" };
return gui_main();
}