Question d’entretien chez Amazon

How would you design a chess game?