Pregunta de entrevista de Catchpoint

How would you go about designing a chess game