From dfe9604dc9e4292c9f0e420d3a926e8268178308 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Fri, 9 Jan 2015 17:40:02 +0100 Subject: replace the code of the artificial "intellligence" the new function of the AI chooses a random target in the adversary team and use "attack" on it. Signed-off-by: Olivier Gayot --- ai.h | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 ai.h (limited to 'ai.h') diff --git a/ai.h b/ai.h new file mode 100644 index 0000000..070527d --- /dev/null +++ b/ai.h @@ -0,0 +1,8 @@ +#ifndef AI_H +#define AI_H + +#include "entry.h" + +void ai_play_turn(struct action_params_t *); + +#endif /* AI_H */ -- cgit v1.2.3