Simplified GetBoardState and added doc