aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
blob: fd0759f1bf6ebfb9d24d2d32db0f0a68e9ce96c3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <game.h>
#include <system.h>
#include <stdlib.h>

int main(void)
{
    int ret = EXIT_SUCCESS;

    if (system_init() || game())
        ret = EXIT_FAILURE;

    system_deinit();
    return ret;
}