示例#1
0
文件: Poker.php 项目: rrylee/phppoker
 /**
  * Handler all levels.
  */
 protected function handlerLevels()
 {
     $this->biggestLevel = self::$SMALLEST;
     foreach ($this->levels as $hand => $level) {
         if (!$this->rankHandler->bigger($this->biggestLevel, $level)) {
             $this->winHands[$this->levelToString($level)][] = $hand;
             $this->biggestLevel = $level;
         }
     }
 }