Yahoo interview question

Code up a chess game (OOD question)