How to Write an HQ Contestant Program

1.0 Getting HQ

2.0 Running HQ

Make sure HQ_HOME is in your CLASSPATH. 3.0 Testing A Contestant Program with Your Version of HQ 4.0 The HQ API

A contestant program that simply passes every turn is provided in the org/gherrity/hq/passer directory. A slightly more complex program that simply moves towards the other player's HQ is provided in the org/gherrity/hq/rusher directory. Note that only a constructor and a single makeMove method are required. Further details are provided in the javadocs.

5.0 Adding A Contestant Program to HQ

To enter your contestant program into HQ, have it be rated using the regular matches and tournaments, and have it be downloaded by others, mail your code to gherrity@san.rr.com.