blob: d5d20d56310ce8110a8155bed82c3b68671e1724 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#include <FL/Fl.H>
#include <FL/Fl_Window.H>
#include <FL/Fl_Box.H>
#include <stdlib.h>
#include <time.h>
#include "puzzle.hpp"
#include "gameplay.hpp"
int main()
{
srand(time(nullptr));
Fl_Window *win = new Fl_Window(325, 325, "Picture puzzle");
GameParams *params = GameParams::SetUpParams(win);
PuzzleGame::StartGame(params);
win->show();
return Fl::run();
return 0;
}
|