Discussion Board
Go to the previous messageThere are no next messages
Current Forum: Homework 6- Tournament
Date: Sat Dec 8 2001 10:37 pm
Author: Maxim, Michael G. <mmaxim@andrew.cmu.edu>
Subject: Re: Saving Data between Moves

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
Post response

Go to the previous messageThere are no next messages
Current Thread Detail:
Saving Data between Moves      Maxim, Michael G.      Sat Dec 8 2001 7:14 pm       
Re: Saving Data between Moves      Bortz, Andrew S.      Sat Dec 8 2001 9:17 pm       
Re: Saving Data between Moves      Maxim, Michael G.      Sat Dec 8 2001 10:37 pm       

Back to previous screen