simplified BoardPiece.java