First working version with ncurse an inception = 2

This commit is contained in:
Yorick Barbanneau 2021-10-21 02:10:16 +02:00
parent dafe6f73ee
commit 46a55f31d1
3 changed files with 149 additions and 47 deletions

View file

@ -16,7 +16,9 @@ typedef struct view * p_view;
p_view create_view(s_utictactoe * p_uttt);
void draw_ttt(WINDOW * w, s_tictactoe * t);
e_location get_ttt_position( int x, int y);
//e_location display_ttt( WINDOW * w, s_tictactoe * ttt);
e_location coord_to_elocation( int x, int y);
int elocation_to_coord(e_location l);
/*!
* This function retrieves a valid move proposal from the user using the corresponding view.
*