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},