Look at the javadoc for the classes here
Developers are encouraged to write their own AI-Players. This is not very hard. However writing a good one is! If you feel up to it check the source file ComputerPlayer.java (and maybe Evaluator.java) to see how this can be accomplished. A more detailed description will pop-up here when the project becomes more stable.
Well I think it's about time... It should now be possible to learn how to write your own AI by looking at the javadoc for ComputerPlayer, what you have to do is implement your own subclass of ComputerPlayer.
Be consistent - This is the most important thing!
Some general things to begin with:
Tab and indent level is 5 spaces.
Single Line if:s don't need braces, like this:
All variables begin with a small letter, and then there is a capital letter for each new word, like this: thisIsMyLongVariableName. And they should NOT be longer then neccesary (this example is TOO long).
Thanks for obaying these rules it will make it easier for everyone.
Macintosh, Mac, iMac and the Mac logo are trademarks of Apple Computer, Inc., registered in the U.S. and other countries. The Made on a Mac Badge is a trademark of Apple Computer, Inc., used with permission.
Java and all Java-based trademarks and logos are trademarks or registered trademarks of Sun Microsystems, Inc., in the U.S. and other countries.
All other trademarks are the property of their respective owners.