diff options
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -5,14 +5,14 @@ #include <time.h> #include "puzzle.hpp" +#include "gameplay.hpp" int main() { srand(time(nullptr)); - Fl_Window *win = new Fl_Window(325, 325, "15 puzzle"); - GameParams *params = GameParams::SetUpParams(); - params->NewGame(); - win->end(); + 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; |