summaryrefslogtreecommitdiff
path: root/ai.h
diff options
context:
space:
mode:
authorOlivier Gayot <duskcoder@gmail.com>2015-01-09 17:40:02 +0100
committerOlivier Gayot <duskcoder@gmail.com>2015-01-09 17:42:32 +0100
commitdfe9604dc9e4292c9f0e420d3a926e8268178308 (patch)
treee72126bed8102a0852fe8f45fe3b980bdbf41a13 /ai.h
parent2c26f3577680ae1ee1989de0f866d4fec912f49d (diff)
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 <duskcoder@gmail.com>
Diffstat (limited to 'ai.h')
-rw-r--r--ai.h8
1 files changed, 8 insertions, 0 deletions
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 */