Andrew
Yeah players are created everytime a new move needs to be made, so you cant save data in memory in between moves in tournament play. You can if you want but it wont do you any good.
The tournament runs your code in a separate process (yes I realize it could be done in a separate thread, if you want to know why it can't then email me and I will explain.) And so because of this, the process creates your player everytime it runs and the process itself is killed after 5 seconds, deleting all memory associated with it.
This is not my fault, this is a bug in Java itself, so there is no way around it. Like I said email me if you want to flame...
Mike |