FactSet Interview Question

How would you design a program for a given sport (ex. baseball)