abstracts the board part of gamestate into a board class