]> git.cworth.org Git - ttt/blobdiff - src/ttt-board.h
Implemented current_player into board and O's into board_make_move
[ttt] / src / ttt-board.h
index 281db32ce1bd4f96294d47d72237f15f13ec818c..c75c168960f9ebac1e49dfc3f5c0863b82af0cf6 100644 (file)
@@ -35,6 +35,7 @@ typedef enum {
 
 typedef struct _ttt_board {
     ttt_cell_t cells[TTT_BOARD_MAX_CELLS];
+    ttt_cell_t current_player;
 } ttt_board_t;
 
 void