summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Benencia <rul@kalgan.cc>2015-03-31 15:56:41 -0300
committerRaúl Benencia <rul@kalgan.cc>2015-03-31 15:56:41 -0300
commit202e15e936baf6e8fcf95f433233aa104c30205d (patch)
treea3eace00dced137470bcca75d93455ef6cc546b3
parent73857333f872ec5a1d32dbd522d8a7d6f2625fac (diff)
one line main :-)
-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