public function checkCommunityCards()
    {
        if ($this->communityCards()->count() === 5) {
            return;
        }

        if ($this->communityCards()->count() === 0) {
            $this->dealCommunityCards(3);
        }

        if ($this->communityCards()->count() === 3) {
            $this->dealCommunityCards(1);
        }

        if ($this->communityCards()->count() === 4) {
            $this->dealCommunityCards(1);
        }
    }
public function checkCommunityCards()
    {
        if ($this->communityCards()->count() === 5) {
            return;
        }

        if ($this->communityCards()->count() === 0) {
            $this->dealCommunityCards(3);
        }

        if ($this->communityCards()->count() === 3) {
            $this->dealCommunityCards(1);
        }

        if ($this->communityCards()->count() === 4) {
            $this->dealCommunityCards(1);
        }
    }
public function checkCommunityCards ( ) { if ( $ this -> communityCards ( ) -> count ( ) === 5 ) { return ; } if ( $ this -> communityCards ( ) -> count ( ) === 0 ) { $ this -> dealCommunityCards ( 3 ) ; } if ( $ this -> communityCards ( ) -> count ( ) === 3 ) { $ this -> dealCommunityCards ( 1 ) ; } if ( $ this -> communityCards ( ) -> count ( ) === 4 ) { $ this -> dealCommunityCards ( 1 ) ; } }
Deals the remainder of the community cards, whilst taking burn cards into account.
Deals the remainder of the community cards whilst taking burn cards into account .