Implement Connect Four in JavaScript