constructor takes GameBoard as param