diff options
author | rodri <rgl@antares-labs.eu> | 2023-10-06 16:31:57 +0000 |
---|---|---|
committer | rodri <rgl@antares-labs.eu> | 2023-10-06 16:31:57 +0000 |
commit | bc5ac3d46558512971ba8c0f6be02382d91d17f1 (patch) | |
tree | 93674e89f5c47335e0a8ad23a3319dd9eac6050d /fns.h | |
parent | fb4b4cbf8062bd0ebaedcd2b3aa6cd1112f35258 (diff) | |
download | battleship-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.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -38,3 +38,9 @@ void delmenulist(Menulist*); */ Cmdbuf *parsecmd(char*, int); Cmdtab *lookupcmd(Cmdbuf*, Cmdtab*, int); + +/* + * andy + */ +Andy *newandy(Player*); +void freeandy(Andy*); |