[Community Puzzle] Snake encoding

https://www.codingame.com/training/medium/snake-encoding

Send your feedback or ask for help here!