Represent board as a vector