/** * @return bool */ protected function playersHaveCards() { return $this->player1->hasCards() && $this->player2->hasCards(); }
public function __construct(Player $player1, Player $player2) { $this->player1 = $player1->playCard(); $this->player2 = $player2->playCard(); }