Discussion Board
Go to the previous messageGo to the following message
Current Forum: Homework 6 - Part II
Date: Wed Dec 5 2001 10:24 am
Author: Fields, David C. <dcf@andrew.cmu.edu>
Subject: Re: GreedyPlayer broken?

actually, all of my statics are declared "static final" and hence never change after they're initialized which happens the first time the class is instatiated by use of a static{} block. ANYWAY, i made a small oversight when coding the copy constructor:

thing = thing;

rather than:

thing = b.thing; //where b is the board to copy

OOPS! it works just fine now.

-Dave
Post response

Go to the previous messageGo to the following message
Current Thread Detail:
GreedyPlayer broken?      White, David      Tue Dec 4 2001 4:17 pm       
Re: GreedyPlayer broken?      Shi, Ying      Tue Dec 4 2001 4:19 pm       
Re: GreedyPlayer broken?      Maxim, Michael G.      Tue Dec 4 2001 5:43 pm       
Re: GreedyPlayer broken?      White, David      Tue Dec 4 2001 8:13 pm       
Easier GUI picking fix...      White, David      Tue Dec 4 2001 9:49 pm       
Re: Easier GUI picking fix...      White, David      Wed Dec 5 2001 8:25 am       
Re: GreedyPlayer broken?      White, David      Tue Dec 4 2001 9:26 pm       
Re: GreedyPlayer broken?      Fields, David C.      Wed Dec 5 2001 2:33 am       
Re: GreedyPlayer broken?      White, David      Wed Dec 5 2001 8:22 am       
Re: GreedyPlayer broken?      Fields, David C.      Wed Dec 5 2001 10:24 am       
Re: GreedyPlayer bro...      Liu, Limin Angela      Wed Dec 5 2001 6:24 pm       
Re: GreedyPlayer ...      White, David      Thu Dec 6 2001 10:24 am       
Re: GreedyPlayer broken?      Dozzi, Giancarlo      Fri Dec 7 2001 1:32 pm       

Back to previous screen