summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/main.c b/main.c
index b11a880..0d7575b 100644
--- a/main.c
+++ b/main.c
@@ -2,12 +2,9 @@
#include "board.h"
#include "game.h"
-#include "types.h"
int main() {
- Board b = board_init();
- b = game_loop(b);
- board_delete(b);
+ board_delete(game_loop(board_init()));
return 0;
}
nihil fit ex nihilo