| traceback | Traceback (most recent call last):
File "/mnt/external/projects/KingsAndChaos/game-engine/engine.py", line 207, in execute
phaseRes = self.gameboard.execute(activePlayer, action)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/external/projects/KingsAndChaos/game-engine/gameboard.py", line 162, in execute
return NewTerm(player = player, gameboard = self, action = action)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Phase.__init__() got an unexpected keyword argument 'player'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/mnt/external/projects/KingsAndChaos/game-engine/tester.py", line 149, in handle_cli
test = engine.Game(flocker, dontShare = dontShare, name = name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/external/projects/KingsAndChaos/game-engine/engine.py", line 88, in __init__
if not self.progress(): break
^^^^^^^^^^^^^^^
File "/mnt/external/projects/KingsAndChaos/game-engine/engine.py", line 99, in progress
self.execute(player, intent)
File "/mnt/external/projects/KingsAndChaos/game-engine/engine.py", line 211, in execute
raise Exception(f"Game execute error: [{self.gameboard.state.name}] with msg:\n{e}")
Exception: Game execute error: [GAMEBOARD_EXEC_ERROR] with msg:
Phase.__init__() got an unexpected keyword argument 'player' |