The Snake hole will go live in approximately 9 hours. Why not try and solve it ahead of time?
Gray Code Encoder in JavaScript in chars.