From: Kevin Worth Date: Wed, 14 Dec 2005 05:09:45 +0000 (+0000) Subject: A _working_ draft of ttt_board_is_won X-Git-Url: https://git.cworth.org/git?p=ttt;a=commitdiff_plain;h=9474c798f05c4497d81941730f0200e5468a78f7 A _working_ draft of ttt_board_is_won --- diff --git a/src/ttt-board.c b/src/ttt-board.c index dfddf35..c6d36f0 100644 --- a/src/ttt-board.c +++ b/src/ttt-board.c @@ -111,8 +111,10 @@ ttt_error_t ttt_board_make_move (ttt_board_t *board, int move) board->current_player = TTT_CELL_O; } else + { + ttt_board_is_won (board); board->current_player = TTT_CELL_X; - + } return TTT_ERROR_NONE; }