├── .gitattributes ├── .github └── workflows │ └── main.yml ├── .gitignore ├── CMakeLists.txt ├── LICENSE.md ├── README.md ├── demo.vcxproj ├── demo.vcxproj.filters ├── src ├── ai.cpp ├── ai.def ├── ai_ax.cpp ├── ai_ax.h ├── ai_easy.h ├── ai_farter.cpp ├── ai_farter.h ├── ai_misaka.cpp ├── ai_misaka.h ├── ai_tag.cpp ├── ai_tag.h ├── ai_zzz.cpp ├── ai_zzz.h ├── bst_base.h ├── chash.h ├── chash.natvis ├── chash_map.h ├── chash_set.h ├── demo.cpp ├── dllmain.c ├── integer_utils.cpp ├── integer_utils.h ├── ppt_pso.cpp ├── pso.cpp ├── random.cpp ├── random.h ├── rb_tree.h ├── rule_asrs.cpp ├── rule_asrs.h ├── rule_c2.cpp ├── rule_c2.h ├── rule_ppt.cpp ├── rule_ppt.h ├── rule_qq.cpp ├── rule_qq.h ├── rule_srs.cpp ├── rule_srs.h ├── rule_srsx.cpp ├── rule_srsx.h ├── rule_st.cpp ├── rule_st.h ├── rule_tag.cpp ├── rule_tag.h ├── rule_toj.cpp ├── rule_toj.h ├── sb_tree.h ├── search_cautious.cpp ├── search_cautious.h ├── search_path.cpp ├── search_path.h ├── search_simple.cpp ├── search_simple.h ├── search_simulate.cpp ├── search_simulate.h ├── search_tag.cpp ├── search_tag.h ├── search_tspin.cpp ├── search_tspin.h ├── tetris_core.cpp ├── tetris_core.h ├── the_ai_games.cpp ├── tree_test.cpp └── vs.cpp ├── tetris_ai_dll.vcxproj ├── tetris_ai_dll.vcxproj.filters ├── tetris_ai_runner.sln ├── tetris_ai_runner.vcxproj ├── tetris_ai_runner.vcxproj.filters ├── tetris_ai_runner.vcxproj.user ├── the_ai_games.vcxproj ├── top_bot.vcxproj ├── top_pso.user ├── top_pso.vcxproj └── top_pso.vcxproj.user /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/.gitignore -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/README.md -------------------------------------------------------------------------------- /demo.vcxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/demo.vcxproj -------------------------------------------------------------------------------- /demo.vcxproj.filters: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/demo.vcxproj.filters -------------------------------------------------------------------------------- /src/ai.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/ai.cpp -------------------------------------------------------------------------------- /src/ai.def: -------------------------------------------------------------------------------- 1 | EXPORTS 2 | -------------------------------------------------------------------------------- /src/ai_ax.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/ai_ax.cpp -------------------------------------------------------------------------------- /src/ai_ax.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/ai_ax.h -------------------------------------------------------------------------------- /src/ai_easy.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/ai_easy.h -------------------------------------------------------------------------------- /src/ai_farter.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/ai_farter.cpp -------------------------------------------------------------------------------- /src/ai_farter.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/ai_farter.h -------------------------------------------------------------------------------- /src/ai_misaka.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/ai_misaka.cpp -------------------------------------------------------------------------------- /src/ai_misaka.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/ai_misaka.h -------------------------------------------------------------------------------- /src/ai_tag.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/ai_tag.cpp -------------------------------------------------------------------------------- /src/ai_tag.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/ai_tag.h -------------------------------------------------------------------------------- /src/ai_zzz.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/ai_zzz.cpp -------------------------------------------------------------------------------- /src/ai_zzz.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/ai_zzz.h -------------------------------------------------------------------------------- /src/bst_base.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/bst_base.h -------------------------------------------------------------------------------- /src/chash.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/chash.h -------------------------------------------------------------------------------- /src/chash.natvis: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/chash.natvis -------------------------------------------------------------------------------- /src/chash_map.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/chash_map.h -------------------------------------------------------------------------------- /src/chash_set.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/chash_set.h -------------------------------------------------------------------------------- /src/demo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/demo.cpp -------------------------------------------------------------------------------- /src/dllmain.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/dllmain.c -------------------------------------------------------------------------------- /src/integer_utils.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/integer_utils.cpp -------------------------------------------------------------------------------- /src/integer_utils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/integer_utils.h -------------------------------------------------------------------------------- /src/ppt_pso.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/ppt_pso.cpp -------------------------------------------------------------------------------- /src/pso.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/pso.cpp -------------------------------------------------------------------------------- /src/random.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/random.cpp -------------------------------------------------------------------------------- /src/random.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/random.h -------------------------------------------------------------------------------- /src/rb_tree.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/rb_tree.h -------------------------------------------------------------------------------- /src/rule_asrs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/rule_asrs.cpp -------------------------------------------------------------------------------- /src/rule_asrs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/rule_asrs.h -------------------------------------------------------------------------------- /src/rule_c2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/rule_c2.cpp -------------------------------------------------------------------------------- /src/rule_c2.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/rule_c2.h -------------------------------------------------------------------------------- /src/rule_ppt.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/rule_ppt.cpp -------------------------------------------------------------------------------- /src/rule_ppt.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/rule_ppt.h -------------------------------------------------------------------------------- /src/rule_qq.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/rule_qq.cpp -------------------------------------------------------------------------------- /src/rule_qq.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/rule_qq.h -------------------------------------------------------------------------------- /src/rule_srs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/rule_srs.cpp -------------------------------------------------------------------------------- /src/rule_srs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/rule_srs.h -------------------------------------------------------------------------------- /src/rule_srsx.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/rule_srsx.cpp -------------------------------------------------------------------------------- /src/rule_srsx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/rule_srsx.h -------------------------------------------------------------------------------- /src/rule_st.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/rule_st.cpp -------------------------------------------------------------------------------- /src/rule_st.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/rule_st.h -------------------------------------------------------------------------------- /src/rule_tag.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/rule_tag.cpp -------------------------------------------------------------------------------- /src/rule_tag.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/rule_tag.h -------------------------------------------------------------------------------- /src/rule_toj.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/rule_toj.cpp -------------------------------------------------------------------------------- /src/rule_toj.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/rule_toj.h -------------------------------------------------------------------------------- /src/sb_tree.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/sb_tree.h -------------------------------------------------------------------------------- /src/search_cautious.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/search_cautious.cpp -------------------------------------------------------------------------------- /src/search_cautious.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/search_cautious.h -------------------------------------------------------------------------------- /src/search_path.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/search_path.cpp -------------------------------------------------------------------------------- /src/search_path.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/search_path.h -------------------------------------------------------------------------------- /src/search_simple.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/search_simple.cpp -------------------------------------------------------------------------------- /src/search_simple.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/search_simple.h -------------------------------------------------------------------------------- /src/search_simulate.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/search_simulate.cpp -------------------------------------------------------------------------------- /src/search_simulate.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/search_simulate.h -------------------------------------------------------------------------------- /src/search_tag.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/search_tag.cpp -------------------------------------------------------------------------------- /src/search_tag.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/search_tag.h -------------------------------------------------------------------------------- /src/search_tspin.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/search_tspin.cpp -------------------------------------------------------------------------------- /src/search_tspin.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/search_tspin.h -------------------------------------------------------------------------------- /src/tetris_core.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/tetris_core.cpp -------------------------------------------------------------------------------- /src/tetris_core.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/tetris_core.h -------------------------------------------------------------------------------- /src/the_ai_games.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/the_ai_games.cpp -------------------------------------------------------------------------------- /src/tree_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/tree_test.cpp -------------------------------------------------------------------------------- /src/vs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/src/vs.cpp -------------------------------------------------------------------------------- /tetris_ai_dll.vcxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/tetris_ai_dll.vcxproj -------------------------------------------------------------------------------- /tetris_ai_dll.vcxproj.filters: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/tetris_ai_dll.vcxproj.filters -------------------------------------------------------------------------------- /tetris_ai_runner.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/tetris_ai_runner.sln -------------------------------------------------------------------------------- /tetris_ai_runner.vcxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/tetris_ai_runner.vcxproj -------------------------------------------------------------------------------- /tetris_ai_runner.vcxproj.filters: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/tetris_ai_runner.vcxproj.filters -------------------------------------------------------------------------------- /tetris_ai_runner.vcxproj.user: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/tetris_ai_runner.vcxproj.user -------------------------------------------------------------------------------- /the_ai_games.vcxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/the_ai_games.vcxproj -------------------------------------------------------------------------------- /top_bot.vcxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/top_bot.vcxproj -------------------------------------------------------------------------------- /top_pso.user: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/top_pso.user -------------------------------------------------------------------------------- /top_pso.vcxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/top_pso.vcxproj -------------------------------------------------------------------------------- /top_pso.vcxproj.user: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TetrisAI/tetris_ai_runner/HEAD/top_pso.vcxproj.user --------------------------------------------------------------------------------