def test1(): game = mancala.MancalaGame() named_players = (("MAX", games.query_player_py_exp), ("MIN", games.query_player_py_exp)) result = games.play_game2(game, named_players) print(result) return result
def test5(depth = 4): game = mancala.MancalaGame() player_fn = lambda g, state: games.alphabeta_player2(game, state, game.evaluate_mancala(game)) # player_fn2 = lambda g, state: games.alphabeta_player2(game, state, game.evaluate_mancala(game)) named_players = (('MAX', player_fn), ('MIN', games.alphabeta_player)) result = games.play_game2(game, named_players) return (result)
def test4(): game = mancala.MancalaGame() named_players = ((0, games.alphabeta_full_player), (1, games.alphabeta_player)) result = games.play_game2(game, named_players) print(result) return result
def test4(): game = mancala.MancalaGame() player_fn = lambda g, state: games.alphabeta_player2(game, state, game.evaluate_mancala(game)) named_players = (('MAX', games.query_player_py_exp), ('MIN', player_fn)) result=games.play_game2(game, named_players) print(result) return(result)
def test2(): game = mancala.MancalaGame() named_players = ((0, games.query_player_py_exp), (1, games.alphabeta_player)) result = games.play_game2(game, named_players) print(result) return result
def test1(): game = mancala.MancalaGame() named_players = (('Max', games.query_player_py_exp), ('Min', games.random_player)) games.play_game2(game, named_players)
def test4(): game = mancala.MancalaGame() named_players = (('X', games.alphabeta_full_player), ('O', games.alphabeta_player)) games.play_game2(game, named_players)
def test3(): game = mancala.MancalaGame() named_players = (('X', games.alphabeta_player2), ('O', games.random_player)) games.play_game2(game, named_players)
def test4(): game = mancala.MancalaGame() named_players = (("MAX", player_fn), ("MIN", player_fn)) result = games.play_game2(game, named_players) print(result) return result
def test4(): game = mancala.MancalaGame() named_players = (('MAX', games.alphabeta_full_player), ('MIN', games.alphabeta_player)) print(games.play_game(game, named_players))
def test3(): game = mancala.MancalaGame() named_players = (('MAX', games.alphabeta_player), ('MIN', games.random_player)) print(games.play_game2(game, named_players))
def test2(): game = mancala.MancalaGame() named_players = (('MAX', games.query_player_py_exp), ('MIN', games.alphabeta_player)) print(games.play_game2(game, named_players))
def test1(): game = mancala.MancalaGame() named_players = (('MAX', games.query_player_py_exp), ('MIN', games.random_player)) print(games.play_game2(game, named_players))