from .othello import OthelloGame, build_othello_game

def build_game(cfg):
    if cfg.GAME.NAME == "othello":
        return build_othello_game(cfg.GAME.BOARD_SIZE)
    else:
        raise ValueError("invalid game name")


2c0513dcce1867b633b4e65beb90efbd9ff71ee9
<mask token>

<mask token>


def build_game(cfg):
    if cfg.GAME.NAME == 'othello':
        return build_othello_game(cfg.GAME.BOARD_SIZE)
    else:
        raise ValueError('invalid game name')

from .othello import OthelloGame, build_othello_game


def build_game(cfg):
    if cfg.GAME.NAME == 'othello':
        return build_othello_game(cfg.GAME.BOARD_SIZE)
    else:
        raise ValueError('invalid game name')

from .othello import OthelloGame, build_othello_game

def build_game(cfg):
    if cfg.GAME.NAME == "othello":
        return build_othello_game(cfg.GAME.BOARD_SIZE)
    else:
        raise ValueError("invalid game name")

