movestack f7e7 [0/1880]
movestack a7b7
movestack g4d7
movestack h4g6
movestack e7f6
movestack b7d7
movestack f6g6
Round: 3
-----------------
8 |.|.|.|.|.|♗|.|.|
-----------------
7 |.|.|.|♛|.|.|♙|.|
-----------------
6 |♙|.|.|♙|.|.|♔|♙|
-----------------
5 |.|.|.|.|.|.|.|.|
-----------------
4 |.|.|.|.|♟|.|.|.|
-----------------
3 |.|.|.|.|.|.|.|.|
-----------------
2 |♟|♟|♟|♟|.|♟|♟|♟|
-----------------
1 |♜|.|♝|.|♚|.|.|♜|
-----------------
a b c d e f g h
Traceback (most recent call last):
File "/home/chess/engine_vs_engine/.venv/lib/python3.11/site-packages/chess/engine.py", line 1965, in _parse_uci_bestmove
move = board.push_uci(tokens[0].lower())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/chess/engine_vs_engine/.venv/lib/python3.11/site-packages/chess/__init__.py", line 3164, in push_uci
move = self.parse_uci(uci)
^^^^^^^^^^^^^^^^^^^
File "/home/chess/engine_vs_engine/.venv/lib/python3.11/site-packages/chess/__init__.py", line 3147, in parse_uci
raise IllegalMoveError(f"illegal uci: {uci!r} in {self.fen()}")
chess.IllegalMoveError: illegal uci: 'd7f6' in 5b2/3Q2p1/p2p2kp/8/4P3/8/PPPP1PPP/R1B1K2R w KQ - 0 22
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/chess/engine_vs_engine/main.py", line 115, in <module>
main(mep_emu, texel)
File "/home/chess/engine_vs_engine/main.py", line 103, in main
asyncio.run(
File "/usr/lib/python3.11/asyncio/runners.py", line 190, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/home/chess/engine_vs_engine/main.py", line 62, in run_game
result1 = await engine1.play(board, limit1)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/chess/engine_vs_engine/.venv/lib/python3.11/site-packages/chess/engine.py", line 1789, in play
return await self.communicate(UciPlayCommand)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/chess/engine_vs_engine/.venv/lib/python3.11/site-packages/chess/engine.py", line 1133, in communicate
return await command.result
^^^^^^^^^^^^^^^^^^^^
File "/home/chess/engine_vs_engine/.venv/lib/python3.11/site-packages/chess/engine.py", line 1386, in _line_received
self.line_received(engine, line)
File "/home/chess/engine_vs_engine/.venv/lib/python3.11/site-packages/chess/engine.py", line 1726, in line_received
self._bestmove(engine, line.split(" ", 1)[1])
File "/home/chess/engine_vs_engine/.venv/lib/python3.11/site-packages/chess/engine.py", line 1745, in _bestmove
best = _parse_uci_bestmove(engine.board, arg)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/chess/engine_vs_engine/.venv/lib/python3.11/site-packages/chess/engine.py", line 1967, in _parse_uci_bestmove
raise EngineError(err)
chess.engine.EngineError: illegal uci: 'd7f6' in 5b2/3Q2p1/p2p2kp/8/4P3/8/PPPP1PPP/R1B1K2R w KQ - 0 22