[freeciv-ai] Re: interested in building a new client-side AI
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Hi David,
I am working at Northwestern University on a similar client side AI. We
plan to integrate reasoning modules developed by our group into an AI
that will play the game as a human might. Most of our code is done in
Allegro Lisp, so I have spent the past 3 months (part-time) developing a
Lisp based Client API to the game. I found it helpful to start with the
following files:
connection, packets, clinet and packhand
From there, search the files for functions of interest. To really
understand what's going on, you'll have to get pretty deep. If you want
to do this in C, it should be pretty straight forward to pull the
functions you need or just hook into the current code.
I am almost finished with an Allegro Lisp based Client API to the game.
It is basically a handler that sends requests to the server and receives
game information and then stores it in Lisp data structures. If you are
interested in a Lisp based API, I would be glad to share my code
(without warrantee, etc, of course. I haven't done a lot of verification
yet.) I have not currently handled diplomacy or space, but you could
probably add these if necessary or I might add them down the road. The
code is pretty well commented, but I don't have any other documentation
yet.
Phil Houk
P.S. Also, search for earlier posts to this newsgroup for other code
snippets, links and ideas.
-----Original Message-----
From: David Chen [mailto:cooldc@xxxxxxxxxxx]
Sent: Monday, April 21, 2003 12:48 PM
To: freeciv-ai@xxxxxxxxxxx
Subject: [freeciv-ai] interested in building a new client-side AI
hi,
I am a Berkeley student working with my professor on implementing an
AI
for freeciv. We are interested in building a completely new AI agent
that
knows only as much as the human player. As I understand, the current AI
code is a bit messy and is attached to the server side. Moreover, one
of
the current goals being worked on is building a client side AI. So I
was
wondering how difficult it would be to build an interface for a client
side
agent. Since we require no omniscience, it wouldn't need any hack on
the
server code. If anyone can point me to the files that I need to read to
build a clean interface, that would be greatly appreciated.
David Chen
-----------------------------------------------------------------
homepage: www.geocities.com/cooldc314
AIM: cooldc314
ICQ: 147175225
_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
http://join.msn.com/?page=features/virus
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freeciv-ai] Re: interested in building a new client-side AI,
Phil Houk <=
|
|