Epic interview question

Asked to program a checkers type game