It would be useful to accept a game as a text file and analyse it, showing any mistakes and how many boxes they cost.
For larger positions this could get very expensive to do exhaustively, so it would probably be necessary to provide a way to do analysis only after a certain point in the game.