예제 #1
0
파일: Round.php 프로젝트: jochenJa/kingen
 public function fillHands(Dealer $dealer)
 {
     $dealer->deal(...$this->hands);
 }
예제 #2
0
<?php

require 'Card.php';
require 'Deck.php';
require 'Dealer.php';
require 'Person.php';
$dealer = new Dealer(3);
$dealer->addPlayer('Bob')->addPlayer('Cindy')->addPlayer('Maxx');
$dealer->deal();
$dealer->render();