From 202e15e936baf6e8fcf95f433233aa104c30205d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Benencia?= Date: Tue, 31 Mar 2015 15:56:41 -0300 Subject: one line main :-) --- main.c | 5 +---- 1 file changed, 1 insertion(+), 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; } -- cgit v1.2.3