back to scratko.xyz
summaryrefslogtreecommitdiff
path: root/main.cpp
blob: caf1a170e3df7a6f8671531e836b4dd7ee1533a5 (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::StartParams();
    params->NewGame();
    win->end();
    win->show();
    return Fl::run();
    return 0;
}