The Nim hole will go live in approximately 30 hours. Why not try and solve it ahead of time?
Gray Code Encoder in JavaScript in bytes.