init board state