1 #ifndef _OPPONENT_H 2 #define _OPPONENT_H 3 4 #include "board.h" 5 6 typedef struct _Opponent * Opponent; 7 8 enum Level { 9 VERY_EASY, 10 EASY, 11 NORMAL, 12 HARD, 13 VERY_HARD 14 }; 15 16 Opponent new_opponent( Board board, int level ); 17 void delete_opponent( Opponent opponent ); 18 int find_best_angle( Opponent op, int *best_eval ); 19 20 #endif /* _OPPONENT_H */ 21 22