aboutsummaryrefslogtreecommitdiff
path: root/fns.h
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2023-10-06 16:31:57 +0000
committerrodri <rgl@antares-labs.eu>2023-10-06 16:31:57 +0000
commitbc5ac3d46558512971ba8c0f6be02382d91d17f1 (patch)
tree93674e89f5c47335e0a8ad23a3319dd9eac6050d /fns.h
parentfb4b4cbf8062bd0ebaedcd2b3aa6cd1112f35258 (diff)
downloadbattleship-bc5ac3d46558512971ba8c0f6be02382d91d17f1.tar.gz
battleship-bc5ac3d46558512971ba8c0f6be02382d91d17f1.tar.bz2
battleship-bc5ac3d46558512971ba8c0f6be02382d91d17f1.zip
initial implementation of an AI.
added different modes for those who want to play with others and those who prefer to play against a bot (-a flag).
Diffstat (limited to 'fns.h')
-rw-r--r--fns.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/fns.h b/fns.h
index eb9c5ba..97667fb 100644
--- a/fns.h
+++ b/fns.h
@@ -38,3 +38,9 @@ void delmenulist(Menulist*);
*/
Cmdbuf *parsecmd(char*, int);
Cmdtab *lookupcmd(Cmdbuf*, Cmdtab*, int);
+
+/*
+ * andy
+ */
+Andy *newandy(Player*);
+void freeandy(Andy*);