def engine1_button_clicked(self, b):
player = gv.jcchess.get_player(WHITE)
if player == "Human" or player == "jcchess":
GObject.idle_add(
self.add_to_log,
"# command not sent - player 1 (white) is not a USI engine")
return
cmd = self.cmd_entry.get_text() + "\n"
gv.usiw.command(cmd)
# send command to engine2 (black)
评论列表
文章目录