The Connect Four hole will go live in approximately 2 days. Why not try and solve it ahead of time?
Gray Code Encoder in JavaScript in chars.