Class Algo_CO_8

java.lang.Object
it.polimi.ingsw.model.Strategy
it.polimi.ingsw.model.Algo_CO_8
All Implemented Interfaces:
Serializable

public class Algo_CO_8 extends Strategy
class which represent the number eight objective (common). Immutable
See Also:
  • Constructor Details

    • Algo_CO_8

      public Algo_CO_8()
  • Method Details

    • checkMatch

      public boolean checkMatch(Card[][] board)
      check if the matrix match with the objective
      Overrides:
      checkMatch in class Strategy
      Parameters:
      board - the matrix of the board
      Returns:
      true iff it found a match