two version of snake
one is simply
second is main