Refactored GameBoard for code cleanliness and easier understanding with place_piece method.