/** * @param string $asciiBoard * * @return Game */ protected function createGameFromAsciiBoard($asciiBoard) { $board = BoardDecorator::fromAscii($asciiBoard); $game = GameFactory::create(PlayerFactory::createWhite(), PlayerFactory::createBlack(), $board); return $game; }