StarLeaf Interview Question

Design classes for a board game. Efficient algorithm for looking up stuff in database.