Pergunta de entrevista da empresa Bank of America

How would you code a chess board game ?