From bc5ac3d46558512971ba8c0f6be02382d91d17f1 Mon Sep 17 00:00:00 2001 From: rodri Date: Fri, 6 Oct 2023 16:31:57 +0000 Subject: 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). --- fns.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'fns.h') 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*); -- cgit v1.2.3