The Nim hole will go live in approximately 38 hours. Why not try and solve it ahead of time?
Gray Code Decoder in JavaScript in chars.