12 #include "../includes/acquisition.h" 18 static int turn_move=0;
19 static int turn_gun=0;
20 static int turn_radar=0;
22 static double move_modif=0;
23 static double gun_modif=0;
24 static double radar_modif=0;
40 move_modif = 0.05*(double)((rand() % 3) - 1);
46 gun_modif = 0.15*(double)((rand() % 3) - 1);
50 if (turn_radar == 15){
52 radar_modif = 0.15*(double)((rand() % 3) - 1);
void clean_my_AI(void)
Clean nothing because there is nothing to clean.
void decision_frame(Decision_frame *d)
the brilliant decision my AI is taking each frame.
void initialize_my_AI(void)
there is nothing to intialize in this
This structure gathers the information needed to pilot a starship each frame.