├── README.md ├── core ├── UCT.py ├── __init__.py ├── greedy.py ├── mcts.py ├── mcts_alphago_zero.py ├── mcts_reward.py ├── mcts_uct.py ├── mcts_uct_reward.py ├── mcts_v1.py ├── mcts_with_reward.py ├── model.py ├── model_double_policy.py ├── model_no_history.py ├── model_two_policy.py ├── optimizer.py ├── optimizer2.py └── play.py ├── evaluator.py ├── game ├── __init__.py ├── game.py ├── korean_chess_constant.py ├── korean_chess_piece │ ├── __init__.py │ ├── cannon.py │ ├── car.py │ ├── guardian.py │ ├── horse.py │ ├── king.py │ ├── piece_factory.py │ ├── sang.py │ └── soldier.py ├── korean_chess_util.py └── korean_chess_v1.py ├── kill_all_train.sh ├── model_test.py ├── model_test.sh ├── model_test_log ├── model_test_vp.py ├── model_test_vp_2c.py ├── model_test_vp_3c.py ├── optimize.sh ├── optimizer.py ├── parse_dataset.py ├── parse_dataset2.py ├── play.py ├── play ├── __init__.py ├── random_vs_random.py ├── trained_vs_trained.py ├── trained_vs_user.py ├── user_vs_random.py ├── user_vs_trained.py └── user_vs_user.py ├── play_net_vs_net.py ├── play_trained_mcts_vs_trained_mcts.py ├── records.txt ├── remove_all_train_files.sh ├── self_play.py ├── self_play_and_train.py ├── self_play_mcts_uct.py ├── self_play_with_reward_and_train.py ├── todo ├── train_script.sh ├── train_script2.sh ├── train_script3.sh ├── user_vs_greed_search.py ├── user_vs_mcts_uct.py ├── user_vs_mcts_uct_reward.py ├── user_vs_reward_mcts.py ├── user_vs_trained_mcts.py ├── util ├── __init__.py ├── common.py ├── dataset.py ├── dataset2.py └── user_input.py └── validate_dataset.py /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/README.md -------------------------------------------------------------------------------- /core/UCT.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/core/UCT.py -------------------------------------------------------------------------------- /core/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /core/greedy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/core/greedy.py -------------------------------------------------------------------------------- /core/mcts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/core/mcts.py -------------------------------------------------------------------------------- /core/mcts_alphago_zero.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/core/mcts_alphago_zero.py -------------------------------------------------------------------------------- /core/mcts_reward.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/core/mcts_reward.py -------------------------------------------------------------------------------- /core/mcts_uct.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/core/mcts_uct.py -------------------------------------------------------------------------------- /core/mcts_uct_reward.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/core/mcts_uct_reward.py -------------------------------------------------------------------------------- /core/mcts_v1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/core/mcts_v1.py -------------------------------------------------------------------------------- /core/mcts_with_reward.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/core/mcts_with_reward.py -------------------------------------------------------------------------------- /core/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/core/model.py -------------------------------------------------------------------------------- /core/model_double_policy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/core/model_double_policy.py -------------------------------------------------------------------------------- /core/model_no_history.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/core/model_no_history.py -------------------------------------------------------------------------------- /core/model_two_policy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/core/model_two_policy.py -------------------------------------------------------------------------------- /core/optimizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/core/optimizer.py -------------------------------------------------------------------------------- /core/optimizer2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/core/optimizer2.py -------------------------------------------------------------------------------- /core/play.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/core/play.py -------------------------------------------------------------------------------- /evaluator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/evaluator.py -------------------------------------------------------------------------------- /game/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /game/game.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/game/game.py -------------------------------------------------------------------------------- /game/korean_chess_constant.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/game/korean_chess_constant.py -------------------------------------------------------------------------------- /game/korean_chess_piece/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /game/korean_chess_piece/cannon.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/game/korean_chess_piece/cannon.py -------------------------------------------------------------------------------- /game/korean_chess_piece/car.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/game/korean_chess_piece/car.py -------------------------------------------------------------------------------- /game/korean_chess_piece/guardian.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/game/korean_chess_piece/guardian.py -------------------------------------------------------------------------------- /game/korean_chess_piece/horse.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/game/korean_chess_piece/horse.py -------------------------------------------------------------------------------- /game/korean_chess_piece/king.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/game/korean_chess_piece/king.py -------------------------------------------------------------------------------- /game/korean_chess_piece/piece_factory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/game/korean_chess_piece/piece_factory.py -------------------------------------------------------------------------------- /game/korean_chess_piece/sang.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/game/korean_chess_piece/sang.py -------------------------------------------------------------------------------- /game/korean_chess_piece/soldier.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/game/korean_chess_piece/soldier.py -------------------------------------------------------------------------------- /game/korean_chess_util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/game/korean_chess_util.py -------------------------------------------------------------------------------- /game/korean_chess_v1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/game/korean_chess_v1.py -------------------------------------------------------------------------------- /kill_all_train.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | pkill -f "/home/irelia/train.py" -------------------------------------------------------------------------------- /model_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/model_test.py -------------------------------------------------------------------------------- /model_test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/model_test.sh -------------------------------------------------------------------------------- /model_test_log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/model_test_log -------------------------------------------------------------------------------- /model_test_vp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/model_test_vp.py -------------------------------------------------------------------------------- /model_test_vp_2c.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/model_test_vp_2c.py -------------------------------------------------------------------------------- /model_test_vp_3c.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/model_test_vp_3c.py -------------------------------------------------------------------------------- /optimize.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/optimize.sh -------------------------------------------------------------------------------- /optimizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/optimizer.py -------------------------------------------------------------------------------- /parse_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/parse_dataset.py -------------------------------------------------------------------------------- /parse_dataset2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/parse_dataset2.py -------------------------------------------------------------------------------- /play.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/play.py -------------------------------------------------------------------------------- /play/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /play/random_vs_random.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/play/random_vs_random.py -------------------------------------------------------------------------------- /play/trained_vs_trained.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/play/trained_vs_trained.py -------------------------------------------------------------------------------- /play/trained_vs_user.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/play/trained_vs_user.py -------------------------------------------------------------------------------- /play/user_vs_random.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/play/user_vs_random.py -------------------------------------------------------------------------------- /play/user_vs_trained.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/play/user_vs_trained.py -------------------------------------------------------------------------------- /play/user_vs_user.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/play/user_vs_user.py -------------------------------------------------------------------------------- /play_net_vs_net.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/play_net_vs_net.py -------------------------------------------------------------------------------- /play_trained_mcts_vs_trained_mcts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/play_trained_mcts_vs_trained_mcts.py -------------------------------------------------------------------------------- /records.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/records.txt -------------------------------------------------------------------------------- /remove_all_train_files.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/remove_all_train_files.sh -------------------------------------------------------------------------------- /self_play.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/self_play.py -------------------------------------------------------------------------------- /self_play_and_train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/self_play_and_train.py -------------------------------------------------------------------------------- /self_play_mcts_uct.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/self_play_mcts_uct.py -------------------------------------------------------------------------------- /self_play_with_reward_and_train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/self_play_with_reward_and_train.py -------------------------------------------------------------------------------- /todo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/todo -------------------------------------------------------------------------------- /train_script.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/train_script.sh -------------------------------------------------------------------------------- /train_script2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/train_script2.sh -------------------------------------------------------------------------------- /train_script3.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/train_script3.sh -------------------------------------------------------------------------------- /user_vs_greed_search.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/user_vs_greed_search.py -------------------------------------------------------------------------------- /user_vs_mcts_uct.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/user_vs_mcts_uct.py -------------------------------------------------------------------------------- /user_vs_mcts_uct_reward.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/user_vs_mcts_uct_reward.py -------------------------------------------------------------------------------- /user_vs_reward_mcts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/user_vs_reward_mcts.py -------------------------------------------------------------------------------- /user_vs_trained_mcts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/user_vs_trained_mcts.py -------------------------------------------------------------------------------- /util/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /util/common.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/util/common.py -------------------------------------------------------------------------------- /util/dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/util/dataset.py -------------------------------------------------------------------------------- /util/dataset2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/util/dataset2.py -------------------------------------------------------------------------------- /util/user_input.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/util/user_input.py -------------------------------------------------------------------------------- /validate_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jireh-father/irelia/HEAD/validate_dataset.py --------------------------------------------------------------------------------