Add basic score function to board