Package com.treasure.hunt.strategy.hider.impl
This package contains implementations of the
Hider interface.-
Class Summary Class Description AngleHintStatistic BadHintHider ThisHideronly works againstStrategyFromPaper.FixedTreasureHider A Strategy using theStatisticalHideras Base Implementation, using theGameFieldto 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 ofHideronly givesHalfPlaneHint's, which are parallel to the X-axis.MobileTreasureHider A Strategy using theStatisticalHideras Base Implementation, but being able to move the treasure while the game is running and therefore implementing to theHideAndSeekHiderinterfaceRandomAngleHintHider RandomCircleHintHider This kind ofHidergives a randomly placed and randomly sized validCircleHint.RandomHalfPlaneHintHider This type ofHiderreturns 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 inStatisticalHiderUserControlledAngleHintHider -
Exception Summary Exception Description ImpossibleTreasureLocationException InvalidHintException