Implement score calculator