finish refactoring #represent_board_state for now