blob: 0cbe9ea81c5289716fa309289160cf3a3969e312 (
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"
int main()
{
srand(time(nullptr));
Fl_Window *win = new Fl_Window(325, 325, "15 puzzle");
GameParams *params = GameParams::SetUpParams();
params->NewGame();
win->end();
win->show();
return Fl::run();
return 0;
}
|