[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]
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
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
P.S. Also, search for earlier posts to this newsgroup for other code
snippets, links and ideas.
From: David Chen [mailto:cooldc@xxxxxxxxxxx]
Sent: Monday, April 21, 2003 12:48 PM
Subject: [freeciv-ai] interested in building a new client-side AI
I am a Berkeley student working with my professor on implementing an
for freeciv. We are interested in building a completely new AI agent
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
the current goals being worked on is building a client side AI. So I
wondering how difficult it would be to build an interface for a client
agent. Since we require no omniscience, it wouldn't need any hack on
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.
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
|[Prev in Thread]
||[Next in Thread]|
- [freeciv-ai] Re: interested in building a new client-side AI,
Phil Houk <=