示例#1
0
 public function testEndGame()
 {
     $game = new Game(10, new SimpleBoardRenderer());
     $game->endGame();
 }
示例#2
0
 public function start()
 {
     $this->game->setUserInput($this->getUserInput());
     $this->game->play();
     echo $this->view->render($this->game->getOutputData());
 }