Pergunta de entrevista da empresa HiBob

oop question: design a chess game. each player provide an algorithm (this is the input) that the game manager will activate each turn. you need to think how to manage the turns, how to declare the winner, how to prevent cheating, how to stop the game.