The Snake hole will go live in approximately 7 hours. Why not try and solve it ahead of time?
Gray Code Encoder in Python in bytes.