Procore Technologies Interview Question

code challenge having to do with scoring a popular sport.