Add WIP on the playable shots list displaying
[Project_algorithmic_C.git] / src / main.c
index ce7c8a6b98a13d1f0636c8f0130fb34a701fd9ba..b0bf5b91dcfbd259bcd87554a78b9b5bf3ec5e36 100644 (file)
@@ -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},