#ifndef API_INCLUDED
#define API_INCLUDED
#include "prologin.hh"

#define        Debut  partie_debut
#define Construction  phase_construction
#define  Deplacement  phase_deplacement
#define         Tirs  phase_tirs
#define        Siege  phase_siege
#define          Fin  partie_fin


typedef position Case;
typedef tourelle Tourelle

#define Type(x, y)  info_case((position)  {(x), (y)})


#define Aleatoire(minimum, maximum)  (((double) rand() / (RAND_MAX+1)) \
                                     * ((maximum) - (minimum)) + (minimum))

#endif /* API_INCLUDED */
