C3 AI Interview Question

How to build chess in JavaScript