Numerator Interview Question

How to design a chess game?