X-Git-Url: https://git.piment-noir.org/?p=Project_algorithmic_C.git;a=blobdiff_plain;f=src%2Fmain.c;h=b0bf5b91dcfbd259bcd87554a78b9b5bf3ec5e36;hp=ce7c8a6b98a13d1f0636c8f0130fb34a701fd9ba;hb=7aab9e03ce0779a461044f56bc3f478e1c8d2460;hpb=6d7fa659380189a35b8d7cce9f0417b4ed1ce3a5 diff --git a/src/main.c b/src/main.c index ce7c8a6..b0bf5b9 100644 --- a/src/main.c +++ b/src/main.c @@ -23,15 +23,9 @@ int main() { char* draw_msg = "Egalite !"; char* exit_msg = "Pressez une touche pour sortir ou \'r\' pour rejouer"; - /* linked list of the history shots */ - //struct shots_history_list_s shots_history; - //INIT_LIST_HEAD(&shots_history.list); - /* linked list of black playable shots */ - struct shots_list_s black_playable_shots; - INIT_LIST_HEAD(&black_playable_shots.list); - /* linked list of white playable shots */ - struct shots_list_s white_playable_shots; - INIT_LIST_HEAD(&white_playable_shots.list); + /* linked list of playable shots */ + struct shots_list_s playable_shots; + INIT_LIST_HEAD(&playable_shots.list); unsigned int pawns[board_size][board_size] = { {0, 0},