Jane Street interview question

Design a data structure and algorithms for a toy game