Amazon interview question

Develope a chess game