- Board::MovementResult moveResult = Board::theBoard.MovePiece(x, y, dir, multiplier, colour);
- switch (moveResult)
+ MovementResult moveResult = Board::theBoard.MovePiece(x, y, dir, multiplier, colour);
+
+ s.clear(); s.str("");
+
+ //I stored the ranks in the wrong order; rank 1 is the marshal, 2 is the general etc...
+ //So I am reversing them in the output... great work
+ s << (Piece::BOMB - moveResult.attackerRank) << " " << (Piece::BOMB - moveResult.defenderRank) << "\n";
+ switch (moveResult.type)