Domanda di colloquio di Amazon

How would you design a chess game?