文件名称:Xiangqi:Python中的象棋
文件大小:9KB
文件格式:ZIP
更新时间:2024-03-28 07:14:01
Python
湘琪 cmd行的示例用法 game = XiangqiGame() move_result = game.make_move('c1', 'e3') black_in_check = game.is_in_check('black') game.make_move('e7', 'e6') state = game.get_game_state()
【文件预览】:
Xiangqi-main
----README.md(213B)
----tests_Solider.py(2KB)
----tests_Cannon.py(2KB)
----tests_Elephant.py(674B)
----tests_Checkmate.py(483B)
----XiangqiGame.py(34KB)