Amazon interview question

Design chess game