AI:HughAI: Difference between revisions

From Spring
Jump to navigationJump to search
Created new page for HughAI
 
added link to architecture.txt
Line 7: Line 7:
Similarly, chat commands can be registered by the AI classes.
Similarly, chat commands can be registered by the AI classes.


More details on the architecture can be found in the file Architecture.txt, in the sources.
More details on the architecture can be found in the file src-ai/architecture.txt, in the sources:
 
http://github.com/hughperkins/HughAI/blob/f23bf8cb4353d5577599f0c531474d36342fba11/src-ai/architecture.txt


The sources are available from the following git repository:
The sources are available from the following git repository:

Revision as of 15:21, 6 September 2009

HughAI is a Java port of CSAI2, which was a partially refactored version of CSAI, a fast rush AI, written in C#, by Hugh Perkins.

It is not quite ready for use as a fun interesting opponent in a real game, but it could be fun to play with by developers. It includes a bunch of classes for deriving maps, such as slope maps, movement area maps, and los maps, from the data made available to the AI.

It contains a GUI written in Swing, to which classes can subscribe, registering the name of a button, and a handler method to be called.

Similarly, chat commands can be registered by the AI classes.

More details on the architecture can be found in the file src-ai/architecture.txt, in the sources:

http://github.com/hughperkins/HughAI/blob/f23bf8cb4353d5577599f0c531474d36342fba11/src-ai/architecture.txt

The sources are available from the following git repository:

git://github.com/hughperkins/HughAI.git

Web browser page:

http://github.com/hughperkins/HughAI/tree/master

The AI uses hoijui's Java Interface v0.1.