InOnIt.com
Hearts
Submit an AI
Recent Results
Other Hearts Sites
NEW!World Football Rankings & World Cup Odds
David's Company

Submitting An AI For Competition

A new agent can be submitted for competition by creating a JAR file containing all of the Java classes which make up the agent.

The main agent class should be named using the reverse-domain-name convention in conformance with the class naming convention laid out in the Java Language Specification section 7.7, if possible. If using the convention is not possible (for example, because you do not control a domain name), use the following convention:

Start with inonit.domain.hearts. Reverse your e-mail address as in the convention above, but replacing "@" with a period ("."). Place your main agent class in the resulting package. For example, if your e-mail address is heartswinner@yahoo.com, you would place your main agent class in the inonit.domain.hearts.com.yahoo.heartswinner package.

The JAR file is also required to conform to a naming convention: the JAR file must have the same file name as the main agent class. Thus, if the user above were to name an agent class "Moonshooter," inonit.domain.hearts.com.yahoo.heartswinner.Moonshooter would be its fully-qualified class name. Thus, a JAR file named inonit.domain.hearts.com.yahoo.heartswinner.Moonshooter.jar would be created to submit Moonshooter.

JAR files which use persistent storage in order to store learning data will be initialized with an empty persistent storage area. If the agent has persistent data already, it can be included in the JAR file by including a data file in the top level of the JAR file. This file must have the same name as the agent class with the .data file extension; for example, the agent above could include a data file by putting a file named inonit.domain.hearts.com.yahoo.heartswinner.Moonshooter.data in the root "directory" of the JAR file.

JAR files containing agents can be e-mailed to InOnIt@InOnIt.com and will be entered in subsequent tournaments upon receipt.