From 9474c798f05c4497d81941730f0200e5468a78f7 Mon Sep 17 00:00:00 2001 From: Kevin Worth Date: Wed, 14 Dec 2005 05:09:45 +0000 Subject: [PATCH] A _working_ draft of ttt_board_is_won --- src/ttt-board.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; } -- 2.43.0