Pregunta de entrevista de Amazon

How would you design a chess game?