From 4bdc5f48f28b317e1ea45b179aadc54f017fb232 Mon Sep 17 00:00:00 2001 From: Robby Zambito Date: Sat, 27 Nov 2021 14:20:54 -0500 Subject: Assume the board has been initialized already --- src/game_loop.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/game_loop.c b/src/game_loop.c index 64ce858..4674e44 100644 --- a/src/game_loop.c +++ b/src/game_loop.c @@ -181,13 +181,6 @@ const enum player_color **get_board(void) { enum player_color game_loop(enum player_color init_board[8][8]) { using_history(); - // Start with the initial board. - for (int i = 0; i < 8; i++) { - for (int j = 0; j < 8; j++) { - board[i][j] = init_board[i][j]; - } - } - current_player = WHITE; while (has_valid_moves(board, current_player)) { -- cgit v1.2.3