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