|
|
@ -6,9 +6,6 @@ |
|
|
|
#define allow_to_returning_to_the_starting_point_in_a_round 1 |
|
|
|
#define allow_to_block_opposite_player 0 |
|
|
|
|
|
|
|
|
|
|
|
#ifndef arbitre_h |
|
|
|
#define arbitre_h |
|
|
|
#include "api.h" |
|
|
|
|
|
|
|
enum bool {false, true}; |
|
|
@ -28,5 +25,3 @@ enum hole_t star_branch(const unsigned int nb_player, const size_t index); |
|
|
|
enum validation_movement_t valid_move(const int start_pos_first_move, const struct move_t move, const struct move_t previous_move, const struct player_t player, const struct game_state_t game, const size_t start_position[6][10], const enum bool last_move); |
|
|
|
/* vérifie si le joueur a gagné */ |
|
|
|
enum bool winner(const struct player_t player, const size_t start_position[6][10], const struct game_state_t game); |
|
|
|
|
|
|
|
#endif |