Owler interview question

OO design chess game