renamed BoardState into Board