Index:
[thread]
[date]
[subject]
[author]
From: Robert C. Duvall <rcd@boomslang.i-did-not-set--mail-host-address--so-shoot-me>
To :
Date: 23 Mar 1999 15:51:55 -0500
Re: strategies
> you mentioned in class that if we were in the lead, playRound(int) would
> pass a 0 as its parameter.
> Is it possible to change this to a negative number, to reflect how far
> ahead we are. For example, playRound(20) would indicate we are behind by
> 20, but if we are ahead by 20, could you change it to call playRound(-20)
> instead of 0. This would help in the strategy making.
That seems like a reasonable change.
So, now the difference parameter represents the difference between
your player and the nearest competitor (negative means behind by
difference points, 0 means tied, and positive means ahead by
difference points).
Hope this helps,
rcd
--
Robert C. Duvall
Lecturer, Duke University
rcd@cs.duke.edu
Index:
[thread]
[date]
[subject]
[author]