Amazon interview question

Design a chess architecture