Snake Game

If you had played the Snake game in old Nokia phones then you had an awesome childhood because all the memories we have with these legendary phones of our parents are unparalleled. In this problem, your task is about to do something similar to the Snake game. The task is described in the following,


This is a companion discussion topic for the original entry at https://toph.co/p/sanke-game