17 lines
230 B
C
17 lines
230 B
C
|
#include "SDL.h"
|
||
|
#include "tui.h"
|
||
|
#include "2048.h"
|
||
|
|
||
|
int main(int argc, char *argv[])
|
||
|
{
|
||
|
Game game;
|
||
|
game = game_init(4);
|
||
|
tui_init();
|
||
|
|
||
|
tui_loop(&game);
|
||
|
|
||
|
tui_destroy();
|
||
|
game_destroy(game);
|
||
|
return 0;
|
||
|
}
|