summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorRaúl Benencia <rul@kalgan.cc>2015-03-31 15:45:46 -0300
committerRaúl Benencia <rul@kalgan.cc>2015-03-31 15:45:46 -0300
commitbe51176891684e40c9949d89622497d8235cfb5c (patch)
treee57e4129e0e5f03329367515ec8ca8cca89b9641 /main.c
parent9e791e4e927b837c8647765ada6f25be1ac086cc (diff)
use game_loop function
Diffstat (limited to 'main.c')
-rw-r--r--main.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/main.c b/main.c
index 45a6970..b11a880 100644
--- a/main.c
+++ b/main.c
@@ -1,17 +1,13 @@
#include <stdio.h>
#include "board.h"
-#include "print.h"
+#include "game.h"
#include "types.h"
int main() {
Board b = board_init();
-
- print_board(b, WHITE);
- print_board(b, BLACK);
-
+ b = game_loop(b);
board_delete(b);
return 0;
}
-
nihil fit ex nihilo