Skip to content

Commit

Permalink
polish(pu): undo the incorrect modifications
Browse files Browse the repository at this point in the history
  • Loading branch information
puyuan1996 committed Nov 13, 2023
1 parent c01ad9f commit 30bc99b
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 630 deletions.
335 changes: 0 additions & 335 deletions zoo/board_games/gomoku/envs/gomoku_rule_bot_v0_bkp.py

This file was deleted.

289 changes: 0 additions & 289 deletions zoo/board_games/gomoku/envs/gomoku_rule_bot_v0_naive.py

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import time

from zoo.board_games.alphabeta_pruning_bot import AlphaBetaPruningBot
from zoo.board_games.gomoku.envs.gomoku_env_ui import GomokuEnv
from zoo.board_games.gomoku.envs.gomoku_env import GomokuEnv

cfg = dict(
board_size=5,
Expand Down
2 changes: 1 addition & 1 deletion zoo/board_games/gomoku/envs/test_gomoku_mcts_bot.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from easydict import EasyDict
from zoo.board_games.gomoku.envs.gomoku_env_ui import GomokuEnv
from zoo.board_games.gomoku.envs.gomoku_env import GomokuEnv
from zoo.board_games.mcts_bot import MCTSBot

import pytest
Expand Down
2 changes: 1 addition & 1 deletion zoo/board_games/gomoku/envs/test_gomoku_rule_bot_v0.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import pytest
from easydict import EasyDict

from zoo.board_games.gomoku.envs.gomoku_env_ui import GomokuEnv
from zoo.board_games.gomoku.envs.gomoku_env import GomokuEnv

cfg = EasyDict(
prob_random_agent=0,
Expand Down
2 changes: 1 addition & 1 deletion zoo/board_games/gomoku/envs/test_gomoku_rule_bot_v1.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import pytest
from easydict import EasyDict

from zoo.board_games.gomoku.envs.gomoku_env_ui import GomokuEnv
from zoo.board_games.gomoku.envs.gomoku_env import GomokuEnv


@pytest.mark.envtest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from ding.utils import EasyTimer
from easydict import EasyDict

from zoo.board_games.gomoku.envs.gomoku_env_ui import GomokuEnv
from zoo.board_games.gomoku.envs.gomoku_env import GomokuEnv

timer = EasyTimer(cuda=True)

Expand Down
2 changes: 1 addition & 1 deletion zoo/board_games/test_speed_win-rate_between_bots.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import numpy as np
from easydict import EasyDict

from zoo.board_games.gomoku.envs.gomoku_env_ui import GomokuEnv
from zoo.board_games.gomoku.envs.gomoku_env import GomokuEnv
from zoo.board_games.mcts_bot import MCTSBot
from zoo.board_games.tictactoe.envs.tictactoe_env import TicTacToeEnv

Expand Down

0 comments on commit 30bc99b

Please sign in to comment.