Back to project page it.alcacoop.fourinaline.
The source code is released under:
GNU General Public License
If you think the Android project it.alcacoop.fourinaline listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package org.gojul.fourinaline.model; /*w ww .ja v a 2 s . com*/ import java.io.Serializable; import org.gojul.fourinaline.model.GameModel.PlayerMark; public interface EvalScore extends Serializable { /** * Returns the score of the game model <code>gameModel</code> * for the player mark <code>playerMark</code>. * @param gameModel the game model to consider. * @param playerMark the player mark to consider. * @return the score of the game model <code>gameModel</code> * for the player mark <code>playerMark</code>. * @throws NullPointerException if any of the method parameter * is null. */ public int evaluate(final GameModel gameModel, final PlayerMark playerMark) throws NullPointerException; }