All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----sp.SinglePointStrategy
The strategy looks at a probed point. If the number of mines near the point equals the number of marks near the point, the strategy infers that near points whose status is unknown do not contain mines. Similarly, if the number of mines near the point equals the number of marks near the point plus the number of unknowns near, the strategy infers that the near points whose status is unknown contain mines.
The implementation makes extensive use of sets.
public SinglePointStrategy()
public void play(Map m)
All Packages Class Hierarchy This Package Previous Next Index