refactoring board and scorer