Cognizant interview question

Design Object oriented Chess.