i broke the game
add debugging print
fix the attack error by changing import order