minor refactoring of board and player