// Show the deck face down echo "<div class='headline'><b>The Deck</b></div>"; echo $dealer->showDeck(); echo "<div class='divider'></div>"; // Deal the cards to all players $dealer->deals(); // Show the players' hands echo "<div class='headline'>Player's Hands</div>"; foreach ($allPlayers as $player) { echo $player->showHand(); } echo "<div class='divider'></div>"; // Show the players' scores echo "<div class='headline'><b>Score</b></div>"; $dealer->scoreGame(); echo $dealer->showScores(); echo "<div class='divider'></div>"; // Determine and display a winner echo "<div class='headline'><b>And The Winner Is...</b></div>"; $dealer->determineWinners(); echo $dealer->showWinners(); echo "</div>"; /* * ################################################################################################################################### * ##################################################### OTHER QUESTIONS ############################################################# * ################################################################################################################################### * * Can you talk more about ::? What does it really mean? What is a good example of when we could use it for this game? * * What was the proper method of extending classes from one another? Is there an issue with my implementation? *