Package com.treasure.hunt.strategy.hider.impl
This package contains implementations of the
Hider
interface.-
Class Summary Class Description AngleHintStatistic BadHintHider ThisHider
only works againstStrategyFromPaper
.FixedTreasureHider A Strategy using theStatisticalHider
as Base Implementation, using theGameField
to maintain its stateGameField There are 3 Structures to represent the state of Algorithm Bounding Area: the biggest Area in which the Strategy wants to place the treasure checkedArea: the Area the player has visited and thus must not contain the target AreaExcludedByHints: the Area the previous hints haveHalfPlaneAdapter_FixedTreasure Adapter such that searchers who require HalfPlaneHints can play against this strategyHalfPlaneAdapter_MobileTreasure HorizontalHalfPlaneHintHider This kind ofHider
only givesHalfPlaneHint
's, which are parallel to the X-axis.MobileTreasureHider A Strategy using theStatisticalHider
as Base Implementation, but being able to move the treasure while the game is running and therefore implementing to theHideAndSeekHider
interfaceRandomAngleHintHider RandomCircleHintHider This kind ofHider
gives a randomly placed and randomly sized validCircleHint
.RandomHalfPlaneHintHider This type ofHider
returns a randomHalfPlaneHint
, which is correct.RightHandAngleHintHider A type ofHider
, generating a validAngleHint
, which contains an angle of the providedPreferenceService.HintSize_Preference
(standard isMath.PI
) with his right wing pointing at the treasure.StatisticalHider An abstract hider which implements methods to play a basic game It also supplies methods to judge a given hint by generating statistics about the hint and saving them inStatisticalHider
UserControlledAngleHintHider -
Exception Summary Exception Description ImpossibleTreasureLocationException InvalidHintException