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

hm... i have some variables in MyBoard which i *mean* to store as statics; is this definitely incompatible with GreedyPlayer? because right now, any move GreedyPlayer tries to make on my board comes up as illegal. it does fine with DemoBoard, so i guess it's my fault one way or another...

-Dave

PS- it seems upon further examination that the incompatability is likely with cloning, not GreedyPlayer specifically, but i'm still perplexed as to why static (final) vars create a problem.
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