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. |
|