fixed bug where Board.doAction() would place pieces upside down