AlphaCSP interview question

Chess game OO design